Re: [PATCH] net: rocker: Add support for retrieving port level statistics
From: Scott Feldman <hidden>
Date: 2015-01-30 22:50:39
From: Scott Feldman <hidden>
Date: 2015-01-30 22:50:39
On Thu, Jan 29, 2015 at 7:59 PM, David Ahern [off-list ref] wrote:
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 <redacted>Acked-by: Scott Feldman <redacted>