diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-07 20:44:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-08 23:12:28 -0700 |
commit | 511d22247be767bbf275ee7a5a388c4f009aa0c1 (patch) | |
tree | 80455cfcf51782be3546212e1df38b3314c86758 /drivers/net/tg3.h | |
parent | 5d07bf264746b7c22d7104e0e2232eeea3d32296 (diff) | |
download | op-kernel-dev-511d22247be767bbf275ee7a5a388c4f009aa0c1.zip op-kernel-dev-511d22247be767bbf275ee7a5a388c4f009aa0c1.tar.gz |
tg3: 64 bit stats on all arches
Now core network is able to handle 64 bit netdevice stats on 32 bit
arches, we can provide them for tg3, since hardware maintains 64 bit
counters.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 6b6af76..b72ac52 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h @@ -2772,8 +2772,8 @@ struct tg3 { /* begin "everything else" cacheline(s) section */ - struct net_device_stats net_stats; - struct net_device_stats net_stats_prev; + struct rtnl_link_stats64 net_stats; + struct rtnl_link_stats64 net_stats_prev; struct tg3_ethtool_stats estats; struct tg3_ethtool_stats estats_prev; |