]> Git Repo - linux.git/commit
net: sched: run ingress qdisc without locks
authorAlexei Starovoitov <[email protected]>
Fri, 1 May 2015 03:14:07 +0000 (20:14 -0700)
committerDavid S. Miller <[email protected]>
Mon, 4 May 2015 03:42:03 +0000 (23:42 -0400)
commit087c1a601ad7f851a2d31f5fa0e5e9dfc766df55
treeef9325c8d3b021583af7a0d1b13cf934379b6b31
parenta89f96c927700eeb560943847e3d00b664f341bb
net: sched: run ingress qdisc without locks

TC classifiers/actions were converted to RCU by John in the series:
http://thread.gmane.org/gmane.linux.network/329739/focus=329739
and many follow on patches.
This is the last patch from that series that finally drops
ingress spin_lock.

Single cpu ingress+u32 performance goes from 22.9 Mpps to 24.5 Mpps.

In two cpu case when both cores are receiving traffic on the same
device and go into the same ingress+u32 the performance jumps
from 4.5 + 4.5 Mpps to 23.5 + 23.5 Mpps

Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Jamal Hadi Salim <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/core/dev.c
net/sched/sch_ingress.c
This page took 0.056487 seconds and 4 git commands to generate.