linux_dsm_epyc7002/drivers/net/ethernet
Huazhong Tan aa5c4f175b net: hns3: add reset handling for VF when doing PF reset
When PF performs a function reset, the hardware will reset both PF
and all the VF belong to this PF. Hence, both PF's driver and VF's
driver need to perform corresponding reset operations.

Before PF driver asserting function reset to hardware, it firstly
set up VF's hardware reset status, and inform the VF driver with
HNAE3_VF_PF_FUNC_RESET, then VF driver sets this reset type to
reset_pending and shechule reset task to stop IO and waits for the
hardware reset status to clear. When PF driver has reinitialized the
hardware and is ready to process mailbox from VF, PF driver clears
VF's hardware reset status for VF to continue its reset process.

Also, this patch uses readl_poll_timeout to simplify the hardware reset
status waitting.

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
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: ena: fix compilation error in xtensa architecture 2018-10-22 19:48:04 -07:00
amd drivers: net: remove <net/busy_poll.h> inclusion when not needed 2018-10-25 16:20:02 -07:00
apm
apple
aquantia net: aquantia: make function aq_fw2x_update_stats static 2018-10-16 10:00:07 -07:00
arc
atheros net: alx: make alx_drv_name static 2018-11-05 17:12:58 -08:00
aurora
broadcom cnic: remove use of VLAN_TAG_PRESENT 2018-11-08 19:49:31 -08:00
brocade
cadence net: ethernet: cadence: fix socket buffer corruption problem 2018-10-25 11:32:24 -07:00
calxeda
cavium mlx5-updates-2018-10-03 2018-10-04 09:48:37 -07:00
chelsio cxgb4vf: free mac_hlist properly 2018-11-09 15:18:48 -08:00
cirrus
cisco
cortina
davicom net: ethernet: davicom: dm9000: simplify getting .driver_data 2018-10-21 21:10:12 -07:00
dec
dlink
emulex benet: use __vlan_hwaccel helpers 2018-11-08 20:45:04 -08:00
ezchip
faraday
freescale gianfar: remove use of VLAN_TAG_PRESENT 2018-11-08 19:49:32 -08:00
fujitsu
hisilicon net: hns3: add reset handling for VF when doing PF reset 2018-11-09 16:47:34 -08:00
hp
huawei hinic: Fix l4_type parameter in hinic_task_set_tunnel_l4 2018-10-29 20:43:40 -07:00
i825xx
ibm
intel igc: Clean up code 2018-11-07 09:47:01 -08:00
marvell sky2: use __vlan_hwaccel helpers 2018-11-08 20:45:04 -08:00
mediatek
mellanox mlx4: use __vlan_hwaccel helpers 2018-11-08 20:45:04 -08:00
micrel
microchip lan743x: Remove SPI dependency from Microchip group. 2018-10-25 16:20:48 -07:00
moxa
mscc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-19 11:03:06 -07:00
myricom drivers: net: remove <net/busy_poll.h> inclusion when not needed 2018-10-25 16:20:02 -07:00
natsemi
neterion
netronome nfp: abm: refuse RED offload with harddrop set 2018-11-08 20:48:01 -08:00
ni
nuvoton
nvidia
nxp net: ethernet: lpc_eth: add device and device node local variables 2018-10-19 17:04:38 -07:00
oki-semi
packetengines
pasemi
qlogic qed: fix link config error handling 2018-11-03 19:27:33 -07:00
qualcomm net: qca_spi: Add available buffer space verification 2018-11-08 19:41:01 -08:00
rdc
realtek r8169: fix broken Wake-on-LAN from S5 (poweroff) 2018-10-25 16:15:23 -07:00
renesas
rocker rocker: Drop pointless static qualifier 2018-10-19 10:42:19 -07:00
samsung
seeq
sfc sfc: use the new __netdev_tx_sent_queue BQL optimisation 2018-11-08 20:01:29 -08:00
sgi
silan
sis
smsc net: ethernet: smsc: smc91x: simplify getting .driver_data 2018-10-21 21:10:12 -07:00
socionext net: socionext: refactor netsec_alloc_dring() 2018-11-08 19:42:41 -08:00
stmicro net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules 2018-10-31 18:35:58 -07:00
sun
synopsys
tehuti
ti net: ethernet: ti: cpsw: fix vlan configuration while down/up 2018-11-08 20:30:58 -08:00
toshiba
tundra
via
wiznet net: ethernet: wiznet: w5300: simplify getting .driver_data 2018-10-21 21:10:12 -07:00
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile
netx-eth.c