]> git.baikalelectronics.ru Git - kernel.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)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jan 2017 21:20:02 +0000 (23:20 +0200)
commitbcfd728c945204b74aea8dc37f5b9c2c5e30a3c8
treec2c3881662b923db46cbcd1d7444b7d1c19607e1
parent62cffd4b41734cb473a303f8639b96c68da4e571
net/mlx5e: Expose PCIe statistics to ethtool

This patch exposes PCIe performance counters, queried with
ethtool -S <devname>.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
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