eth: Update rmon hist range

The fbnic driver reports up-to 11 ranges resulting in the drop of the
last range. This patch increment the value of ETHTOOL_RMON_HIST_MAX to
address this limitation.

Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250610171109.1481229-2-mohsin.bashr@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
pull/1279/head
Mohsin Bashir 2025-06-10 10:11:08 -07:00 committed by Jakub Kicinski
parent 7781c4f703
commit e1f4b1f167
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ struct ethtool_rmon_hist_range {
u16 high;
};
#define ETHTOOL_RMON_HIST_MAX 10
#define ETHTOOL_RMON_HIST_MAX 11
/**
* struct ethtool_rmon_stats - selected RMON (RFC 2819) statistics