1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mellanox
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
..
mlx4 net/mlx4_en: Handle TX error CQE 2020-12-21 13:27:04 +01:00
mlx5/core net/mlx5: Fix wrong address reclaim when command interface is down 2020-12-08 10:40:27 +01:00
mlxfw net/mlxfw: Fix out-of-memory error in mfa2 flash burning 2020-01-04 19:18:44 +01:00
mlxsw mlxsw: core: Use variable timeout for EMAD retries 2020-11-24 13:28:56 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00