diff options
author | 2010-09-27 00:35:50 +0000 | |
---|---|---|
committer | 2010-09-27 21:30:43 -0700 | |
commit | 3c97af99a5aa17feaebb4eb0f85f51ab6c055797 (patch) | |
tree | 6d14e38cc4479acf15352062974ee8e4c3cccaac /net/core/fib_rules.c | |
parent | ip_gre: percpu stats accounting (diff) | |
download | wireguard-linux-3c97af99a5aa17feaebb4eb0f85f51ab6c055797.tar.xz wireguard-linux-3c97af99a5aa17feaebb4eb0f85f51ab6c055797.zip |
ipip: percpu stats accounting
Maintain per_cpu tx_bytes, tx_packets, rx_bytes, rx_packets.
Other seldom used fields are kept in netdev->stats structure, possibly
unsafe.
This is a preliminary work to support lockless transmit path, and
correct RX stats, that are already unsafe.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/fib_rules.c')
0 files changed, 0 insertions, 0 deletions