diff options
author | David Ahern <dsahern@gmail.com> | 2015-01-30 04:59:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-02 08:17:39 +0100 |
commit | 9766e97af1b901ffbb36fcc648e50626d926bb24 (patch) | |
tree | d60975a3c7a7e594d975cad182d8e59c7cc94f2c /net/rxrpc | |
parent | Merge branch 'switchdev_offload_flags' (diff) | |
download | linux-9766e97af1b901ffbb36fcc648e50626d926bb24.tar.xz linux-9766e97af1b901ffbb36fcc648e50626d926bb24.zip |
net: rocker: Add support for retrieving port level statistics
Add support for retrieving port level statistics from device.
Hook is added for ethtool's stats functionality. For example,
$ ethtool -S eth3
NIC statistics:
rx_packets: 12
rx_bytes: 2790
rx_dropped: 0
rx_errors: 0
tx_packets: 8
tx_bytes: 728
tx_dropped: 0
tx_errors: 0
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions