commit | 9994338227179eaf8db6f4493504e108b1fae5fc | [log] [tgz] |
---|---|---|
author | Florian Fainelli <[email protected]> | Wed Apr 25 12:12:48 2018 -0700 |
committer | David S. Miller <[email protected]> | Fri Apr 27 11:53:02 2018 -0400 |
tree | 5788473ef40a37e1d37b4c8fdf82bafaf7269b48 | |
parent | c59530d0d5dccc96795af12c139f618182cf98db [diff] |
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>