]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sky2: check for more work before leaving NAPI
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 9 Jul 2007 22:33:36 +0000 (15:33 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 10 Jul 2007 16:22:29 +0000 (12:22 -0400)
commit5c11ce700f77fada15b6264417d72462da4bbb1c
treedef8f016cf2003c010c1ce31bc7e5df5b6ebf270
parent3cf267539f1f133eb6ba63d074da18cb58cdf89a
sky2: check for more work before leaving NAPI

This patch avoids generating another IRQ if more packets
arrive while in the NAPI poll routine. Before marking device as
finished, it rechecks that the status ring is empty.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c