net: mini_snmpd: Enable ethtool statistics
authorBjørn Mork <redacted>
Sat, 1 Mar 2025 12:33:41 +0000 (13:33 +0100)
committerHannu Nyman <redacted>
Sun, 8 Jun 2025 08:52:57 +0000 (11:52 +0300)
commita73fbd3478765e540c943d53b7267b448ecb6df8
tree7910918e74029730b00bcd812d7c0b7392b9701c
parent21ffe88c57c2e50bc3463cdfe614528f5b85284f
net: mini_snmpd: Enable ethtool statistics

Been waiting more than 4 years for a release with this..  Let's stop
waiting and switch to the now 4 year old HEAD of the main branch.

Many DSA switches will not produce useful statistics in the
/proc/net/dev file used by default. It contains interfaces counters
associated with the DSA slave ports, which counts traffic between the
external ports and the CPU port. The usual expectation from snmp
on a switch is that it returns the actual switched traffic per port.
This is often exported using driver specific or phy specific ethtool
counters.

This update brings the ability to pull the per port snmp counters from
configurable ethtool counters.

Signed-off-by: Bjørn Mork <redacted>
net/mini_snmpd/Makefile
net/mini_snmpd/patches/0001-make-MAX_NR_INTERFACES-configurable.patch
git clone https://git.99rst.org/PROJECT