net: hns3: Add RoCE VF reset support
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 29 Sep 2020 09:32:02 +0000 (17:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:14:24 +0000 (13:14 -0700)
commitfe735c84be2937b53f9011f0954c22f37b16d7de
tree7060bbe4e114e5b3fa6e1597dc3a40591a212d32
parent0692cfe94a760d17793d2e1c8ca2fe10118e55de
net: hns3: Add RoCE VF reset support

Add RoCE VF client reset support by notifying the RoCE VF client
when hns3 VF is resetting and adding a interface to query whether
CMDQ is ready to work.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h