RDMA/hns: Fix the repetitive workqueue mission in RoCE Bonding
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6ZACP --------------------------------------------------------------- When the third slave is going to be added to a bond group, a ChangeLowerState event happens firstly and notifies the driver to queue a ChangeState mission. However, the hr_dev of the third slave and bond group will both be notified and queue a repetitive mission separately. As the mission is triggered twice, there will be also repetitive mission printing, which is misleading and incorrect. Applying this patch, only the hr_dev of the bond group will queue and trigger the mission. Fixes: e62a2027 ("RDMA/hns: support RoCE bonding") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com>
Loading
Please sign in to comment