This series introduces a new ethtool statistic, link_down_events, to both the ixgbe and ice drivers. The purpose of this counter is to track the number of times the network link transitions from up to down. This statistic can help diagnose issues related to link stability, such as port flapping or unexpected link drops. It is exposed via ethtool. Patch 1 adds this functionality to the ice driver, while patch 2 adds the same support to the ixge driver.
Martyna Szapar-Mudlaw (2): ice: add link_down_events statistic ixgbe: add link_down_events statistic drivers/net/ethernet/intel/ice/ice.h | 1 + drivers/net/ethernet/intel/ice/ice_ethtool.c | 1 + 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 | 1 + drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 ++ 6 files changed, 9 insertions(+) -- 2.47.0