net/mlx5e: Add link down events counter
Expose link_down_events counter through ethtool -S. This counter is read from PPort statistics, then proccessed and stored as a special handling software counter. This counter is stored along software counters since it is the only PPort counter that it's size is not 64 bits. 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>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 9 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en_main.c
- drivers/net/ethernet/mellanox/mlx5/core/en_stats.h 5 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_stats.h
- include/linux/mlx5/device.h 1 addition, 0 deletionsinclude/linux/mlx5/device.h
Loading
Please register or sign in to comment