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)
commit0f7f348192a9ba445463261ecc15a63d0ba48722
treec2c3881662b923db46cbcd1d7444b7d1c19607e1
parent8ed1a6306dc7892b63be7cdb1e3b1123265f42ff
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