Eric Dumazet 6b10de38f0 loopback: Implement 64bit stats on 32bit arches
Uses a seqcount_t to synchronize stat producer and consumer, for packets
and bytes counter, now u64 types.

(dropped counter being rarely used, stay a native "unsigned long" type)

No noticeable performance impact on x86, as it only adds two increments
per frame. It might be more expensive on arches where smp_wmb() is not
free.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-14 23:13:07 -07:00
..
2010-05-25 19:41:19 -04:00
2010-05-28 01:38:02 +02:00
2010-05-27 09:12:40 -07:00
2010-04-23 02:08:44 +02:00
2010-05-25 00:48:24 -06:00
2010-06-04 16:00:42 -04:00
2010-05-25 08:07:07 -07:00