net/mlx5e: Fix wrong (zero) TX drop counter indication for representor
authorTariq Toukan <tariqt@mellanox.com>
Thu, 8 Nov 2018 10:06:53 +0000 (12:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:57 +0000 (10:08 +0100)
commit6ed281fd85b6d65c2296d227c1c59bb8592d5f3e
treec4e4a407c47ba5915e0eea57a1f951b956a6c838
parent7f5491b9875af4b5bd6958e2421565874e471bbb
net/mlx5e: Fix wrong (zero) TX drop counter indication for representor

[ Upstream commit 7fdc1adc52d3975740547a78c2df329bb207f15d ]

For representors, the TX dropped counter is not folded from the
per-ring counters. Fix it.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c