]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/mlx5e: Expose PCIe statistics to ethtool
authorGal Pressman <galp@mellanox.com>
Thu, 17 Nov 2016 11:46:02 +0000 (13:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 17:08:58 +0000 (12:08 -0500)
commit9c7262399ba12825f3ca4b00a76d8d5e77c720f5
tree7a6a462e11f9db572c681e92cb288387e50e7e75
parent7f503169cabd70c1f13b9279c50eca7dfb9a7d51
net/mlx5e: Expose PCIe statistics to ethtool

This patch exposes two groups of PCIe counters:
- Performance counters.
- Timers and states counters.
Queried with ethtool -S <devname>.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h