aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/ibm
diff options
context:
space:
mode:
authordavid decotigny <david.decotigny@google.com>2011-11-16 12:15:13 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-16 23:14:02 -0500
commitf5d827aece36300d0fe2135d7c2232c77ee07994 (patch)
treef7b1b74813c33fd0be6c148bb8e2986a74288798 /drivers/net/ethernet/ibm
parentforcedeth: allow to silence "TX timeout" debug messages (diff)
downloadwireguard-linux-f5d827aece36300d0fe2135d7c2232c77ee07994.tar.xz
wireguard-linux-f5d827aece36300d0fe2135d7c2232c77ee07994.zip
forcedeth: implement ndo_get_stats64() API
This commit implements the ndo_get_stats64() API for forcedeth. Since hardware stats are being updated from different contexts (process and timer), this commit adds synchronization. For software stats, it relies on the u64_stats_sync.h API. Tested: - 16-way SMP x86_64 -> RX bytes:7244556582 (7.2 GB) TX bytes:181904254 (181.9 MB) - pktgen + loopback: identical rx_bytes/tx_bytes and rx_packets/tx_packets Signed-off-by: David Decotigny <david.decotigny@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm')
0 files changed, 0 insertions, 0 deletions