Loading
RDMA/hns: Add support for sending port down event fastly
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I95PFV ---------------------------------------------------------------------- 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. Signed-off-by:Lang Cheng <chenglang@huawei.com> Signed-off-by:
Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>