linux_dsm_epyc7002/drivers/net/ethernet
Ido Shamay 07841f9d94 net/mlx4_en: Schedule napi when RX buffers allocation fails
When system is out of memory, refilling of RX buffers fails while
the driver continue to pass the received packets to the kernel stack.
At some point, when all RX buffers deplete, driver may fall into a
sleep, and not recover when memory for new RX buffers is once again
availible. This is because hardware does not have valid descriptors,
so no interrupt will be generated for the driver to return to work
in napi context. Fix it by schedule the napi poll function from
stats_task delayed workqueue, as long as the allocations fail.

Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-30 16:47:50 -04:00
..
3com
8390 net:treewide: Fix typo in drivers/net 2015-04-27 13:40:53 -04:00
adaptec
adi
aeroflex
agere
allwinner
alteon
altera altera_tse: Correct rx packet length 2015-04-29 15:19:34 -04:00
amd ethernet: amd: AMD_XGBE should depend on HAS_DMA 2015-04-23 14:09:58 -04:00
apm
apple powerpc updates for 4.1 2015-04-16 13:53:32 -05:00
arc ethernet: arc: ARC_EMAC and EMAC_ROCKCHIP should depend on HAS_DMA 2015-04-23 14:09:58 -04:00
atheros trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix 2015-04-29 14:56:39 -04:00
broadcom bnx2x: Delay during kdump load 2015-04-29 15:49:21 -04:00
brocade
cadence net: macb: Fix race condition in driver when Rx frame is dropped 2015-04-29 15:24:46 -04:00
calxeda
chelsio cxgb4: Fix MC1 memory offset calculation 2015-04-29 15:50:16 -04:00
cirrus
cisco
davicom
dec
dlink
emulex bridge/nl: remove wrong use of NLM_F_MULTI 2015-04-29 14:59:16 -04:00
faraday
freescale
fujitsu
hisilicon net: hip04: Make tx coalesce timer actually work 2015-04-15 17:21:29 -04:00
hp
i825xx
ibm ehea: Fix memory hook reference counting crashes 2015-04-25 14:33:04 -04:00
icplus
intel bridge/nl: remove wrong use of NLM_F_MULTI 2015-04-29 14:59:16 -04:00
marvell pxa168: fix double deallocation of managed resources 2015-04-26 16:05:49 -04:00
mellanox net/mlx4_en: Schedule napi when RX buffers allocation fails 2015-04-30 16:47:50 -04:00
micrel
microchip
moxa
myricom ethernet: myri10ge: use arch_phys_wc_add() 2015-04-23 14:28:14 -04:00
natsemi
neterion
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic netxen_nic: use spin_[un]lock_bh around tx_clean_lock 2015-04-30 16:37:29 -04:00
qualcomm ethernet: remove unused including <linux/version.h> 2015-04-16 12:14:24 -04:00
rdc
realtek
renesas
rocker bridge/nl: remove wrong use of NLM_F_MULTI 2015-04-29 14:59:16 -04:00
samsung
seeq
sfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-17 16:31:08 -04:00
sgi
silan
sis
smsc
stmicro stmmac: Configure Flow Control to work correctly based on rxfifo size 2015-04-16 13:58:42 -04:00
sun
tehuti
ti net: netcp: remove call to netif_carrier_(on/off) for MAC to Phy interface 2015-04-27 23:11:49 -04:00
tile This is the final removal (after several years!) of the obsolete cpus_* 2015-04-20 10:19:03 -07:00
toshiba toshiba: Remove celleb from Kconfig options 2015-04-14 14:57:10 -04:00
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c