RDMA/hns: Fix the device loss after unbinding RoCE bond resource slave
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7WHE3 -------------------------------------------------------------------------- When the resource pf of RoCE bonding is unbinded, the main_hr_dev will be unregistered and the bond resources will be cleaned up. Currently, other slaves will not be re-initialized, and they are not availbale until the whole RoCE ko is removed and inserted again. To fix this problem, re-initialized all the slaves to hns_* device except the resource slave itself before bond resources cleanup. Fixes: e62a2027 ("RDMA/hns: support RoCE bonding") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com>
Loading
Please sign in to comment