RDMA/hns: Support dispatching IB event for RoCE bonding
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6ZAIM --------------------------------------------------------------- Support dispatching IB event for RoCE bonding. After setting bond, IB_EVENT_PORT_ERR is dispatched in the following situation: 1. bond0 becomes link down; 2. all slaves become link down (as it will lead to a link-down of the upper device). IB_EVENT_PORT_ACTIVE is dispatched in the following situation: 1. bond0 becomes link up; 2. one slave becomes link up when all slaves were link down (as it will lead to a link-up of the upper device). Signed-off-by: NJunxian Huang <huangjunxian6@hisilicon.com>
Showing
想要评论请 注册 或 登录