]> asedeno.scripts.mit.edu Git - linux.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)
commit2ad9ecdbe7d482867000d3da7cbccc63689a7f70
tree3e18953b9732542c1d1ed116d04a0c6e11c8786b
parentb71ba6b46ffeeb99f4b5f52892e9029b700a9068
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