diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-19 09:35:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-19 09:35:40 -0700 |
commit | bd27290a593f80cb99e95287cb29c72c0d57608b (patch) | |
tree | c12dfb1cb4cfd7f7d65e34fcf53797685ec66670 /include/linux/dlm.h | |
parent | db5dda905759c931ceb8f3f2fcfd7719009acc98 (diff) |
net: 64bit stats for netdev_queue
Since struct netdev_queue tx_bytes/tx_packets/tx_dropped are already
protected by _xmit_lock, its easy to convert these fields to u64 instead
of unsigned long.
This completes 64bit stats for devices using them (vlan, macvlan, ...)
Strictly, we could avoid the locking in dev_txq_stats_fold() on 64bit
arches, but its slow path and we prefer keep it simple.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dlm.h')
0 files changed, 0 insertions, 0 deletions