> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Przemek Kitszel > Sent: Wednesday, August 21, 2024 7:07 PM > To: [email protected]; Jiri Pirko <[email protected]>; Nguyen, > Anthony L <[email protected]> > Cc: [email protected]; [email protected]; Drewek, Wojciech > <[email protected]>; [email protected]; [email protected]; > Polchlopek, Mateusz <[email protected]>; Bagnucki, Igor > <[email protected]>; [email protected]; Eric Dumazet > <[email protected]>; Kitszel, Przemyslaw <[email protected]>; > Simon Horman <[email protected]>; Jakub Kicinski <[email protected]>; > [email protected]; NEX SW NCIS OSDT ITP Upstreaming > <[email protected]>; [email protected]; > Paolo Abeni <[email protected]>; David S. Miller <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v3 5/6] ice: dump ethtool stats > and skb by Tx hang devlink health reporter > > Print the ethtool stats and skb diagnostic information as part of Tx hang > devlink health dump. > > Move the declarations of ethtool functions that devlink health uses out to a > new file: ice_ethtool_common.h > > To utilize our existing ethtool code in this context, convert it to > non-static. > > Reviewed-by: Igor Bagnucki <[email protected]> > Reviewed-by: Wojciech Drewek <[email protected]> > Reviewed-by: Simon Horman <[email protected]> > Signed-off-by: Mateusz Polchlopek <[email protected]> > Signed-off-by: Przemek Kitszel <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_ethtool.h | 2 + > .../ethernet/intel/ice/ice_ethtool_common.h | 19 ++++++++++ > .../intel/ice/devlink/devlink_health.c | 37 +++++++++++++++++++ > drivers/net/ethernet/intel/ice/ice_ethtool.c | 10 ++--- > 4 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 > drivers/net/ethernet/intel/ice/ice_ethtool_common.h >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
