Lines Matching refs:ohdr
287 struct ib_other_headers *ohdr, in hfi1_make_bth_deth() argument
295 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; in hfi1_make_bth_deth()
310 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_bth_deth()
311 ohdr->bth[1] = cpu_to_be32(wqe->ud_wr.remote_qpn); in hfi1_make_bth_deth()
312 ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); in hfi1_make_bth_deth()
317 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->ud_wr.remote_qkey < 0 ? in hfi1_make_bth_deth()
319 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth()
330 struct ib_other_headers *ohdr; in hfi1_make_ud_req_9B() local
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()
384 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, false); in hfi1_make_ud_req_9B()
397 struct ib_other_headers *ohdr; in hfi1_make_ud_req_16B() local
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()
476 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, true); in hfi1_make_ud_req_16B()
660 struct ib_other_headers *ohdr; in return_cnp_16B() local
678 ohdr = &hdr.u.l.oth; in return_cnp_16B()
682 ohdr = &hdr.u.oth; in return_cnp_16B()
689 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp_16B()
691 ohdr->bth[1] = cpu_to_be32(remote_qpn); in return_cnp_16B()
692 ohdr->bth[2] = 0; /* PSN 0 */ in return_cnp_16B()
719 struct ib_other_headers *ohdr; in return_cnp() local
733 ohdr = &hdr.u.l.oth; in return_cnp()
737 ohdr = &hdr.u.oth; in return_cnp()
744 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp()
746 ohdr->bth[1] = cpu_to_be32(remote_qpn | (1 << IB_BECN_SHIFT)); in return_cnp()
747 ohdr->bth[2] = 0; /* PSN 0 */ in return_cnp()
902 pkey = ib_bth_get_pkey(packet->ohdr); in hfi1_ud_rcv()
909 src_qp = ib_get_sqpn(packet->ohdr); in hfi1_ud_rcv()
910 solicited = ib_bth_is_solicited(packet->ohdr); in hfi1_ud_rcv()
953 ib_get_qkey(packet->ohdr) != qp->qkey)) in hfi1_ud_rcv()
981 wc.ex.imm_data = packet->ohdr->u.ud.imm_data; in hfi1_ud_rcv()