commit | 8560f2266b36adb43238f1f9fd13958dd031901c | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Sep 28 03:23:34 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 29 13:25:52 2010 -0700 |
tree | da92b380a566f5e2daba65678b874f0f2c4df3cb | |
parent | 153f0943382e9ae0bff7caa110a1a4656088d0d4 [diff] |
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>