> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of > Przemek Kitszel > Sent: Wednesday, August 21, 2024 7:07 PM > To: intel-wired-...@lists.osuosl.org; Jiri Pirko <j...@resnulli.us>; Nguyen, > Anthony L <anthony.l.ngu...@intel.com> > Cc: lukas.bulw...@gmail.com; will...@google.com; Drewek, Wojciech > <wojciech.dre...@intel.com>; dwaipayanr...@gmail.com; net...@vger.kernel.org; > Polchlopek, Mateusz <mateusz.polchlo...@intel.com>; Bagnucki, Igor > <igor.bagnu...@intel.com>; j...@perches.com; Eric Dumazet > <eduma...@google.com>; Kitszel, Przemyslaw <przemyslaw.kits...@intel.com>; > Simon Horman <ho...@kernel.org>; Jakub Kicinski <k...@kernel.org>; > a...@canonical.com; NEX SW NCIS OSDT ITP Upstreaming > <nex.sw.ncis.osdt.itp.upstream...@intel.com>; a...@linux-foundation.org; > Paolo Abeni <pab...@redhat.com>; David S. Miller <da...@davemloft.net> > 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 <igor.bagnu...@intel.com> > Reviewed-by: Wojciech Drewek <wojciech.dre...@intel.com> > Reviewed-by: Simon Horman <ho...@kernel.org> > Signed-off-by: Mateusz Polchlopek <mateusz.polchlo...@intel.com> > Signed-off-by: Przemek Kitszel <przemyslaw.kits...@intel.com> > --- > 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 <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)