]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethtool: strset: Allow querying phy stats by index
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Wed, 21 Aug 2024 15:10:06 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2024 12:04:35 +0000 (13:04 +0100)
commite96c93aa4be971276f9340fa74e84ae62701f2f0
treea09b245a8791ab7edf53e2eb782ec9e4389198ac
parent3688ff3077d3f334cee1d4b61d8bfb6a9508c2d2
net: ethtool: strset: Allow querying phy stats by index

The ETH_SS_PHY_STATS command gets PHY statistics. Use the phydev pointer
from the ethnl request to allow query phy stats from each PHY on the
link.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/strset.c