]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: mt7530: move pkt size and rx err MIB counter to rmon stats API
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 10 Apr 2025 16:30:10 +0000 (18:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 15 Apr 2025 10:10:20 +0000 (12:10 +0200)
commit33bc7af2b28122a3fc28c0cd0624d59599df97d2
treecf7712b661949d5e625ef0359508817f813f0cad
parentee6a2db281a39a29087bc3aed81945f75c84fd26
net: dsa: mt7530: move pkt size and rx err MIB counter to rmon stats API

Drop custom handling of packet size and RX error MIB counter and handle
them in the standard .get_rmon_stats API

The MIB entry are dropped from the custom MIB table and converted to
a define providing only the MIB offset.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://patch.msgid.link/20250410163022.3695-3-ansuelsmth@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h