RDMA/hns: Support fast path for link-down events dispatching
authorYuyu Li <liyuyu6@huawei.com>
Fri, 22 Nov 2024 10:53:08 +0000 (18:53 +0800)
committerLeon Romanovsky <leon@kernel.org>
Thu, 26 Dec 2024 04:39:11 +0000 (23:39 -0500)
commit20b6d8a7b9bdced0c5f9a4887dbf123dd8e334c0
tree917b7005790ceb05b3c142e781266b9bb6069b10
parent379013776222e296645f39a689c57edc5f13b5be
RDMA/hns: Support fast path for link-down events dispatching

hns3 NIC driver can directly notify the RoCE driver about link status
events bypassing the netdev notifier. This can provide more timely
event dispatching for ULPs.

Signed-off-by: Yuyu Li <liyuyu6@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c