Divy Le Ray cd7e903440 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 <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-03-17 08:07:01 -04:00
..
2007-06-20 19:16:58 -04:00
2008-01-28 15:10:30 -08:00
2007-02-27 04:27:12 -05:00
2008-01-28 15:10:30 -08:00
2007-08-31 07:29:08 -04:00
2008-03-17 08:07:01 -04:00
2007-02-05 16:58:51 -05:00
2007-08-31 07:29:08 -04:00
2008-01-28 15:04:09 -08:00
2007-02-05 16:58:51 -05:00