svn commit: r273797 - head/sys/dev/cxgbe/tom

Navdeep Parhar np at FreeBSD.org
Tue Oct 28 18:10:58 UTC 2014


Author: np
Date: Tue Oct 28 18:10:57 2014
New Revision: 273797
URL: https://svnweb.freebsd.org/changeset/base/273797

Log:
  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

Modified:
  head/sys/dev/cxgbe/tom/t4_cpl_io.c

Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_cpl_io.c	Tue Oct 28 17:52:26 2014	(r273796)
+++ head/sys/dev/cxgbe/tom/t4_cpl_io.c	Tue Oct 28 18:10:57 2014	(r273797)
@@ -739,7 +739,7 @@ t4_push_frames(struct adapter *sc, struc
 		    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;


More information about the svn-src-all mailing list