From: Divy Le Ray Date: Thu, 13 Mar 2008 07:13:30 +0000 (-0700) Subject: cxgb3: Fix transmit queue stop mechanism X-Git-Tag: v2.6.25-rc7~54^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd7e903440bad2625afa4090f34bf497593656cd;p=pandora-kernel.git cxgb3: Fix transmit queue stop mechanism The last change in the Tx queue stop mechanism opens a window where the Tx queue might be stopped after pending credits returned. Tx credits are returned via a control message generated by the HW. It returns tx credits on demand, triggered by a completion bit set in selective transmit packet headers. The current code can lead to the Tx queue stopped with all pending credits returned, and the current frame not triggering a credit return. The Tx queue will then never be awaken. The driver could alternatively request a completion for packets that stop the queue. It's however safer at this point to go back to the pre-existing behaviour. Signed-off-by: Divy Le Ray Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed