summaryrefslogtreecommitdiff
path: root/net/sched/sch_tbf.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-08-03 21:29:57 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-03 21:29:57 -0700
commit6e583ce5242f32e925dcb198f7123256d0798370 (patch)
tree9bf826ddc1c2826015a6d59141f7c53e094b0204 /net/sched/sch_tbf.c
parent283d07ac201ee9f8aa6dc6f7519436b48760baff (diff)
downloadlinux-3.10-6e583ce5242f32e925dcb198f7123256d0798370.tar.gz
linux-3.10-6e583ce5242f32e925dcb198f7123256d0798370.tar.bz2
linux-3.10-6e583ce5242f32e925dcb198f7123256d0798370.zip
net: eliminate refcounting in backlog queue
Avoid the overhead of atomic increment/decrement on each received packet. This helps performance of non-NAPI devices (like loopback). Use cleanup function to walk queue on each cpu and clean out any left over packets. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_tbf.c')
0 files changed, 0 insertions, 0 deletions