[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260207013826.4030161-1-mohsin.bashr@gmail.com>
Date: Fri, 6 Feb 2026 17:38:26 -0800
From: Mohsin Bashir <mohsin.bashr@...il.com>
To: netdev@...r.kernel.org
Cc: alexanderduyck@...com,
andrew+netdev@...n.ch,
andrew@...n.ch,
davem@...emloft.net,
donald.hunter@...il.com,
edumazet@...gle.com,
gal@...dia.com,
horms@...nel.org,
idosch@...dia.com,
jacob.e.keller@...el.com,
kernel-team@...a.com,
kory.maincent@...tlin.com,
kuba@...nel.org,
lee@...ger.us,
leon@...nel.org,
linux-rdma@...r.kernel.org,
linux@...linux.org.uk,
mbloch@...dia.com,
mohsin.bashr@...il.com,
o.rempel@...gutronix.de,
pabeni@...hat.com,
saeedm@...dia.com,
tariqt@...dia.com,
vadim.fedorenko@...ux.dev
Subject: [PATCH net-next V2 2/5] net: ethtool: Update doc for tunable
ETHTOOL_PFC_PREVENTION_TOUT enables the configuration of timeout value
for PFC storm prevention. This can also be used to configure storm
detection timeout for global pause settings. In fact some existing
drivers are already using it for the said purpose.
Highlight that the knob can formally be used to configure timeout
value for pause storm prevention mechanism. The update to the ethtool
man page will follow afterwards.
Link: https://lore.kernel.org/aa5f189a-ac62-4633-97b5-ebf939e9c535@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Signed-off-by: Mohsin Bashir <mohsin.bashr@...il.com>
---
include/uapi/linux/ethtool.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index b74b80508553..1cdfb8341df2 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -225,7 +225,7 @@ enum tunable_id {
ETHTOOL_ID_UNSPEC,
ETHTOOL_RX_COPYBREAK,
ETHTOOL_TX_COPYBREAK,
- ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */
+ ETHTOOL_PFC_PREVENTION_TOUT, /* both pause and pfc, see man ethtool */
ETHTOOL_TX_COPYBREAK_BUF_SIZE,
/*
* Add your fresh new tunable attribute above and remember to update
--
2.47.3
Powered by blists - more mailing lists