Lines Matching refs:s_txreq
324 ps->s_txreq->hdr_dwords = 7; in hfi1_make_ud_req_9B()
326 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_9B()
329 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B()
330 ps->s_txreq->hdr_dwords += in hfi1_make_ud_req_9B()
332 ps->s_txreq->hdr_dwords - LRH_9B_DWORDS, in hfi1_make_ud_req_9B()
335 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B()
338 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B()
366 len = ps->s_txreq->hdr_dwords + nwords; in hfi1_make_ud_req_9B()
369 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B()
370 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ud_req_9B()
399 ps->s_txreq->hdr_dwords = 6; in hfi1_make_ud_req_16B()
403 ps->s_txreq->hdr_dwords = 9; in hfi1_make_ud_req_16B()
405 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_16B()
409 extra_bytes = hfi1_get_16b_padding((ps->s_txreq->hdr_dwords << 2), in hfi1_make_ud_req_16B()
426 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ud_req_16B()
427 ps->s_txreq->hdr_dwords += hfi1_make_grh( in hfi1_make_ud_req_16B()
429 ps->s_txreq->hdr_dwords - LRH_16B_DWORDS, in hfi1_make_ud_req_16B()
431 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_ud_req_16B()
434 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_ud_req_16B()
454 hfi1_16B_set_qpn(&ps->s_txreq->phdr.hdr.opah.u.mgmt, in hfi1_make_ud_req_16B()
460 len = (ps->s_txreq->hdr_dwords + nwords) >> 1; in hfi1_make_ud_req_16B()
463 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_ud_req_16B()
464 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ud_req_16B()
486 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_ud_req()
487 if (!ps->s_txreq) in hfi1_make_ud_req()
550 ps->s_txreq->s_cur_size = wqe->length; in hfi1_make_ud_req()
551 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_ud_req()
563 ps->s_txreq->sde = priv->s_sde; in hfi1_make_ud_req()
565 ps->s_txreq->psc = priv->s_sendcontext; in hfi1_make_ud_req()
574 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
575 ps->s_txreq = NULL; in hfi1_make_ud_req()
579 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
582 ps->s_txreq = NULL; in hfi1_make_ud_req()