commit | cf963573039a333eff7156629e61a06e59da61cf | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed Apr 25 12:12:52 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 27 11:53:03 2018 -0400 |
tree | 78375bd5f5d00dab15a09c64c962b59ed93601ab | |
parent | 6207a78c098a183df1620c1e2cbf620a4cc7c3e3 [diff] |
net: dsa: Allow providing PHY statistics from CPU port Implement the same type of ethtool diversion that we have for ETH_SS_STATS and make it work with ETH_SS_PHY_STATS. This allows providing PHY level statistics for CPU ports that are directly connecting to a PHY device. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>