Skip to content

net: dsa: mxl862xx: add statistics support

Daniel Golle lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

* trim mxl862xx_mib[] to counters not covered elsewhere only
* remove histogram counters (moved to .get_rmon_stats)
* remove RMON error counters (moved to .get_rmon_stats)
* remove counters already in .get_eth_mac_stats
* remove counters already in .get_stats64
* add mxl862xx_rmon_ranges[] and mxl862xx_get_rmon_stats()

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: dsa: mxl862xx: add ethtool statistics supportdrivers/net/dsa/mxl862xx/mxl862xx-api.h drivers/net/dsa/mxl862xx/mxl862xx-cmd.h drivers/net/dsa/mxl862xx/mxl862xx.c+318 -00 repliesApplied
2/2net: dsa: mxl862xx: implement .get_stats64drivers/net/dsa/mxl862xx/mxl862xx-host.c drivers/net/dsa/mxl862xx/mxl862xx.c drivers/net/dsa/mxl862xx/mxl862xx.h+270 -70 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] net: dsa: mxl862xx: add statistics support

Add per-port RMON statistics support for the MxL862xx DSA driver, covering hardware-specific ethtool -S counters, standard IEEE 802.3 MAC/ctrl/pause statistics, and rtnl_link_stats64 via polled 64-bit accumulation.

Changes since v1:
* trim mxl862xx_mib[] to counters not covered elsewhere only
* remove histogram counters (moved to .get_rmon_stats)
* remove RMON error counters (moved to .get_rmon_stats)
* remove counters already in .get_eth_mac_stats
* remove counters already in .get_stats64
* add mxl862xx_rmon_ranges[] and mxl862xx_get_rmon_stats()

Daniel Golle (2):
net: dsa: mxl862xx: add ethtool statistics support
net: dsa: mxl862xx: implement .get_stats64

 drivers/net/dsa/mxl862xx/mxl862xx-api.h  | 142 +++++++++
 drivers/net/dsa/mxl862xx/mxl862xx-cmd.h  |   3 +
 drivers/net/dsa/mxl862xx/mxl862xx-host.c |   8 +-
 drivers/net/dsa/mxl862xx/mxl862xx.c      | 348 +++++++++++++++++++++++
 drivers/net/dsa/mxl862xx/mxl862xx.h      |  94 +++++-
 5 files changed, 588 insertions(+), 7 deletions(-)
Signature · 1 line
2.53.0