]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: ethtool: Update doc for tunable
authorMohsin Bashir <mohsin.bashr@gmail.com>
Mon, 2 Mar 2026 23:01:46 +0000 (15:01 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 5 Mar 2026 15:26:52 +0000 (16:26 +0100)
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@kernel.org>
Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Link: https://patch.msgid.link/20260302230149.1580195-3-mohsin.bashr@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/uapi/linux/ethtool.h

index b74b80508553963e8df05803b57b9609b7dd08d5..1cdfb8341df24250635535742adb903b64e478f2 100644 (file)
@@ -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