]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: mt7530: move pause MIB counter to eth_ctrl stats API
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 10 Apr 2025 16:30:11 +0000 (18:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 15 Apr 2025 10:10:20 +0000 (12:10 +0200)
commite12989ab719cea827cd2b8442f7dada4fd259481
tree7d1952b5515a379ecc3447ee44a815f8d429c906
parent33bc7af2b28122a3fc28c0cd0624d59599df97d2
net: dsa: mt7530: move pause MIB counter to eth_ctrl stats API

Drop custom handling of TX/RX pause frame MIB counter and handle
them in the standard .get_eth_ctrl_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-4-ansuelsmth@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h