> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Jacob > Keller > Sent: 17 September 2025 00:45 > To: Brandeburg, Jesse <[email protected]>; Jakub Kicinski > <[email protected]>; Hariprasad Kelam <[email protected]>; Simon Horman > <[email protected]>; Marcin Szycik <[email protected]>; Rahul > Rameshbabu <[email protected]>; [email protected]; > [email protected]; [email protected]; [email protected]; > Keller, Jacob E <[email protected]> > Cc: Brandeburg, Jesse <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v4 2/5] ice: implement ethtool > standard stats > > From: Jesse Brandeburg <[email protected]> > > Add support for MAC/pause/RMON stats. This enables reporting hardware > statistics in a common way via: > > ethtool -S eth0 --all-groups > and > ethtool --include-statistics --show-pause eth0 > > While doing so, add support for one new stat, receive length error (RLEC), > which is extremely unlikely to happen since most L2 frames have a type/length > field specifying a "type", and raw ethernet frames aren't used much any > longer. > > NOTE: I didn't implement Ctrl aka control frame stats because the hardware > doesn't seem to implement support. > > Reviewed-by: Marcin Szycik <[email protected]> > Reviewed-by: Jacob Keller <[email protected]> > Reviewed-by: Jakub Kicinski <[email protected]> > Reviewed-by: Simon Horman <[email protected]> > Signed-off-by: Jesse Brandeburg <[email protected]> > Signed-off-by: Jacob Keller <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_type.h | 1 + > drivers/net/ethernet/intel/ice/ice_ethtool.c | 78 ++++++++++++++++++++++++++++ > drivers/net/ethernet/intel/ice/ice_main.c | 3 ++ > 3 files changed, 82 insertions(+) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
