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:07:00 +0000 (10:07 +0100)
commit85992a31427d6129608d6c857d885915eadb2540
tree9bb73457d3af555ed10921229f3ed94ae868627b
parenta1953b40c6b4749f157cc73a78b6b0a6be100538
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