net: dsa: allow reporting of standard ethtool stats for slave devices
Jakub pointed out that we have a new ethtool API for reporting device
statistics in a standardized way, via .get_eth_{phy,mac,ctrl}_stats.
Add a small amount of plumbing to allow DSA drivers to take advantage of
this when exposing statistics.
Suggested-by:
Jakub Kicinski <kuba@kernel.org>
Signed-off-by:
Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please sign in to comment