forcedeth: Stay in NAPI as long as there's work
authorstephen hemminger <shemminger@vyatta.com>
Wed, 28 Apr 2010 08:25:28 +0000 (08:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Apr 2010 23:15:38 +0000 (16:15 -0700)
commit81a2e36df7de8bf9417de67f9d54b4f740072ed0
tree7e419501ef2fe5d1b7a480044a4016cc3205c44f
parentf84af32cbca70a3c6d30463dc08c7984af11c277
forcedeth: Stay in NAPI as long as there's work

The following does the same thing without the extra overhead
of testing all the registers. It also handles the out of memory
case.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c