linux/drivers/net/ethernet/broadcom/bnxt
Michael Chan 9cfe8cf502 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: 754fbf604f ("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>
2023-10-26 19:43:38 -07:00
..
Makefile bnxt_en: Move hwmon functions into a dedicated file 2023-10-04 11:23:01 +01:00
bnxt.c page_pool: remove PP_FLAG_PAGE_FRAG 2023-10-23 19:14:48 -07:00
bnxt.h bnxt_en: add infrastructure to lookup ethtool link mode 2023-10-22 11:41:46 +01:00
bnxt_coredump.c
bnxt_coredump.h
bnxt_dcb.c bnxt_en: Fix W=stringop-overflow warning in bnxt_dcb.c 2023-08-08 15:07:18 -07:00
bnxt_dcb.h eth: bnxt: fix warning for define in struct_group 2023-07-28 13:47:34 -07:00
bnxt_debugfs.c
bnxt_debugfs.h
bnxt_devlink.c bnxt_en: devlink health: use retained error fmsg API 2023-10-20 11:34:49 +01:00
bnxt_devlink.h
bnxt_dim.c
bnxt_ethtool.c bnxt_en: Fix 2 stray ethtool -S counters 2023-10-26 19:43:38 -07:00
bnxt_ethtool.h
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface to 1.10.2.171 2023-10-04 11:23:01 +01:00
bnxt_hwmon.c bnxt_en: Do not call sleeping hwmon_notify_event() from NAPI 2023-10-22 11:41:45 +01:00
bnxt_hwmon.h bnxt_en: Do not call sleeping hwmon_notify_event() from NAPI 2023-10-22 11:41:45 +01:00
bnxt_hwrm.c eth: bnxt: fix backward compatibility with older devices 2023-10-17 17:50:55 -07:00
bnxt_hwrm.h eth: bnxt: fix backward compatibility with older devices 2023-10-17 17:50:55 -07:00
bnxt_nvm_defs.h
bnxt_ptp.c bnxt_en: Prevent kernel panic when receiving unexpected PHC_UPDATE event 2023-06-08 10:52:45 +02:00
bnxt_ptp.h
bnxt_sriov.c eth: bnxt: fix backward compatibility with older devices 2023-10-17 17:50:55 -07:00
bnxt_sriov.h
bnxt_tc.c net: flow_dissector: Use 64bits for used_keys 2023-07-31 09:11:24 +01:00
bnxt_tc.h
bnxt_ulp.c bnxt_en: Share the bar0 address with the RoCE driver 2023-07-21 16:15:32 -03:00
bnxt_ulp.h bnxt_en: Share the bar0 address with the RoCE driver 2023-07-21 16:15:32 -03:00
bnxt_vfr.c bnxt_en: Link representors to PCI device 2023-06-21 14:07:09 -07:00
bnxt_vfr.h bnxt_en: Allow to set switchdev mode without existing VFs 2023-04-13 11:04:51 +02:00
bnxt_xdp.c page_pool: split types and declarations from page_pool.h 2023-08-07 13:05:19 -07:00
bnxt_xdp.h bnxt: don't handle XDP in netpoll 2023-07-31 14:28:39 -07:00