net/mlx5e: Remove redundant RQ state query
authorAya Levin <ayal@mellanox.com>
Thu, 30 Apr 2020 08:24:41 +0000 (11:24 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 3 Jul 2020 04:05:16 +0000 (21:05 -0700)
commitb9961af7b8acf6420845cd1660228fe374710df9
tree6546c2ed9aea36754e32155b25fe0098e32ab3a1
parente74e28aee1a2382814eae8249651cc4747460d9f
net/mlx5e: Remove redundant RQ state query

When received a CQE error, the driver inspect the syndrome given by the
firmware. RQ recovery is initiated only as a result of a fatal syndrome;
syndrome which set the RQ into an error state. Hence no need to query
the RQ state at the beginning of the recovery process. Add additional
debug prints before recovering.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c