Always request a completion for every work request for iWARP. The

initial MPA exchange must be tracked this way so that t4_tom's state for
the tid is all clean at the time the tid transitions to RDMA mode.  Once
it does, t4_tom is out of the way and iw_cxgbe uses the qp endpoints
directly.

Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar 2014-10-28 18:10:57 +00:00
parent 25f3fb54b6
commit 527e4e62ac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273797

View File

@ -739,7 +739,7 @@ t4_push_frames(struct adapter *sc, struct toepcb *toep, int drop)
toep->tx_nocompl >= toep->tx_total / 4)
compl = 1;
if (compl) {
if (compl || toep->ulp_mode == ULP_MODE_RDMA) {
txwr->op_to_immdlen |= htobe32(F_FW_WR_COMPL);
toep->tx_nocompl = 0;
toep->plen_nocompl = 0;