linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3vf
Huazhong Tan 6ff3cf0783 net: hns3: add PCIe FLR support for VF
This patch implements the .reset_prepare and .reset_done
ops from pci framework to support the VF FLR.

This patch uses hclgevf_set_def_reset_request() and
hclgevf_reset_event() to handle FLR, so when
hdev->default_reset_request is non zero, it means there is
some reset requseted by hclgevf_set_def_reset_request() need
to be processed. Also get the hdev from the ae_dev because
hclgevf_reset_event is called with handle being NULL.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-09 16:47:35 -08:00
..
hclgevf_cmd.c net: hns3: stop handling command queue while resetting VF 2018-11-09 16:47:35 -08:00
hclgevf_cmd.h net: hns3: fix for cmd queue memory not freed problem during reset 2018-11-07 11:42:18 -08:00
hclgevf_main.c net: hns3: add PCIe FLR support for VF 2018-11-09 16:47:35 -08:00
hclgevf_main.h net: hns3: add PCIe FLR support for VF 2018-11-09 16:47:35 -08:00
hclgevf_mbx.c net: hns3: stop handling command queue while resetting VF 2018-11-09 16:47:35 -08:00
Makefile net: hns3: Add HNS3 VF driver to kernel build framework 2017-12-15 10:55:34 -05:00