net: dsa: mv88e6xxx: Add "eth-mac" counter group support
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 14 Dec 2023 13:50:26 +0000 (14:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 11:05:02 +0000 (11:05 +0000)
commit0e047cec779697764af371df3db2a3e6d865c185
tree23b395d00267fac1d50ba26d7c60680ecf9e4f7c
parent5780acbd249911fa101c53f3616d0aec5906211e
net: dsa: mv88e6xxx: Add "eth-mac" counter group support

Report the applicable subset of an mv88e6xxx port's counters using
ethtool's standardized "eth-mac" counter group.

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c