commit | 2681128f0ced8aa4e66f221197e183cc16d244fe | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sat Dec 29 16:02:43 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 30 02:31:58 2012 -0800 |
tree | 0658c7765a2b6bca62f7d6f6ede901d41bd89bf6 | |
parent | 4cafe373d40dd9893a301fa83dc99abb80a2bd0b [diff] |
veth: reduce stat overhead veth stats are a bit bloated. There is no need to account transmit and receive stats, since they are absolutely symmetric. Also use a per device atomic64_t for the dropped counter, as it should never be used in fast path. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>