]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28a4994fce9e3d964dc9656f8f5673db01bb5855
tree7060bbe4e114e5b3fa6e1597dc3a40591a212d32
parent37e31b4cef4605b50f8fce3afa7c549fadb93707
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