Lines Matching refs:ohdr
267 struct ib_other_headers *ohdr, in hfi1_make_bth_deth() argument
275 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; in hfi1_make_bth_deth()
290 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_bth_deth()
291 ohdr->bth[1] = cpu_to_be32(rvt_get_swqe_remote_qpn(wqe)); in hfi1_make_bth_deth()
292 ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); in hfi1_make_bth_deth()
297 ohdr->u.ud.deth[0] = in hfi1_make_bth_deth()
300 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth()
311 struct ib_other_headers *ohdr; in hfi1_make_ud_req_9B() local
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()
365 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, false); in hfi1_make_ud_req_9B()
378 struct ib_other_headers *ohdr; in hfi1_make_ud_req_16B() local
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()
457 hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, true); in hfi1_make_ud_req_16B()
641 struct ib_other_headers *ohdr; in return_cnp_16B() local
660 ohdr = &hdr.opah.u.l.oth; in return_cnp_16B()
664 ohdr = &hdr.opah.u.oth; in return_cnp_16B()
671 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp_16B()
673 ohdr->bth[1] = cpu_to_be32(remote_qpn); in return_cnp_16B()
674 ohdr->bth[2] = 0; /* PSN 0 */ in return_cnp_16B()
703 struct ib_other_headers *ohdr; in return_cnp() local
718 ohdr = &hdr.ibh.u.l.oth; in return_cnp()
722 ohdr = &hdr.ibh.u.oth; in return_cnp()
729 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp()
731 ohdr->bth[1] = cpu_to_be32(remote_qpn | (1 << IB_BECN_SHIFT)); in return_cnp()
732 ohdr->bth[2] = 0; /* PSN 0 */ in return_cnp()
889 pkey = ib_bth_get_pkey(packet->ohdr); in hfi1_ud_rcv()
896 src_qp = ib_get_sqpn(packet->ohdr); in hfi1_ud_rcv()
897 solicited = ib_bth_is_solicited(packet->ohdr); in hfi1_ud_rcv()
940 ib_get_qkey(packet->ohdr) != qp->qkey)) in hfi1_ud_rcv()
968 wc.ex.imm_data = packet->ohdr->u.ud.imm_data; in hfi1_ud_rcv()