OSDN Git Service

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)
commita4e508cab623951dc4754f346e5673714f3bbade
tree991dafb4e9e51d438a82dd0765e407f0acda7f83
parent276d197e70bcc47153592f4384675b51c7d83aba
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: de8650a82071 ("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