]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sky2: check for more work before leaving NAPI
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 16 Aug 2007 13:12:47 +0000 (09:12 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 23:23:25 +0000 (16:23 -0700)
commit36d644b90a9e71e03064c1a5f28a53551ec3b621
tree2cf596657e843d546c47adf9f35a4c6331058868
parent3ff441fc036eceb186543f64056017bb75b80dda
sky2: check for more work before leaving NAPI

Backport of commit 5c11ce700f77fada15b6264417d72462da4bbb1c

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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sky2.c