]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Remove redundant check in CQE recovery flow of tx reporter
authorAya Levin <ayal@mellanox.com>
Thu, 8 Aug 2019 12:55:48 +0000 (15:55 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 8 Aug 2019 20:01:20 +0000 (13:01 -0700)
commit13d153579b9efa85911fb4c3f496be42f50f486b
tree991dafb4e9e51d438a82dd0765e407f0acda7f83
parent8ee9d681d44944387a22188f94a726f6168349d6
net/mlx5e: Remove redundant check in CQE recovery flow of tx reporter

Remove check of recovery bit, in the beginning of the CQE recovery
function. This test is already performed right before the reporter
is invoked, when CQE error is detected.

Fixes: f9154a205e65 ("net/mlx5e: Add tx reporter support")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c