Lines Matching refs:s_txreq

282 	ps->s_txreq->hdr_dwords = 7;  in hfi1_make_ud_req_9B()
284 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_9B()
287 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B()
288 ps->s_txreq->hdr_dwords += in hfi1_make_ud_req_9B()
290 ps->s_txreq->hdr_dwords - LRH_9B_DWORDS, in hfi1_make_ud_req_9B()
293 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B()
296 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B()
324 len = ps->s_txreq->hdr_dwords + nwords; in hfi1_make_ud_req_9B()
327 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B()
328 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ud_req_9B()
357 ps->s_txreq->hdr_dwords = 6; in hfi1_make_ud_req_16B()
361 ps->s_txreq->hdr_dwords = 9; in hfi1_make_ud_req_16B()
363 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_16B()
367 extra_bytes = hfi1_get_16b_padding((ps->s_txreq->hdr_dwords << 2), in hfi1_make_ud_req_16B()
384 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ud_req_16B()
385 ps->s_txreq->hdr_dwords += hfi1_make_grh( in hfi1_make_ud_req_16B()
387 ps->s_txreq->hdr_dwords - LRH_16B_DWORDS, in hfi1_make_ud_req_16B()
389 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_ud_req_16B()
392 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_ud_req_16B()
412 hfi1_16B_set_qpn(&ps->s_txreq->phdr.hdr.opah.u.mgmt, in hfi1_make_ud_req_16B()
418 len = (ps->s_txreq->hdr_dwords + nwords) >> 1; in hfi1_make_ud_req_16B()
421 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_ud_req_16B()
422 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ud_req_16B()
445 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_ud_req()
446 if (!ps->s_txreq) in hfi1_make_ud_req()
509 ps->s_txreq->s_cur_size = wqe->length; in hfi1_make_ud_req()
510 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_ud_req()
522 ps->s_txreq->sde = priv->s_sde; in hfi1_make_ud_req()
524 ps->s_txreq->psc = priv->s_sendcontext; in hfi1_make_ud_req()
533 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
534 ps->s_txreq = NULL; in hfi1_make_ud_req()
538 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
541 ps->s_txreq = NULL; in hfi1_make_ud_req()