> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Dawid > Osuchowski > Sent: 21 May 2025 19:54 > To: [email protected] > Cc: [email protected]; Dawid Osuchowski > <[email protected]>; Martyna Szapar-Mudlaw > <[email protected]>; Michal Swiatkowski > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next] i40e: add link_down_events > statistic > > Introduce a link_down_events counter to the i40e driver, incremented each > time the link transitions from up to down. > This counter can help diagnose issues related to link stability, such as port > flapping or unexpected link drops. > > The value is exposed via ethtool's get_link_ext_stats() interface. > > Co-developed-by: Martyna Szapar-Mudlaw <[email protected]> > Signed-off-by: Martyna Szapar-Mudlaw <[email protected]> > Reviewed-by: Michal Swiatkowski <[email protected]> > Signed-off-by: Dawid Osuchowski <[email protected]> > --- > Based on series [1] from Martyna where this was implemented for ixgbe and ice > drivers. > > [1] > https://lore.kernel.org/netdev/[email protected]/ > --- > drivers/net/ethernet/intel/i40e/i40e.h | 1 + > drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 10 ++++++++++ > drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +++ > 3 files changed, 14 insertions(+) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
