Skip to content

RFC Add Clear fec-stats ethtool handler

Pei Lee Ling netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1ethtool: Add Clear-fec-stats ethtool handlerDocumentation/netlink/specs/ethtool.yaml include/linux/ethtool.h include/uapi/linux/ethtool_netlink_generated.h +2 more+16 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH net-next 0/1] Add Clear fec-stats ethtool handler

ethtool: Add Clear fec-stats ethtool handler

During optical cable re-seating, transceiver swaps, or Bit Error Rate (BER) troubleshooting on 25G/100G/400G+ links, operators need to establish
a clean baseline for physical-layer FEC error counters (corrected/uncorrectable blocks).

Introduce a standardized netlink fec-clear operation using the ETHTOOL_MSG_FEC_SET message type with an ETHTOOL_A_FEC_STATS_CLEAR attribute. This provides a consistent and non-disruptive management interface that can be uniformly supported
across all required drivers.

Pei Lee Ling (1):
ethtool: Add Clear-fec-stats ethtool handler

 Documentation/netlink/specs/ethtool.yaml      |  3 ++
 include/linux/ethtool.h                       |  1 +
 include/uapi/linux/ethtool.h                  |  9 ++++++
 .../uapi/linux/ethtool_netlink_generated.h    |  1 +
 net/ethtool/fec.c                             | 30 +++++++++++++++++--
 net/ethtool/netlink.h                         |  2 +-
 6 files changed, 43 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0