summaryrefslogtreecommitdiff
path: root/drivers/net/vxge/vxge-main.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-08-18 03:42:54 +0000
committerDavid S. Miller <davem@davemloft.net>2010-08-19 00:16:51 -0700
commitdd57f970f91e2371040db709b3731ac34e43ccdb (patch)
treee51cbe0b96df2e5b7ce5881574c7c62112a75479 /drivers/net/vxge/vxge-main.h
parentb92840900fb575004cac694e56fd0a43f54dc344 (diff)
vxge: Implement 64bit stats
vxge_get_stats() is racy, since it clears a block of memory (net_stats) possibly still used by other cpus. We can update this driver to full 64bit stats, since ndo_get_stats64() provides a private block to store results, and driver maintains 64bit counters already. We also remove net_stats field from struct vxge_sw_stats Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Jon Mason <jon.mason@exar.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-main.h')
-rw-r--r--drivers/net/vxge/vxge-main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/vxge/vxge-main.h b/drivers/net/vxge/vxge-main.h
index 2e3b064b8e4b..d4be07eaacd7 100644
--- a/drivers/net/vxge/vxge-main.h
+++ b/drivers/net/vxge/vxge-main.h
@@ -172,7 +172,6 @@ struct vxge_msix_entry {
struct vxge_sw_stats {
/* Network Stats (interface stats) */
- struct net_device_stats net_stats;
/* Tx */
u64 tx_frms;