Skip to content

Commit 6ce3062

Browse files
damodhar-aikuba-moo
authored andcommitted
bnxt_en: add rx_filter_miss extended stats
rx_filter_miss counter is newly added to the rx_port_stats_ext stats structure for newer chips. Newer firmware will return the structure size that includes this counter. Add this entry to the bnxt_port_stats_ext_arr array and the ethtool -S code will pick up this counter if it is supported. Signed-off-by: Damodharam Ammepalli <[email protected]> Signed-off-by: Michael Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9600963 commit 6ce3062

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ static const struct {
461461
BNXT_RX_STATS_EXT_DISCARD_COS_ENTRIES,
462462
BNXT_RX_STATS_EXT_ENTRY(rx_fec_corrected_blocks),
463463
BNXT_RX_STATS_EXT_ENTRY(rx_fec_uncorrectable_blocks),
464+
BNXT_RX_STATS_EXT_ENTRY(rx_filter_miss),
464465
};
465466

466467
static const struct {

0 commit comments

Comments
 (0)