diff options
| author | Eric Dumazet <[email protected]> | 2010-09-28 03:23:34 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-09-29 20:25:52 +0000 |
| commit | 8560f2266b36adb43238f1f9fd13958dd031901c (patch) | |
| tree | da92b380a566f5e2daba65678b874f0f2c4df3cb /net/ipv4/tcp_input.c | |
| parent | ipip: enable lockless xmits (diff) | |
| download | kernel-8560f2266b36adb43238f1f9fd13958dd031901c.tar.gz kernel-8560f2266b36adb43238f1f9fd13958dd031901c.zip | |
ip6tnl: 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
