diff options
| author | Przemek Kitszel <[email protected]> | 2024-12-16 14:15:34 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-12-17 19:32:46 +0000 |
| commit | 2a82874a3b7be3f424eb6e94cd4f225e928efe2a (patch) | |
| tree | b69d1c9e1f2cc9cfca28cc678e5f6dc0cc882830 /drivers/net/ethernet/intel/ice/ice.h | |
| parent | ice: rename devlink_port.[ch] to port.[ch] (diff) | |
| download | kernel-2a82874a3b7be3f424eb6e94cd4f225e928efe2a.tar.gz kernel-2a82874a3b7be3f424eb6e94cd4f225e928efe2a.zip | |
ice: add Tx hang devlink health reporter
Add Tx hang devlink health reporter, see struct ice_tx_hang_event to see
what exactly is reported. For now dump descriptors with little metadata
and skb diagnostic information.
Reviewed-by: Igor Bagnucki <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Co-developed-by: Mateusz Polchlopek <[email protected]>
Signed-off-by: Mateusz Polchlopek <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Przemek Kitszel <[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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h index 2f5d6f974185..71e05d30f0fd 100644 --- a/drivers/net/ethernet/intel/ice/ice.h +++ b/drivers/net/ethernet/intel/ice/ice.h @@ -78,6 +78,7 @@ #include "ice_irq.h" #include "ice_dpll.h" #include "ice_adapter.h" +#include "devlink/health.h" #define ICE_BAR0 0 #define ICE_REQ_DESC_MULTIPLE 32 @@ -665,6 +666,7 @@ struct ice_pf { struct ice_agg_node vf_agg_node[ICE_MAX_VF_AGG_NODES]; struct ice_dplls dplls; struct device *hwmon_dev; + struct ice_health health_reporters; u8 num_quanta_prof_used; }; |
