OSDN Git Service

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)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 19 Jan 2019 00:15:31 +0000 (16:15 -0800)
commit7fdc1adc52d3975740547a78c2df329bb207f15d
tree1b70b4bcc905a600dafabdd94b76035e274f625c
parent2eb1e42551a8128d9182480dfaea52fa861e26e8
net/mlx5e: Fix wrong (zero) TX drop counter indication for representor

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>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c