linux/drivers/net/dsa/mxl862xx
Daniel Golle a21d33a526 net: dsa: mxl862xx: implement .get_stats64
Poll free-running firmware RMON counters every 2 seconds and accumulate
deltas into 64-bit per-port statistics. 32-bit packet counters wrap
in ~220s at 10 Gbps line rate with minimum-size frames; the 2s polling
interval provides a comfortable margin. The .get_stats64 callback
forces a fresh poll so that counters are always up to date when queried.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/fa38548ba05866879e8912721edc91947ce4ff12.1775951347.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-04-13 16:46:43 -07:00
..
Kconfig net: dsa: mxl862xx: add CRC for MDIO communication 2026-03-24 20:47:21 -07:00
Makefile
mxl862xx-api.h net: dsa: mxl862xx: add ethtool statistics support 2026-04-13 16:46:43 -07:00
mxl862xx-cmd.h net: dsa: mxl862xx: add ethtool statistics support 2026-04-13 16:46:43 -07:00
mxl862xx-host.c net: dsa: mxl862xx: implement .get_stats64 2026-04-13 16:46:43 -07:00
mxl862xx-host.h net: dsa: mxl862xx: add CRC for MDIO communication 2026-03-24 20:47:21 -07:00
mxl862xx.c net: dsa: mxl862xx: implement .get_stats64 2026-04-13 16:46:43 -07:00
mxl862xx.h net: dsa: mxl862xx: implement .get_stats64 2026-04-13 16:46:43 -07:00