Lines Matching refs:ohdr

60  * @ohdr: a pointer to the IB header being constructed
68 struct ib_other_headers *ohdr,
168 ohdr->u.aeth = rvt_compute_aeth(qp);
216 ohdr->u.at.aeth = rvt_compute_aeth(qp);
217 ib_u64_put(e->atomic_data, &ohdr->u.at.atomic_ack_eth);
218 hwords += sizeof(ohdr->u.at) / sizeof(u32);
239 ohdr->u.aeth = rvt_compute_aeth(qp);
286 hdrlen = hfi1_build_tid_rdma_write_resp(qp, e, ohdr, &bth1,
309 delta = hfi1_build_tid_rdma_read_resp(qp, e, ohdr, &bth0,
338 ohdr->u.aeth =
343 ohdr->u.aeth = rvt_compute_aeth(qp);
356 hfi1_make_ruc_header(qp, ohdr, bth0, bth1, bth2, middle, ps);
392 struct ib_other_headers *ohdr;
419 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth;
421 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth;
427 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth;
429 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth;
434 make_rc_ack(dev, qp, ohdr, ps))
569 ohdr->u.imm_data = wqe->wr.ex.imm_data;
574 ohdr->u.ieth = cpu_to_be32(
596 &ohdr->u.rc.reth);
597 ohdr->u.rc.reth.rkey =
599 ohdr->u.rc.reth.length = cpu_to_be32(len);
612 ohdr->u.rc.imm_data = wqe->wr.ex.imm_data;
635 hwords += hfi1_build_tid_rdma_write_req(qp, wqe, ohdr,
744 &ohdr->u.rc.reth);
745 ohdr->u.rc.reth.rkey =
747 ohdr->u.rc.reth.length = cpu_to_be32(len);
749 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32);
814 delta = hfi1_build_tid_rdma_read_req(qp, wqe, ohdr,
851 &ohdr->u.atomic_eth);
853 &ohdr->u.atomic_eth);
857 &ohdr->u.atomic_eth);
858 put_ib_ateth_compare(0, &ohdr->u.atomic_eth);
861 &ohdr->u.atomic_eth);
862 ohdr->u.atomic_eth.rkey = cpu_to_be32(
925 ohdr->u.imm_data = wqe->wr.ex.imm_data;
930 ohdr->u.ieth = cpu_to_be32(wqe->wr.ex.invalidate_rkey);
970 ohdr->u.imm_data = wqe->wr.ex.imm_data;
994 &ohdr->u.rc.reth);
995 ohdr->u.rc.reth.rkey =
997 ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len);
999 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32);
1024 hwords += hfi1_build_tid_rdma_write_req(qp, wqe, ohdr, &bth1,
1075 delta = hfi1_build_tid_rdma_read_packet(wqe, ohdr, &bth1,
1118 delta = hfi1_build_tid_rdma_read_req(qp, wqe, ohdr, &bth1,
1152 ohdr,
1181 struct ib_other_headers *ohdr,
1185 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) |
1189 ohdr->u.aeth = rvt_compute_aeth(qp);
1191 ohdr->bth[0] = cpu_to_be32(bth0);
1192 ohdr->bth[1] = cpu_to_be32(bth1 | qp->remote_qpn);
1193 ohdr->bth[2] = cpu_to_be32(mask_psn(qp->r_ack_psn));
1229 struct ib_other_headers *ohdr;
1235 ohdr = &hdr->u.oth;
1243 ohdr = &hdr->u.l.oth;
1269 hfi1_make_bth_aeth(qp, ohdr, bth0, bth1);
1282 struct ib_other_headers *ohdr;
1290 ohdr = &hdr->u.oth;
1301 ohdr = &hdr->u.l.oth;
1322 hfi1_make_bth_aeth(qp, ohdr, bth0, bth1);
1674 struct ib_other_headers *ohdr = hfi1_get_rc_ohdr(opah);
1675 u8 opcode = ib_bth_get_opcode(ohdr);
1685 psn = ib_bth_get_psn(ohdr) | IB_BTH_REQ_ACK;
1686 ohdr->bth[2] = cpu_to_be32(psn);
1695 struct ib_other_headers *ohdr;
1706 ohdr = hfi1_get_rc_ohdr(opah);
1707 opcode = ib_bth_get_opcode(ohdr);
1717 psn = ib_bth_get_psn(ohdr);
2309 struct ib_other_headers *ohdr = packet->ohdr;
2316 u32 psn = ib_bth_get_psn(packet->ohdr);
2335 aeth = be32_to_cpu(ohdr->u.aeth);
2361 aeth = be32_to_cpu(ohdr->u.aeth);
2363 val = ib_u64_get(&ohdr->u.at.atomic_ack_eth);
2418 aeth = be32_to_cpu(ohdr->u.aeth);
2453 aeth = be32_to_cpu(ohdr->u.aeth);
2496 * @ohdr: the other headers for this packet
2510 static noinline int rc_rcv_error(struct ib_other_headers *ohdr, void *data,
2580 reth = &ohdr->u.rc.reth;
2771 struct ib_other_headers *ohdr = packet->ohdr;
2774 u32 psn = ib_bth_get_psn(packet->ohdr);
2792 opfn_trigger_conn_request(qp, be32_to_cpu(ohdr->bth[1]));
2809 if (rc_rcv_error(ohdr, data, qp, opcode, psn, diff, rcd))
2905 wc.ex.imm_data = ohdr->u.imm_data;
2910 rkey = be32_to_cpu(ohdr->u.ieth);
2966 rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr));
2977 reth = &ohdr->u.rc.reth;
3011 wc.ex.imm_data = ohdr->u.rc.imm_data;
3034 reth = &ohdr->u.rc.reth;
3085 struct ib_atomic_eth *ateth = &ohdr->u.atomic_eth;
3222 psn = ib_bth_get_psn(packet->ohdr);
3223 opcode = ib_bth_get_opcode(packet->ohdr);