1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mellanox/mlx4
Moshe Shemesh 717a140a36 net/mlx4_en: Handle TX error CQE
[ Upstream commit ba603d9d7b ]

In case error CQE was found while polling TX CQ, the QP is in error
state and all posted WQEs will generate error CQEs without any data
transmitted. Fix it by reopening the channels, via same method used for
TX timeout handling.

In addition add some more info on error CQE and WQE for debug.

Fixes: bd2f631d7c ("net/mlx4_en: Notify user when TX ring in error state")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-21 13:27:04 +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: Handle TX error CQE 2020-12-21 13:27:04 +01: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 net/mlx4_en: Handle TX error CQE 2020-12-21 13:27:04 +01:00
eq.c ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
fw.c net/mlx4_core: Fix init_hca fields offset 2020-11-24 13:28:58 +01:00
fw.h net/mlx4_core: Fix init_hca fields offset 2020-11-24 13:28:58 +01:00
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/mlx4_en: Handle TX error CQE 2020-12-21 13:27:04 +01: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