net/mlx5e: Report and recover from CQE with error on RQ
authorAya Levin <ayal@mellanox.com>
Wed, 26 Jun 2019 20:21:40 +0000 (23:21 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Aug 2019 20:08:18 +0000 (13:08 -0700)
commit8276ea1353a4968a212f04ddf16659223e5408d9
tree43ad0b11eb1c4e0219dce80995970124df7bdd0e
parent0a35ab3e138296cfe192628520e4d5f3ff23e730
net/mlx5e: Report and recover from CQE with error on RQ

Add support for report and recovery from error on completion on RQ by
setting the queue back to ready state. Handle only errors with a
syndrome indicating the RQ might enter error state and could be
recovered.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/health.h
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c