diff options
author | Michael Chan <michael.chan@broadcom.com> | 2023-10-26 04:32:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-27 05:43:38 +0300 |
commit | 9cfe8cf5027bf4354e752d40c784219225f74004 (patch) | |
tree | 277fe8fcc8f31465d4eeaaadf781ea32356ab3fc /fs/qnx4 | |
parent | eb9df668381d350e462fdf840907388e0a9b80fe (diff) | |
download | linux-9cfe8cf5027bf4354e752d40c784219225f74004.tar.xz |
bnxt_en: Fix 2 stray ethtool -S counters
The recent firmware interface change has added 2 counters in struct
rx_port_stats_ext. This caused 2 stray ethtool counters to be
displayed.
Since new counters are added from time to time, fix it so that the
ethtool logic will only display up to the maximum known counters.
These 2 counters are not used by production firmware yet.
Fixes: 754fbf604ff6 ("bnxt_en: Update firmware interface to 1.10.2.171")
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20231026013231.53271-1-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions