diff options
author | Divy Le Ray <divy@chelsio.com> | 2008-03-13 08:13:30 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-17 13:07:01 +0100 |
commit | cd7e903440bad2625afa4090f34bf497593656cd (patch) | |
tree | fd718ac8012aa60ad855556bc0caa903fe69ac4c /drivers/net/via-velocity.c | |
parent | NEWEMAC: Add compatible "ibm,tah" to tah matching table (diff) | |
download | linux-cd7e903440bad2625afa4090f34bf497593656cd.tar.xz linux-cd7e903440bad2625afa4090f34bf497593656cd.zip |
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>
Diffstat (limited to 'drivers/net/via-velocity.c')
0 files changed, 0 insertions, 0 deletions