Lines Matching refs:s_txreq
343 ps->s_txreq->hdr_dwords = 7; in hfi1_make_ud_req_9B()
345 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_9B()
348 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B()
349 ps->s_txreq->hdr_dwords += in hfi1_make_ud_req_9B()
351 ps->s_txreq->hdr_dwords - LRH_9B_DWORDS, in hfi1_make_ud_req_9B()
354 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B()
357 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B()
385 len = ps->s_txreq->hdr_dwords + nwords; in hfi1_make_ud_req_9B()
388 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B()
389 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ud_req_9B()
418 ps->s_txreq->hdr_dwords = 6; in hfi1_make_ud_req_16B()
422 ps->s_txreq->hdr_dwords = 9; in hfi1_make_ud_req_16B()
424 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_16B()
428 extra_bytes = hfi1_get_16b_padding((ps->s_txreq->hdr_dwords << 2), in hfi1_make_ud_req_16B()
445 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ud_req_16B()
446 ps->s_txreq->hdr_dwords += hfi1_make_grh( in hfi1_make_ud_req_16B()
448 ps->s_txreq->hdr_dwords - LRH_16B_DWORDS, in hfi1_make_ud_req_16B()
450 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_ud_req_16B()
453 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_ud_req_16B()
473 hfi1_16B_set_qpn(&ps->s_txreq->phdr.hdr.opah.u.mgmt, in hfi1_make_ud_req_16B()
479 len = (ps->s_txreq->hdr_dwords + nwords) >> 1; in hfi1_make_ud_req_16B()
482 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_ud_req_16B()
483 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ud_req_16B()
505 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_ud_req()
506 if (!ps->s_txreq) in hfi1_make_ud_req()
569 ps->s_txreq->s_cur_size = wqe->length; in hfi1_make_ud_req()
570 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_ud_req()
582 ps->s_txreq->sde = priv->s_sde; in hfi1_make_ud_req()
584 ps->s_txreq->psc = priv->s_sendcontext; in hfi1_make_ud_req()
593 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
594 ps->s_txreq = NULL; in hfi1_make_ud_req()
598 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
601 ps->s_txreq = NULL; in hfi1_make_ud_req()