net: ethtool: Track pause storm events
authorMohsin Bashir <mohsin.bashr@gmail.com>
Mon, 2 Mar 2026 23:01:45 +0000 (15:01 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 5 Mar 2026 15:26:52 +0000 (16:26 +0100)
commitcc39325f927850473d3a84b029ae6f9b508e9bd1
treedc80eacd04c12bb7143d232031bceceefba900c7
parentbc531c2cc1d179156e8e4bdede92842dc3b63cc2
net: ethtool: Track pause storm events

With TX pause enabled, if a device is unable to pass packets up to the
stack (e.g., CPU is hanged), the device can cause pause storm. Given
that devices can have native support to protect the neighbor from such
flooding, such events need some tracking. This support is to track TX
pause storm events for better observability.

Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Link: https://patch.msgid.link/20260302230149.1580195-2-mohsin.bashr@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/netlink/specs/ethtool.yaml
include/linux/ethtool.h
include/uapi/linux/ethtool_netlink_generated.h
net/ethtool/pause.c