On Thu, Jun 06, 2024 at 03:46:56PM -0700, Jesse Brandeburg wrote: > 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 <marcin.szycik@xxxxxxxxxxxxxxx> > Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx> > Reviewed-by: Jakub Kicinski <kuba@xxxxxxxxxx> > Signed-off-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>