RDMA/hns: support send link down event fastly
driver inclusion category: bugfix bugzilla: NA CVE: NA When the netdev port status changes, the roce driver sends a port down event by parsing the netdev event dispatched by IB_CORE, which takes about a few hundred milliseconds. But,it is not fast enough for ULP sometimes. The HNS NIC driver can directly notify the ROCE driver send port event via callback function, this takes only a few milliseconds. This patch implements this callback function. Feature or Bugfix:Bugfix Signed-off-by: NLang Cheng <chenglang@huawei.com> Reviewed-by: Noulijun <oulijun@huawei.com> Reviewed-by: Nliyangyang20 <liyangyang20@huawei.com> Reviewed-by: Nwangxi <wangxi11@huawei.com> Reviewed-by: Nliuyixian <liuyixian@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录