Re: [PATCH net-next] veth: reduce stat overhead
From: David Miller <davem@davemloft.net>
Date: 2012-12-30 10:32:52
From: David Miller <davem@davemloft.net>
Date: 2012-12-30 10:32:52
From: Eric Dumazet <redacted> Date: Sat, 29 Dec 2012 18:02:43 -0800
From: Eric Dumazet <edumazet@google.com> 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>
Applied.