]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Do not recover from a non-fatal syndrome
authorAya Levin <ayal@mellanox.com>
Thu, 19 Mar 2020 11:25:17 +0000 (13:25 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 24 Mar 2020 21:43:07 +0000 (14:43 -0700)
commitff9f43170c2831f4a54a4d41f0a8dc16631d24eb
tree9bd5ce7d5f26cabdc9e0a2f1ea0eae2eaa6062c3
parent3f5b5053d3d2cf2a049f568754eeb8c95d90e59b
net/mlx5e: Do not recover from a non-fatal syndrome

For non-fatal syndromes like LOCAL_LENGTH_ERR, recovery shouldn't be
triggered. In these scenarios, the RQ is not actually in ERR state.
This misleads the recovery flow which assumes that the RQ is really in
error state and no more completions arrive, causing crashes on bad page
state.

Fixes: cc3b057fe1c6 ("net/mlx5e: Report and recover from CQE with error on RQ")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/health.h