[PATCH net-next V2 0/5] net: ethtool: Track TX pause storm
From: Mohsin Bashir <hidden>
Date: 2026-02-07 02:57:16
Also in:
linux-rdma
With TX pause enabled, if a device cannot deliver received frames to the stack (e.g., during a system hang), it may generate excessive pause frames causing a pause storm. This series updates the uAPI to track TX pause storm events as part of the pause stats (p1), propose to use the existing knob (pfc-prevention-tout) to configure storm watchdog (p2), adds pause storm protection support for fbnic (p3), and leverages p1 to provide observability into these events for fbnic (p4) and mlnx5 (p5) drivers. --- Changelog: V2: - Clarify pfc-prevention-tout applies to general pause, not just PFC (P2) - Add pause storm watchdog timeout configuration via pfc-prevention-tout (P3) - mlx5: Report device stall prevention events (errors) in pause stats (P5) V1: https://lore.kernel.org/20260122192158.428882-1-mohsin.bashr@gmail.com/ (local) Mohsin Bashir (5): net: ethtool: Track pause storm events net: ethtool: Update doc for tunable eth: fbnic: Add protection against pause storm eth: fbnic: Fetch TX pause storm stats eth: mlx5: Move pause storm errors to pause stats Documentation/netlink/specs/ethtool.yaml | 13 +++ .../ethernet/mellanox/mlx5/core/en_stats.c | 25 ++++ drivers/net/ethernet/meta/fbnic/fbnic.h | 3 + drivers/net/ethernet/meta/fbnic/fbnic_csr.h | 11 ++ .../net/ethernet/meta/fbnic/fbnic_ethtool.c | 46 ++++++++ .../net/ethernet/meta/fbnic/fbnic_hw_stats.h | 1 + drivers/net/ethernet/meta/fbnic/fbnic_irq.c | 2 + drivers/net/ethernet/meta/fbnic/fbnic_mac.c | 110 ++++++++++++++++++ drivers/net/ethernet/meta/fbnic/fbnic_mac.h | 27 +++++ drivers/net/ethernet/meta/fbnic/fbnic_pci.c | 5 + include/linux/ethtool.h | 2 + include/uapi/linux/ethtool.h | 2 +- .../uapi/linux/ethtool_netlink_generated.h | 1 + net/ethtool/pause.c | 4 +- 14 files changed, 250 insertions(+), 2 deletions(-) -- 2.47.3