Commit 483ccd44 authored by Junxian Huang's avatar Junxian Huang Committed by ZhouJuan
Browse files

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: default avatarJunxian Huang <huangjunxian6@hisilicon.com>
parent b5db3025
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment