android_kernel_xiaomi_sm8350/drivers/net/cxgb3
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
..
adapter.h
ael1002.c
common.h
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c
cxgb3_offload.c is_vmalloc_addr(): Check if an address is within the vmalloc boundaries 2008-02-05 09:44:14 -08:00
cxgb3_offload.h
firmware_exports.h
l2t.c cxgb3: Handle ARP completions that mark neighbors stale. 2008-02-11 11:09:17 -05:00
l2t.h
Makefile
mc5.c cxgb3: Remove incorrect __devinit annotations 2008-02-03 04:28:35 -08:00
regs.h
sge_defs.h
sge.c cxgb3: Fix transmit queue stop mechanism 2008-03-17 08:07:01 -04:00
t3_cpl.h
t3_hw.c cxgb3: Remove incorrect __devinit annotations 2008-02-03 04:28:35 -08:00
t3cdev.h
version.h
vsc8211.c
xgmac.c