linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3pf
Salil Mehta 6d4c3981a8 net: hns3: Changes to make enet watchdog timeout func common for PF/VF
HNS3 drivers enet layer, used for the ring management and stack
interaction, is common to both VF and PF. PF already supports reset
functionality to handle the network stack watchdog timeout trigger
but the existing code is not generic enough to be used to support VF
reset as well.
This patch does following:
1. Makes the existing watchdog timeout handler in enet layer generic
   i.e. suitable for both VF and PF and
2. Introduces the new reset event handler for the VF code.
3. Changes existing reset event handler of PF code to initialize the
   reset level

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-22 15:29:03 -04:00
..
hclge_cmd.c net: hns3: Refactor the initialization of command queue 2017-11-02 21:28:35 +09:00
hclge_cmd.h net: hns3: fix for getting wrong link mode problem 2018-03-22 13:12:02 -04:00
hclge_dcb.c net: hns3: add support for querying pfc puase packets statistic 2018-03-11 22:53:32 -04:00
hclge_dcb.h net: hns3: Add hclge_dcb module for the support of DCB feature 2017-09-28 10:35:12 -07:00
hclge_main.c net: hns3: Changes to make enet watchdog timeout func common for PF/VF 2018-03-22 15:29:03 -04:00
hclge_main.h net: hns3: fix for getting wrong link mode problem 2018-03-22 13:12:02 -04:00
hclge_mbx.c net: hns3: add querying speed and duplex support to VF 2018-03-22 13:12:02 -04:00
hclge_mdio.c net: hns3: add Asym Pause support to phy default features 2017-12-27 10:42:03 -05:00
hclge_mdio.h net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC 2017-08-03 15:08:17 -07:00
hclge_tm.c net: hns3: add support for querying pfc puase packets statistic 2018-03-11 22:53:32 -04:00
hclge_tm.h net: hns3: add support for querying pfc puase packets statistic 2018-03-11 22:53:32 -04:00
Makefile net: hns3: Add mailbox support to PF driver 2017-12-15 10:55:35 -05:00