net: dsa: add support for ethtool get_rmon_stats()
authorClément Léger <clement.leger@bootlin.com>
Fri, 24 Jun 2022 14:39:47 +0000 (16:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jun 2022 10:37:55 +0000 (11:37 +0100)
commit67f38b1c7324a13113e23f7177b1f1c223da3f55
treec2efd12acbc274a5f8d5ea9258ff27d3a903daa3
parent1c6e8088d9a74674b4017f8d2090ca9a314954b7
net: dsa: add support for ethtool get_rmon_stats()

Add support to allow dsa drivers to specify the .get_rmon_stats()
operation.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/slave.c