diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-09-15 03:11:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-15 23:26:29 +0300 |
commit | 098d9ed9efb3e6edfbe6f1b3cdfd5b2ad3228bf2 (patch) | |
tree | e2edb39b9f5bc3be0120a8c295df4846bde16ffc /drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h | |
parent | eabbe2bb688b0dfb41f0d62a77c6371da6d371ed (diff) | |
download | linux-098d9ed9efb3e6edfbe6f1b3cdfd5b2ad3228bf2.tar.xz |
mlx5: add pause frame stats
Plumb through all the indirection and copy some code from
ethtool -S. The names of the group indicate that these are
the stats we are after (and Saeed confirms it).
v3:
- fix build in mlx5_rep
v2:
- drop the ethool helper and call stats directly
- don't pass 0 as initialized to in buffer
- use local buffer
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h')
0 files changed, 0 insertions, 0 deletions