diff options
| author | Martyna Szapar-Mudlaw <[email protected]> | 2025-05-15 10:50:09 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-06-09 16:56:18 +0000 |
| commit | e7aee24a89c863f2cab0d367df3265a66ad428d7 (patch) | |
| tree | 34663b94d30ce82325d8edee1c7cd4cf3f0e788a /drivers/net/ethernet/intel/ice/ice.h | |
| parent | net: intel: move RSS packet classifier types to libie (diff) | |
| download | kernel-e7aee24a89c863f2cab0d367df3265a66ad428d7.tar.gz kernel-e7aee24a89c863f2cab0d367df3265a66ad428d7.zip | |
ice: add link_down_events statistic
Introduce a link_down_events counter to the ice 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.
Reviewed-by: Kory Maincent <[email protected]>
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Martyna Szapar-Mudlaw <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h index ddd0ad68185b..dcf87efb9f20 100644 --- a/drivers/net/ethernet/intel/ice/ice.h +++ b/drivers/net/ethernet/intel/ice/ice.h @@ -614,6 +614,7 @@ struct ice_pf { u16 globr_count; /* Global reset count */ u16 empr_count; /* EMP reset count */ u16 pfr_count; /* PF reset count */ + u32 link_down_events; u8 wol_ena : 1; /* software state of WoL */ u32 wakeup_reason; /* last wakeup reason */ |
