commit | 15fc1f7056ebdc57e23f99077fec89e63e6fa941 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon Sep 27 00:38:18 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 27 21:30:44 2010 -0700 |
tree | a2c08d2a77cec6255a5718ed296592b1fc0d33ed | |
parent | 3c97af99a5aa17feaebb4eb0f85f51ab6c055797 [diff] |
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>