Netdev List
 help / color / mirror / Atom feed
* [RFC PATCH net-next 0/1] Add Clear fec-stats ethtool handler
@ 2026-09-21 15:46 Pei Lee Ling
  2026-09-21 15:46 ` [RFC PATCH net-next 1/1] ethtool: Add Clear-fec-stats " Pei Lee Ling
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pei Lee Ling @ 2026-09-21 15:46 UTC (permalink / raw)
  To: andrew, netdev
  Cc: shubham.das, siddaraju.dh, balaji.chintalapalle, pei.lee.ling

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-21 20:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-21 15:46 [RFC PATCH net-next 0/1] Add Clear fec-stats ethtool handler Pei Lee Ling
2026-09-21 15:46 ` [RFC PATCH net-next 1/1] ethtool: Add Clear-fec-stats " Pei Lee Ling
2026-09-21 18:48 ` [RFC PATCH net-next 0/1] Add Clear fec-stats " Andrew Lunn
2026-09-21 20:13 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox