Date: Tue, 28 Oct 2014 18:10:57 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273797 - head/sys/dev/cxgbe/tom Message-ID: <201410281810.s9SIAvYv091540@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410281810.s9SIAvYv091540>