ixgb: recalculate after how many descriptors to wake the queue
authorAuke Kok <auke\-jan.h.kok@intel.com>
Thu, 31 Aug 2006 21:27:51 +0000 (14:27 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Thu, 31 Aug 2006 21:27:51 +0000 (14:27 -0700)
commitab8ced2fb00f3a1e1b63f8c3c61ad4262308ddc0
tree8a0c6e990588885917675197e9b6166748d72160
parenta91bb6a8b411bdd8053601d7c2254d54670a4df6
ixgb: recalculate after how many descriptors to wake the queue

Recalculate when to wake the queue using DESC_NEEDED instead of a
static hardcoded number.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/ixgb/ixgb.h
drivers/net/ixgb/ixgb_main.c