summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorXander Huff <xander.huff@ni.com>2015-01-13 23:15:51 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-14 06:25:50 +0100
commit3ff13f1c620e4387e1a9b9bc5d95d67052615037 (patch)
treebf871cf7b45d5b2088a0dc23888e9c9f2e0fc8fa /Documentation/devicetree/bindings/net
parentnet/macb: Adding comments to various #defs to make interpretation easier (diff)
downloadlinux-3ff13f1c620e4387e1a9b9bc5d95d67052615037.tar.xz
linux-3ff13f1c620e4387e1a9b9bc5d95d67052615037.zip
net/macb: improved ethtool statistics support
Currently `ethtool -S` simply returns "no stats available". It would be more useful to see what the various ethtool statistics registers' values are. This change implements get_ethtool_stats, get_strings, and get_sset_count functions to accomplish this. Read all GEM statistics registers and sum them into macb.ethtool_stats. Add the necessary infrastructure to make this accessible via `ethtool -S`. Update gem_update_stats to utilize ethtool_stats. Signed-off-by: Xander Huff <xander.huff@ni.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
0 files changed, 0 insertions, 0 deletions