commit | 6e583ce5242f32e925dcb198f7123256d0798370 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Sun Aug 03 21:29:57 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 03 21:29:57 2008 -0700 |
tree | 9bf826ddc1c2826015a6d59141f7c53e094b0204 | |
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>