Commit 22b5eb84 authored by Tariq Toukan's avatar Tariq Toukan Committed by Greg Kroah-Hartman

net/mlx5e: Fix wrong (zero) TX drop counter indication for representor

[ Upstream commit 7fdc1adc ]

For representors, the TX dropped counter is not folded from the
per-ring counters. Fix it.
Signed-off-by: 's avatarTariq Toukan <tariqt@mellanox.com>
Signed-off-by: 's avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: 's avatarSasha Levin <sashal@kernel.org>
parent e443f41e
......@@ -143,6 +143,7 @@ static void mlx5e_rep_update_sw_counters(struct mlx5e_priv *priv)
s->tx_packets += sq_stats->packets;
s->tx_bytes += sq_stats->bytes;
s->tx_queue_dropped += sq_stats->dropped;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment