diff options
author | Florian Fainelli | 2018-04-25 21:12:48 +0200 |
---|---|---|
committer | David S. Miller | 2018-04-27 17:53:02 +0200 |
commit | 9994338227179eaf8db6f4493504e108b1fae5fc (patch) | |
tree | 5788473ef40a37e1d37b4c8fdf82bafaf7269b48 /drivers/net/dsa/b53/b53_priv.h | |
parent | net: Move PHY statistics code into PHY library helpers (diff) | |
download | kernel-qcow2-linux-9994338227179eaf8db6f4493504e108b1fae5fc.tar.gz kernel-qcow2-linux-9994338227179eaf8db6f4493504e108b1fae5fc.tar.xz kernel-qcow2-linux-9994338227179eaf8db6f4493504e108b1fae5fc.zip |
net: Allow network devices to have PHY statistics
Add a new callback: get_ethtool_phy_stats() which allows network device
drivers not making use of the PHY library to return PHY statistics.
Update ethtool_get_phy_stats(), __ethtool_get_sset_count() and
__ethtool_get_strings() accordingly to interogate the network device
about ETH_SS_PHY_STATS.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/b53/b53_priv.h')
0 files changed, 0 insertions, 0 deletions