]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6861584347f8eb4881ca7680b5e5aaa223d4346
treec2efd12acbc274a5f8d5ea9258ff27d3a903daa3
parent6c0c1ef0b796dc7ba9958625299987dfba703223
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