Skip to content

net: ethtool: Track TX pause storm

Mohsin Bashir linux-rdma lkml netdev 4 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 3 repliesApplied 5/5
  2. v3 RFC5 patches 0 repliesSuperseded
  3. v25 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches14 repliesSuperseded

Changelog from the cover letter

Patches in v4 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: ethtool: Track pause storm eventsDocumentation/netlink/specs/ethtool.yaml include/linux/ethtool.h include/uapi/linux/ethtool_netlink_generated.h +1 more+19 -10 repliesApplied
2/5net: ethtool: Update doc for tunableinclude/uapi/linux/ethtool.h+1 -10 repliesApplied
3/5eth: fbnic: Add protection against pause stormdrivers/net/ethernet/meta/fbnic/fbnic.h drivers/net/ethernet/meta/fbnic/fbnic_csr.h drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c +4 more+186 -00 repliesApplied
4/5eth: fbnic: Fetch TX pause storm statsdrivers/net/ethernet/meta/fbnic/fbnic_csr.h drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c drivers/net/ethernet/meta/fbnic/fbnic_hw_stats.h +1 more+20 -00 repliesApplied
5/5eth: mlx5: Move pause storm errors to pause statsdrivers/net/ethernet/mellanox/mlx5/core/en_stats.c+30 -03 repliesApplied

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchOleksij Rempel
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [net-next V4 0/5] net: ethtool: Track TX pause storm

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), proposes using the existing pfc-prevention-tout knob to configure the storm watchdog (p2), adds pause storm protection support for fbnic (p3), and leverages p1 to provide observability into these events for the fbnic (p4) and mlx5 (p5) drivers.

Changelog:
- V4: Drop RFC. No feedback received on V3.

- V3(RFC):
https://lore.kernel.org/netdev/[email protected]/

- V2:
https://lore.kernel.org/[email protected]/

- V1:
https://lore.kernel.org/[email protected]/

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    |  30 +++++
 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   | 111 ++++++++++++++++++
 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, 256 insertions(+), 2 deletions(-)
Signature · 1 line
2.47.3