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.szy...@linux.intel.com> > Reviewed-by: Jacob Keller <jacob.e.kel...@intel.com> > Reviewed-by: Jakub Kicinski <k...@kernel.org> > Signed-off-by: Jesse Brandeburg <jesse.brandeb...@intel.com>
Reviewed-by: Simon Horman <ho...@kernel.org>