]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add counter for total num of NOP operations
authorTariq Toukan <tariqt@mellanox.com>
Sun, 13 May 2018 10:42:16 +0000 (13:42 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Jun 2018 21:44:20 +0000 (14:44 -0700)
commit374e7e5800eeeb2a034f37dc9f302d2abc086ae0
tree3e18953b9732542c1d1ed116d04a0c6e11c8786b
parent9206150b434496309034dbe949ac25abcc249fc7
net/mlx5e: Add counter for total num of NOP operations

A per-ring counter for NOP operations already exists.
Here I add a counter that sums them up.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h