]> 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)
commitd378d217b56e39ed64531964fecc9da21df32c70
treec2c3881662b923db46cbcd1d7444b7d1c19607e1
parentb03be15debeeceb15b27a45a10193625e921bcdc
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