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)
commitbd36ed1c935144a0e3b788bba659258f666e7b5b
treecf6d2f62da5f0707255e3b1caab68c9d401049f8
parent5d75c04306f7f906c1200bef42406ccb71d4b75f
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