commit | 12d342fea121f04e4ccb6febf41f59ebb74bbe64 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Mon Sep 14 17:11:59 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 15 13:26:29 2020 -0700 |
tree | 9220d39fb374a93f1d84cfbdf1383c995584175d | |
parent | 098d9ed9efb3e6edfbe6f1b3cdfd5b2ad3228bf2 [diff] |
mlx4: add pause frame stats Check if the pause stats are reported by HW by checking the bitmap. Calculation is based on the order of strings in main_strings from ethtool -S. Hopefully the semantics of these stats match the standard.. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>