aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFlorian Fainelli2018-04-25 12:12:48 -0700
committerDavid S. Miller2018-04-27 11:53:02 -0400
commit9994338227179eaf8db6f4493504e108b1fae5fc (patch)
tree5788473ef40a37e1d37b4c8fdf82bafaf7269b48 /firmware
parentc59530d0d5dccc96795af12c139f618182cf98db (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 <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions