diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-08-03 21:29:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-03 21:29:57 -0700 |
commit | 6e583ce5242f32e925dcb198f7123256d0798370 (patch) | |
tree | 9bf826ddc1c2826015a6d59141f7c53e094b0204 /net/core/gen_stats.c | |
parent | 283d07ac201ee9f8aa6dc6f7519436b48760baff (diff) |
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/core/gen_stats.c')
0 files changed, 0 insertions, 0 deletions