linux_dsm_epyc7002/drivers/net/ethernet/rocker
David Ahern 9766e97af1 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>
2015-02-01 23:17:39 -08:00
..
Kconfig net: ethernet: rocker: Add dependency to CONFIG_BRIDGE in Kconfig 2014-12-09 15:26:43 -05:00
Makefile rocker: introduce rocker switch driver 2014-12-02 20:01:24 -08:00
rocker.c net: rocker: Add support for retrieving port level statistics 2015-02-01 23:17:39 -08:00
rocker.h net: rocker: Add support for retrieving port level statistics 2015-02-01 23:17:39 -08:00