linux_dsm_epyc7002/drivers/net/ethernet
Robert Beckett 6506f52dcb igb: dont drop packets if rx flow control is enabled
If Rx flow control has been enabled (via autoneg or forced), packets
should not be dropped due to Rx descriptor ring exhaustion. Instead
pause frames should be used to apply back pressure. This only applies
if VFs are not in use.

Move SRRCTL setup to its own function for easy reuse and only set drop
enable bit if Rx flow control is not enabled.

Since v1: always enable dropping of packets if VFs in use.

Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-12-31 11:17:25 -08:00
..
3com netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
8390 netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
adaptec netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
aeroflex
agere netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
alacritech
allwinner netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
alteon netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
altera
amazon net: ena: remove set but not used variable 'rx_ring' 2019-12-27 16:32:40 -08:00
amd Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
apm netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
apple netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
aquantia net: atlantic: Signedness bug in aq_vec_isr_legacy() 2019-11-13 14:29:28 -08:00
arc
atheros Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
aurora
broadcom net: Introduce peer to peer one step PTP time stamping. 2019-12-25 19:51:34 -08:00
brocade
cadence net: macb: fix probing of PHY not described in the dt 2019-12-19 17:32:21 -08:00
calxeda netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
cavium Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
chelsio Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
cirrus netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
cisco netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
cortina Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
davicom netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
dec netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
dlink netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
emulex Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
ezchip
faraday netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
freescale gianfar: Fix TX timestamping with a stacked DSA driver 2019-12-28 11:43:40 -08:00
fujitsu netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
google netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
hisilicon Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
huawei Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
i825xx netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
ibm Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
intel igb: dont drop packets if rx flow control is enabled 2019-12-31 11:17:25 -08:00
marvell Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
mediatek netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
mellanox Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2019-12-27 14:20:10 -08:00
micrel netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
microchip net: Introduce peer to peer one step PTP time stamping. 2019-12-25 19:51:34 -08:00
moxa
mscc net: mscc: ocelot: unregister the PTP clock on deinit 2019-12-03 11:27:00 -08:00
myricom
natsemi netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
neterion netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
netronome Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
ni
nvidia netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
nxp lpc_eth: kernel BUG on remove 2019-12-06 20:51:19 -08:00
oki-semi Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
packetengines netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
pasemi
pensando netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
qlogic net: Introduce peer to peer one step PTP time stamping. 2019-12-25 19:51:34 -08:00
qualcomm netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
rdc netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
realtek r8169: move enabling EEE to rtl8169_init_phy 2019-12-24 22:26:46 -08:00
renesas netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
rocker ipv4: Remove old route notifications and convert listeners 2019-12-16 16:14:43 -08:00
samsung Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
seeq netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
sfc sfc: avoid duplicate error handling code in 'efx_ef10_sriov_set_vf_mac()' 2019-12-30 17:52:21 -08:00
sgi netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
silan netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
sis netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
smsc netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
socionext
stmicro Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
sun netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
synopsys netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
tehuti
ti net: netcp_ethss: Use the PHY time stamping interface. 2019-12-25 19:51:33 -08:00
toshiba netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
tundra
via netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
wiznet netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
xilinx netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
xircom netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
fealnx.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
jme.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
jme.h
Kconfig
korina.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
lantiq_etop.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
lantiq_xrx200.c
Makefile