[PATCH v2] net: ethernet: mediatek: ppe: add support for flow accounting

Andrew Lunn andrew at lunn.ch
Tue Nov 1 13:09:58 PDT 2022


On Tue, Nov 01, 2022 at 07:37:31PM +0000, Daniel Golle wrote:
> The PPE units found in MT7622 and newer support packet and byte
> accounting of hw-offloaded flows. Add support for reading those
> counters as found in MediaTek's SDK[1].
> 
> [1]: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/bc6a6a375c800dc2b80e1a325a2c732d1737df92
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>

What about ethtool -S support? That is the official API for
statistics, not debugfs.

	    Andrew



More information about the linux-arm-kernel mailing list