linux/drivers/net/ethernet/mellanox
Moshe Shemesh ba603d9d7b net/mlx4_en: Handle TX error CQE
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>
2020-12-09 16:44:35 -08:00
..
mlx4 net/mlx4_en: Handle TX error CQE 2020-12-09 16:44:35 -08:00
mlx5/core ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
mlxfw treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
mlxsw mlxsw: core: Use variable timeout for EMAD retries 2020-11-18 11:07:00 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00