]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit363f406ab6d7e631dff6180a2eb1d40a6360f015
tree7e419501ef2fe5d1b7a480044a4016cc3205c44f
parent60cbeab56d0503127b7131523ae01f9ac50b777f
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