From: Stephen Hemminger Date: Wed, 12 Jul 2006 22:23:48 +0000 (-0700) Subject: [PATCH] sky2: optimize receive restart X-Git-Tag: v2.6.18-rc2~101^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22e1170310ec6afa41e0dc7ac9dfac735d82dcab;p=pandora-kernel.git [PATCH] sky2: optimize receive restart When the driver handles multiple packets per NAPI poll, it is better to reload the receive ring, then tell the hardware. Otherwise, under packet storm with flow control, the driver/hardware will degrade down to one packet getting through per pause-exchange. Likewise on transmit, don't wakeup until a little more than minimum ring space is available. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed