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)
commit14bb4789833a2e2610f30e2d3e1451701ac96ec1
tree992a40f1c885d22f6bce27d270e5839b1d8d121b
parent0a9627f2649a02bea165cfd529d7bcb625c2fcad
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