]> 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)
commit12bd8be6665c5a0d8a5c60f515cb6ea2e6293d41
tree3e18953b9732542c1d1ed116d04a0c6e11c8786b
parentc94d8f53197d8bb84f74f97a99703a95cf4b6c41
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