Merge branch 'net-dsa-mt7530-modernize-mib-handling-fix'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 15 Apr 2025 10:10:22 +0000 (12:10 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 15 Apr 2025 10:10:23 +0000 (12:10 +0200)
Christian Marangi says:

====================
net: dsa: mt7530: modernize MIB handling + fix

This small series modernize MIB handling for MT7530 and also
implement .get_stats64.

It was reported that kernel and Switch MIB desync in scenario where
a packet is forwarded from a port to another. In such case, the
forwarding is offloaded and the kernel is not aware of the
transmitted packet. To handle this, read the counter directly
from Switch registers.
====================

Link: https://patch.msgid.link/20250410163022.3695-1-ansuelsmth@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Trivial merge