]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Define PHY statistics ethtool_phy_ops
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 8 Jul 2020 16:46:24 +0000 (09:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2020 19:39:05 +0000 (12:39 -0700)
commit3a04a91f36eb0f8074d21ff5141dddf17bd04df4
treecf6d2f62da5f0707255e3b1caab68c9d401049f8
parent8a5e51f3ebaa585cd4e6a018788bb7d446d7f323
net: phy: Define PHY statistics ethtool_phy_ops

Extend ethtool_phy_ops to include the 3 function pointers necessary for
implementing PHY statistics. In a subsequent change we will uninline
those functions.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
include/linux/ethtool.h