]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fb37450184fc1d7314986ff7faf79b95d1eea73
tree6546c2ed9aea36754e32155b25fe0098e32ab3a1
parent3a1d0b676bb123c28c2345c31c91ffbdbb6868b0
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