From: Mohsin Bashir Date: Tue, 10 Jun 2025 17:11:08 +0000 (-0700) Subject: eth: Update rmon hist range X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1f4b1f167581a4932dd4f017c80a6e46d28761a;p=thirdparty%2Flinux.git 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 Reviewed-by: Jacob Keller Reviewed-by: Andrew Lunn Link: https://patch.msgid.link/20250610171109.1481229-2-mohsin.bashr@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 5e0dd333ad1fb..90da1aee6e569 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -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