realtek: dsa: rtl931x: add ethtool statistics support
authorHarshal Gohel <[email protected]>
Wed, 13 Aug 2025 13:44:12 +0000 (13:44 +0000)
committerHauke Mehrtens <[email protected]>
Sat, 15 Nov 2025 23:10:56 +0000 (00:10 +0100)
commit3c95a60e33100227f1b5f80604d56b85039db990
tree1ac4b838a9fdb5cbb3b502e74dcbbcd417c4981e
parentfdc424c1e32b50e05ba38cbc00e62b19d869e510
realtek: dsa: rtl931x: add ethtool statistics support

Add MIB data structures and table access routines for the RTL931X family.
These counters can now be exposed through the ethtool statistics interface.

Signed-off-by: Harshal Gohel <[email protected]>
Co-developed-by: Sharadanand Karanjkar <[email protected]>
Signed-off-by: Sharadanand Karanjkar <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20631
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c