summaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorJunxian Huang <huangjunxian6@hisilicon.com>2025-11-12 17:35:08 +0800
committerLeon Romanovsky <leon@kernel.org>2025-11-24 02:58:30 -0500
commit5d91677bbb6435761b51a7154f59dc70af333f4b (patch)
tree7e7df8d515b6462500ca3aab411b0dfa7d58b2e8 /drivers/infiniband/ulp
parentd9023e461b73e2918c689e09b2ecf72389632da3 (diff)
RDMA/hns: Add delayed work for bonding
When conditions are met, schedule a delayed work in bond event handler to perform bonding operation according to the bond state. In the case of changing slave number or link state, re-set the netdev for the bond ibdev after the modification is complete, since these two operations may not call hns_roce_set_bond_netdev() in hns_roce_init(). The delayed work will be paused when there is a driver reset or exit to avoid concurrency. Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20251112093510.3696363-7-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions