commit | 5c11ce700f77fada15b6264417d72462da4bbb1c | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@linux-foundation.org> | Mon Jul 09 15:33:36 2007 -0700 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Jul 10 12:22:29 2007 -0400 |
tree | def8f016cf2003c010c1ce31bc7e5df5b6ebf270 | |
parent | 3cf267539f1f133eb6ba63d074da18cb58cdf89a [diff] |
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>