netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iwl-next v3 0/2] Add link_down_events counters to ixgbe and ice drivers
@ 2025-05-12  9:05 Martyna Szapar-Mudlaw
  2025-05-12  9:05 ` [PATCH iwl-next v3 1/2] ice: add link_down_events statistic Martyna Szapar-Mudlaw
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Martyna Szapar-Mudlaw @ 2025-05-12  9:05 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: netdev, Martyna Szapar-Mudlaw

This series introduces link_down_events counters to the ixgbe and ice drivers.
The counters are incremented each time the link transitions from up to down,
allowing better diagnosis of link stability issues such as port flapping or
unexpected link drops.

The values are exposed via ethtool using the get_link_ext_stats() interface.

Martyna Szapar-Mudlaw (2):
  ice: add link_down_events statistic
  ixgbe: add link_down_events statistic

v3 -> v2:
ixgbe patch: rebased on latest ixgbe changes; added statistic for E610
no changes to ice driver patch
v2 -> v1:
used ethtool get_link_ext_stats() interface to expose counters

 drivers/net/ethernet/intel/ice/ice.h             |  1 +
 drivers/net/ethernet/intel/ice/ice_ethtool.c     | 10 ++++++++++
 drivers/net/ethernet/intel/ice/ice_main.c        |  3 +++
 drivers/net/ethernet/intel/ixgbe/ixgbe.h         |  1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 10 ++++++++++
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c    |  2 ++
 6 files changed, 27 insertions(+)

-- 
2.47.0


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

end of thread, other threads:[~2025-05-14 14:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-12  9:05 [PATCH iwl-next v3 0/2] Add link_down_events counters to ixgbe and ice drivers Martyna Szapar-Mudlaw
2025-05-12  9:05 ` [PATCH iwl-next v3 1/2] ice: add link_down_events statistic Martyna Szapar-Mudlaw
2025-05-12  9:05 ` [PATCH iwl-next v3 2/2] ixgbe: " Martyna Szapar-Mudlaw
2025-05-13  0:21 ` [PATCH iwl-next v3 0/2] Add link_down_events counters to ixgbe and ice drivers Jakub Kicinski
2025-05-14 13:44   ` Szapar-Mudlaw, Martyna
2025-05-14 14:42     ` Jakub Kicinski
2025-05-14 14:59       ` Szapar-Mudlaw, Martyna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).