summaryrefslogtreecommitdiffstats
path: root/net/core/fib_rules.c
diff options
context:
space:
mode:
authorEric Dumazet2010-09-27 02:38:18 +0200
committerDavid S. Miller2010-09-28 06:30:44 +0200
commit15fc1f7056ebdc57e23f99077fec89e63e6fa941 (patch)
treea2c08d2a77cec6255a5718ed296592b1fc0d33ed /net/core/fib_rules.c
parentipip: percpu stats accounting (diff)
downloadkernel-qcow2-linux-15fc1f7056ebdc57e23f99077fec89e63e6fa941.tar.gz
kernel-qcow2-linux-15fc1f7056ebdc57e23f99077fec89e63e6fa941.tar.xz
kernel-qcow2-linux-15fc1f7056ebdc57e23f99077fec89e63e6fa941.zip
sit: 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