Lines Matching refs:tx

490 				  struct qib_verbs_txreq *tx)  in complete_sdma_err_req()  argument
492 struct qib_qp_priv *priv = tx->qp->priv; in complete_sdma_err_req()
496 tx->txreq.start_idx = 0; in complete_sdma_err_req()
497 tx->txreq.next_descq_idx = 0; in complete_sdma_err_req()
498 list_add_tail(&tx->txreq.list, &ppd->sdma_activelist); in complete_sdma_err_req()
513 struct qib_verbs_txreq *tx) in qib_sdma_verbs_send() argument
530 complete_sdma_err_req(ppd, tx); in qib_sdma_verbs_send()
534 if (tx->txreq.sg_count > qib_sdma_descq_freecnt(ppd)) { in qib_sdma_verbs_send()
543 dwoffset = tx->hdr_dwords; in qib_sdma_verbs_send()
544 make_sdma_desc(ppd, sdmadesc, (u64) tx->txreq.addr, dwoffset, 0); in qib_sdma_verbs_send()
547 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_USELARGEBUF) in qib_sdma_verbs_send()
563 tx->txreq.start_idx = tail; in qib_sdma_verbs_send()
580 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_USELARGEBUF) in qib_sdma_verbs_send()
601 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_HEADTOHOST) in qib_sdma_verbs_send()
603 if (tx->txreq.flags & QIB_SDMA_TXREQ_F_INTREQ) in qib_sdma_verbs_send()
605 priv = tx->qp->priv; in qib_sdma_verbs_send()
607 tx->txreq.next_descq_idx = tail; in qib_sdma_verbs_send()
609 ppd->sdma_descq_added += tx->txreq.sg_count; in qib_sdma_verbs_send()
610 list_add_tail(&tx->txreq.list, &ppd->sdma_activelist); in qib_sdma_verbs_send()
623 qp = tx->qp; in qib_sdma_verbs_send()
625 qib_put_txreq(tx); in qib_sdma_verbs_send()
640 qp = tx->qp; in qib_sdma_verbs_send()
651 tx->ss = ss; in qib_sdma_verbs_send()
652 tx->dwords = dwords; in qib_sdma_verbs_send()
653 priv->s_tx = tx; in qib_sdma_verbs_send()
670 qib_put_txreq(tx); in qib_sdma_verbs_send()