1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mellanox/mlx4
Jonathan Lemon 0b41975f7b mlx4: handle non-napi callers to napi_poll
[ Upstream commit b2b8a92733 ]

netcons calls napi_poll with a budget of 0 to transmit packets.
Handle this by:
 - skipping RX processing
 - do not try to recycle TX packets to the RX cache

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-29 09:57:23 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
alloc.c mellanox: Switch to bitmap_zalloc() 2019-03-04 10:19:33 -08:00
catas.c mlx4: Split restart_one into two functions 2019-09-13 22:11:14 +02:00
cmd.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
cq.c
crdump.c devlink: remove pointless data_len arg from region snapshot create 2019-08-09 11:21:46 -07:00
en_clock.c
en_cq.c
en_dcb_nl.c
en_ethtool.c net/mlx4_en: Fix wrong limitation for number of TX rings 2019-11-18 17:18:34 -08:00
en_main.c
en_netdev.c net/mlx4_en: Fix wrong limitation for number of TX rings 2019-11-18 17:18:34 -08:00
en_port.c
en_port.h
en_resources.c
en_rx.c mlx4: handle non-napi callers to napi_poll 2020-10-29 09:57:23 +01:00
en_selftest.c
en_tx.c mlx4: handle non-napi callers to napi_poll 2020-10-29 09:57:23 +01:00
eq.c ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
fw.c net/mlx4_core: fix a memory leak bug. 2020-06-03 08:21:06 +02:00
fw.h
fw_qos.c
fw_qos.h
icm.c
icm.h
intf.c
main.c mlx4: disable device on shutdown 2020-08-05 09:59:47 +02:00
mcg.c net/mlx4_core: Change the error print to info print 2019-05-14 15:38:59 -07:00
mlx4.h mlx4: Split restart_one into two functions 2019-09-13 22:11:14 +02:00
mlx4_en.h net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
mlx4_stats.h
mr.c net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init() 2020-09-09 19:12:27 +02:00
pd.c
port.c net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query 2019-05-20 11:33:57 -07:00
profile.c
qp.c
reset.c
resource_tracker.c net/mlx4_core: Dynamically set guaranteed amount of counters per VF 2019-10-29 16:29:43 -07:00
sense.c
srq.c