diff options
author | Alvin Šipraga <alsi@bang-olufsen.dk> | 2021-10-18 12:37:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-18 16:02:55 +0300 |
commit | 487d3855b641b22a5875166de914c7253b63368b (patch) | |
tree | 4b48b002390b6587ab21aa4401c40b74aea6163b /net/dsa/Makefile | |
parent | 7bbbbfaa7a1b0b03890f25fba5f28bb8c7ef145a (diff) | |
download | linux-487d3855b641b22a5875166de914c7253b63368b.tar.xz |
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>
Diffstat (limited to 'net/dsa/Makefile')
0 files changed, 0 insertions, 0 deletions