]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: per-cpu packet statistics (v3)
authorstephen hemminger <shemminger@vyatta.com>
Tue, 2 Mar 2010 13:32:09 +0000 (13:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:23:19 +0000 (21:23 -0700)
commit3ec643bab86d4a16dff5132a600b4566a17d1fad
tree992a40f1c885d22f6bce27d270e5839b1d8d121b
parentd41ce56609b5bbade2a3701084d7bbded366b91e
bridge: per-cpu packet statistics (v3)

The shared packet statistics are a potential source of slow down
on bridged traffic. Convert to per-cpu array, but only keep those
statistics which change per-packet.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_if.c
net/bridge/br_input.c
net/bridge/br_private.h