net: hns3: add calling roce callback function when link status change
authorPeng Li <lipeng321@huawei.com>
Tue, 22 Jan 2019 23:39:27 +0000 (07:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 19:13:01 +0000 (11:13 -0800)
commit45e92b7e4e27a427de7e87d5c4d63d4ce7ba02ab
tree1c3cbf5992810429a4e9767f529c75eb9354fc41
parent16e829209227f6ed46192daf4c816f172c0deb94
net: hns3: add calling roce callback function when link status change

This patch adds calling roce callback function when link status
change.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c