linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
Huazhong Tan 9c6f708577 net: hns3: add reset_hdev to reinit the hdev in VF's reset process
When doing reset, the reset handling function only need to
reinitialize hardware, it makes sense to add a function to
do that job. Also the error handling of hclgevf_init_hdev is
different when it is used in reset process.

This patch adds reset_hdev to reinitialize hardware when resetting.
Also, this patch removes the hclgevf_dev_ongoing_full_reset because
it is unused now.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-09 16:47:34 -08:00
..
hns Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-03 21:00:17 -07:00
hns3 net: hns3: add reset_hdev to reinit the hdev in VF's reset process 2018-11-09 16:47:34 -08:00
hip04_eth.c net: hns3: fix return type of ndo_start_xmit function 2018-09-18 20:01:25 -07:00
hisi_femac.c drivers: net: generalize napi_complete_done() 2017-01-30 15:10:42 -05:00
hix5hd2_gmac.c net: hns3: fix return type of ndo_start_xmit function 2018-09-18 20:01:25 -07:00
hns_mdio.c net: hns: Fix a wrong op phy C45 code 2017-07-08 11:05:21 +01:00
Kconfig net: hns3: give default option while dependency HNS3 set 2018-07-02 22:49:14 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00