net: eliminate refcounting in backlog queue
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 4 Aug 2008 04:29:57 +0000 (21:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2008 04:29:57 +0000 (21:29 -0700)
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>

No differences found