ohdr 275 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &rhdr->u.oth; ohdr 277 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &rhdr->u.l.oth; ohdr 307 drivers/infiniband/hw/hfi1/driver.c qp_num = ib_bth_get_qpn(packet->ohdr); ohdr 358 drivers/infiniband/hw/hfi1/driver.c opcode = ib_bth_get_opcode(packet->ohdr); ohdr 372 drivers/infiniband/hw/hfi1/driver.c lqpn = ib_bth_get_qpn(packet->ohdr); ohdr 449 drivers/infiniband/hw/hfi1/driver.c struct ib_other_headers *ohdr = pkt->ohdr; ohdr 465 drivers/infiniband/hw/hfi1/driver.c opcode = ib_bth_get_opcode(ohdr); ohdr 470 drivers/infiniband/hw/hfi1/driver.c pkey = ib_bth_get_pkey(ohdr); ohdr 477 drivers/infiniband/hw/hfi1/driver.c opcode = ib_bth_get_opcode(ohdr); ohdr 479 drivers/infiniband/hw/hfi1/driver.c fecn = ib_bth_get_fecn(ohdr); ohdr 480 drivers/infiniband/hw/hfi1/driver.c becn = ib_bth_get_becn(ohdr); ohdr 486 drivers/infiniband/hw/hfi1/driver.c rqpn = ib_get_sqpn(pkt->ohdr); ohdr 492 drivers/infiniband/hw/hfi1/driver.c rqpn = ib_get_sqpn(pkt->ohdr); ohdr 527 drivers/infiniband/hw/hfi1/driver.c u32 lqpn = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; ohdr 647 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.oth; ohdr 650 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.l.oth; ohdr 659 drivers/infiniband/hw/hfi1/driver.c bth1 = be32_to_cpu(packet->ohdr->bth[1]); ohdr 674 drivers/infiniband/hw/hfi1/driver.c packet->ohdr->bth[1] = cpu_to_be32(bth1); ohdr 1458 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.oth; ohdr 1463 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = &hdr->u.l.oth; ohdr 1476 drivers/infiniband/hw/hfi1/driver.c packet->opcode = ib_bth_get_opcode(packet->ohdr); ohdr 1485 drivers/infiniband/hw/hfi1/driver.c packet->pad = ib_bth_get_pad(packet->ohdr); ohdr 1487 drivers/infiniband/hw/hfi1/driver.c packet->pkey = ib_bth_get_pkey(packet->ohdr); ohdr 1488 drivers/infiniband/hw/hfi1/driver.c packet->migrated = ib_bth_is_migration(packet->ohdr); ohdr 1518 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = packet->ebuf; ohdr 1520 drivers/infiniband/hw/hfi1/driver.c packet->opcode = ib_bth_get_opcode(packet->ohdr); ohdr 1521 drivers/infiniband/hw/hfi1/driver.c packet->pad = hfi1_16B_bth_get_pad(packet->ohdr); ohdr 1525 drivers/infiniband/hw/hfi1/driver.c packet->migrated = opa_bth_is_migration(packet->ohdr); ohdr 1530 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = packet->ebuf + grh_len; ohdr 1532 drivers/infiniband/hw/hfi1/driver.c packet->opcode = ib_bth_get_opcode(packet->ohdr); ohdr 1533 drivers/infiniband/hw/hfi1/driver.c packet->pad = hfi1_16B_bth_get_pad(packet->ohdr); ohdr 1537 drivers/infiniband/hw/hfi1/driver.c packet->migrated = opa_bth_is_migration(packet->ohdr); ohdr 1546 drivers/infiniband/hw/hfi1/driver.c packet->ohdr = NULL; ohdr 1787 drivers/infiniband/hw/hfi1/driver.c packet.ohdr = &hdr->u.oth; ohdr 1789 drivers/infiniband/hw/hfi1/driver.c packet.ohdr = &hdr->u.l.oth; ohdr 1793 drivers/infiniband/hw/hfi1/driver.c opcode = (be32_to_cpu(packet.ohdr->bth[0]) >> 24); ohdr 1794 drivers/infiniband/hw/hfi1/driver.c qpn = be32_to_cpu(packet.ohdr->bth[1]) & RVT_QPN_MASK; ohdr 1795 drivers/infiniband/hw/hfi1/driver.c psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); ohdr 372 drivers/infiniband/hw/hfi1/hfi.h struct ib_other_headers *ohdr; ohdr 515 drivers/infiniband/hw/hfi1/hfi.h static inline u8 hfi1_16B_bth_get_pad(struct ib_other_headers *ohdr) ohdr 517 drivers/infiniband/hw/hfi1/hfi.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & ohdr 549 drivers/infiniband/hw/hfi1/hfi.h struct ib_other_headers *ohdr; ohdr 557 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr->u.oth; ohdr 559 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr->u.l.oth; ohdr 566 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr_16b->u.oth; ohdr 568 drivers/infiniband/hw/hfi1/hfi.h ohdr = &hdr_16b->u.l.oth; ohdr 570 drivers/infiniband/hw/hfi1/hfi.h return ohdr; ohdr 1880 drivers/infiniband/hw/hfi1/hfi.h fecn = ib_bth_get_fecn(pkt->ohdr); ohdr 1881 drivers/infiniband/hw/hfi1/hfi.h becn = ib_bth_get_becn(pkt->ohdr); ohdr 110 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr, ohdr 210 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 258 drivers/infiniband/hw/hfi1/rc.c ohdr->u.at.aeth = rvt_compute_aeth(qp); ohdr 259 drivers/infiniband/hw/hfi1/rc.c ib_u64_put(e->atomic_data, &ohdr->u.at.atomic_ack_eth); ohdr 260 drivers/infiniband/hw/hfi1/rc.c hwords += sizeof(ohdr->u.at) / sizeof(u32); ohdr 281 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 328 drivers/infiniband/hw/hfi1/rc.c hdrlen = hfi1_build_tid_rdma_write_resp(qp, e, ohdr, &bth1, ohdr 351 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_resp(qp, e, ohdr, &bth0, ohdr 380 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = ohdr 385 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 398 drivers/infiniband/hw/hfi1/rc.c hfi1_make_ruc_header(qp, ohdr, bth0, bth1, bth2, middle, ps); ohdr 433 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr; ohdr 460 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; ohdr 462 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; ohdr 468 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; ohdr 470 drivers/infiniband/hw/hfi1/rc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; ohdr 475 drivers/infiniband/hw/hfi1/rc.c make_rc_ack(dev, qp, ohdr, ps)) ohdr 610 drivers/infiniband/hw/hfi1/rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 615 drivers/infiniband/hw/hfi1/rc.c ohdr->u.ieth = cpu_to_be32( ohdr 637 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.rc.reth); ohdr 638 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.rkey = ohdr 640 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); ohdr 653 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; ohdr 676 drivers/infiniband/hw/hfi1/rc.c hwords += hfi1_build_tid_rdma_write_req(qp, wqe, ohdr, ohdr 785 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.rc.reth); ohdr 786 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.rkey = ohdr 788 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); ohdr 790 drivers/infiniband/hw/hfi1/rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); ohdr 855 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_req(qp, wqe, ohdr, ohdr 893 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); ohdr 895 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); ohdr 899 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); ohdr 900 drivers/infiniband/hw/hfi1/rc.c put_ib_ateth_compare(0, &ohdr->u.atomic_eth); ohdr 903 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.atomic_eth); ohdr 904 drivers/infiniband/hw/hfi1/rc.c ohdr->u.atomic_eth.rkey = cpu_to_be32( ohdr 967 drivers/infiniband/hw/hfi1/rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 972 drivers/infiniband/hw/hfi1/rc.c ohdr->u.ieth = cpu_to_be32(wqe->wr.ex.invalidate_rkey); ohdr 1012 drivers/infiniband/hw/hfi1/rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 1036 drivers/infiniband/hw/hfi1/rc.c &ohdr->u.rc.reth); ohdr 1037 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.rkey = ohdr 1039 drivers/infiniband/hw/hfi1/rc.c ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); ohdr 1041 drivers/infiniband/hw/hfi1/rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); ohdr 1066 drivers/infiniband/hw/hfi1/rc.c hwords += hfi1_build_tid_rdma_write_req(qp, wqe, ohdr, &bth1, ohdr 1117 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_packet(wqe, ohdr, &bth1, ohdr 1160 drivers/infiniband/hw/hfi1/rc.c delta = hfi1_build_tid_rdma_read_req(qp, wqe, ohdr, &bth1, ohdr 1194 drivers/infiniband/hw/hfi1/rc.c ohdr, ohdr 1223 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr, ohdr 1227 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | ohdr 1231 drivers/infiniband/hw/hfi1/rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 1233 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 1234 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[1] = cpu_to_be32(bth1 | qp->remote_qpn); ohdr 1235 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[2] = cpu_to_be32(mask_psn(qp->r_ack_psn)); ohdr 1271 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr; ohdr 1277 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.oth; ohdr 1285 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.l.oth; ohdr 1311 drivers/infiniband/hw/hfi1/rc.c hfi1_make_bth_aeth(qp, ohdr, bth0, bth1); ohdr 1324 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr; ohdr 1332 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.oth; ohdr 1343 drivers/infiniband/hw/hfi1/rc.c ohdr = &hdr->u.l.oth; ohdr 1364 drivers/infiniband/hw/hfi1/rc.c hfi1_make_bth_aeth(qp, ohdr, bth0, bth1); ohdr 1717 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr = hfi1_get_rc_ohdr(opah); ohdr 1718 drivers/infiniband/hw/hfi1/rc.c u8 opcode = ib_bth_get_opcode(ohdr); ohdr 1728 drivers/infiniband/hw/hfi1/rc.c psn = ib_bth_get_psn(ohdr) | IB_BTH_REQ_ACK; ohdr 1729 drivers/infiniband/hw/hfi1/rc.c ohdr->bth[2] = cpu_to_be32(psn); ohdr 1738 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr; ohdr 1749 drivers/infiniband/hw/hfi1/rc.c ohdr = hfi1_get_rc_ohdr(opah); ohdr 1750 drivers/infiniband/hw/hfi1/rc.c opcode = ib_bth_get_opcode(ohdr); ohdr 1760 drivers/infiniband/hw/hfi1/rc.c psn = ib_bth_get_psn(ohdr); ohdr 2352 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 2359 drivers/infiniband/hw/hfi1/rc.c u32 psn = ib_bth_get_psn(packet->ohdr); ohdr 2378 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 2404 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 2406 drivers/infiniband/hw/hfi1/rc.c val = ib_u64_get(&ohdr->u.at.atomic_ack_eth); ohdr 2461 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 2496 drivers/infiniband/hw/hfi1/rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 2552 drivers/infiniband/hw/hfi1/rc.c static noinline int rc_rcv_error(struct ib_other_headers *ohdr, void *data, ohdr 2622 drivers/infiniband/hw/hfi1/rc.c reth = &ohdr->u.rc.reth; ohdr 2813 drivers/infiniband/hw/hfi1/rc.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 2816 drivers/infiniband/hw/hfi1/rc.c u32 psn = ib_bth_get_psn(packet->ohdr); ohdr 2834 drivers/infiniband/hw/hfi1/rc.c opfn_trigger_conn_request(qp, be32_to_cpu(ohdr->bth[1])); ohdr 2851 drivers/infiniband/hw/hfi1/rc.c if (rc_rcv_error(ohdr, data, qp, opcode, psn, diff, rcd)) ohdr 2947 drivers/infiniband/hw/hfi1/rc.c wc.ex.imm_data = ohdr->u.imm_data; ohdr 2952 drivers/infiniband/hw/hfi1/rc.c rkey = be32_to_cpu(ohdr->u.ieth); ohdr 3008 drivers/infiniband/hw/hfi1/rc.c rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); ohdr 3019 drivers/infiniband/hw/hfi1/rc.c reth = &ohdr->u.rc.reth; ohdr 3053 drivers/infiniband/hw/hfi1/rc.c wc.ex.imm_data = ohdr->u.rc.imm_data; ohdr 3076 drivers/infiniband/hw/hfi1/rc.c reth = &ohdr->u.rc.reth; ohdr 3127 drivers/infiniband/hw/hfi1/rc.c struct ib_atomic_eth *ateth = &ohdr->u.atomic_eth; ohdr 3264 drivers/infiniband/hw/hfi1/rc.c psn = ib_bth_get_psn(packet->ohdr); ohdr 3265 drivers/infiniband/hw/hfi1/rc.c opcode = ib_bth_get_opcode(packet->ohdr); ohdr 250 drivers/infiniband/hw/hfi1/ruc.c struct ib_other_headers *ohdr, ohdr 253 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 254 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[1] = cpu_to_be32(bth1); ohdr 255 drivers/infiniband/hw/hfi1/ruc.c ohdr->bth[2] = cpu_to_be32(bth2); ohdr 273 drivers/infiniband/hw/hfi1/ruc.c struct ib_other_headers *ohdr, ohdr 329 drivers/infiniband/hw/hfi1/ruc.c hfi1_make_ruc_bth(qp, ohdr, bth0, bth1, bth2); ohdr 361 drivers/infiniband/hw/hfi1/ruc.c struct ib_other_headers *ohdr, ohdr 406 drivers/infiniband/hw/hfi1/ruc.c hfi1_make_ruc_bth(qp, ohdr, bth0, bth1, bth2); ohdr 416 drivers/infiniband/hw/hfi1/ruc.c struct ib_other_headers *ohdr, ohdr 426 drivers/infiniband/hw/hfi1/ruc.c void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, ohdr 448 drivers/infiniband/hw/hfi1/ruc.c hfi1_ruc_header_tbl[priv->hdr_type](qp, ohdr, bth0, bth1, bth2, middle, ohdr 124 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 129 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 1697 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, u32 *bth1, ohdr 1705 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_rdma_read_req *rreq = &ohdr->u.tid_rdma.r_req; ohdr 1719 drivers/infiniband/hw/hfi1/tid_rdma.c memset(&ohdr->u.tid_rdma.r_req, 0, sizeof(ohdr->u.tid_rdma.r_req)); ohdr 1773 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.r_req) / sizeof(u32); ohdr 1781 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, u32 *bth1, ohdr 1872 drivers/infiniband/hw/hfi1/tid_rdma.c hdwords = hfi1_build_tid_rdma_read_packet(wqe, ohdr, bth1, bth2, len); ohdr 1885 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 1934 drivers/infiniband/hw/hfi1/tid_rdma.c flow->tid_qpn = be32_to_cpu(ohdr->u.tid_rdma.r_req.tid_flow_qp); ohdr 1937 drivers/infiniband/hw/hfi1/tid_rdma.c flow_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_req.tid_flow_psn)); ohdr 1979 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 2024 drivers/infiniband/hw/hfi1/tid_rdma.c reth = &ohdr->u.tid_rdma.r_req.reth; ohdr 2054 drivers/infiniband/hw/hfi1/tid_rdma.c bth0 = be32_to_cpu(ohdr->bth[0]); ohdr 2055 drivers/infiniband/hw/hfi1/tid_rdma.c if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, ohdr 2226 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 2238 drivers/infiniband/hw/hfi1/tid_rdma.c bth0 = be32_to_cpu(ohdr->bth[0]); ohdr 2243 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 2252 drivers/infiniband/hw/hfi1/tid_rdma.c reth = &ohdr->u.tid_rdma.r_req.reth; ohdr 2261 drivers/infiniband/hw/hfi1/tid_rdma.c tid_rdma_rcv_err(packet, ohdr, qp, psn, diff, fecn); ohdr 2288 drivers/infiniband/hw/hfi1/tid_rdma.c if (tid_rdma_rcv_read_request(qp, e, packet, ohdr, bth0, psn, vaddr, ohdr 2338 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, u32 *bth0, ohdr 2347 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_rdma_read_resp *resp = &ohdr->u.tid_rdma.r_rsp; ohdr 2401 drivers/infiniband/hw/hfi1/tid_rdma.c hdwords = sizeof(ohdr->u.tid_rdma.r_rsp) / sizeof(u32); ohdr 2444 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 2457 drivers/infiniband/hw/hfi1/tid_rdma.c kpsn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 2458 drivers/infiniband/hw/hfi1/tid_rdma.c aeth = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.aeth); ohdr 2459 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; ohdr 2462 drivers/infiniband/hw/hfi1/tid_rdma.c ipsn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_psn)); ohdr 2847 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = NULL; ohdr 2866 drivers/infiniband/hw/hfi1/tid_rdma.c packet->ohdr = &hdr->u.oth; ohdr 2867 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr = packet->ohdr; ohdr 2871 drivers/infiniband/hw/hfi1/tid_rdma.c qp_num = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_qp) & ohdr 2876 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 2877 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; ohdr 2914 drivers/infiniband/hw/hfi1/tid_rdma.c ibpsn = be32_to_cpu(ohdr->u.tid_rdma.r_rsp.verbs_psn); ohdr 3354 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 3370 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_req.kdeth0, KVER, 0x1); ohdr 3371 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_req.kdeth1, JKEY, remote->jkey); ohdr 3372 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.reth.vaddr = ohdr 3374 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.reth.rkey = ohdr 3376 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.reth.length = cpu_to_be32(*len); ohdr 3377 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_req.verbs_qp = cpu_to_be32(qp->remote_qpn); ohdr 3386 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.w_req) / sizeof(u32); ohdr 3649 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 3661 drivers/infiniband/hw/hfi1/tid_rdma.c bth0 = be32_to_cpu(ohdr->bth[0]); ohdr 3666 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 3675 drivers/infiniband/hw/hfi1/tid_rdma.c reth = &ohdr->u.tid_rdma.w_req.reth; ohdr 3682 drivers/infiniband/hw/hfi1/tid_rdma.c tid_rdma_rcv_err(packet, ohdr, qp, psn, diff, fecn); ohdr 3823 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, u32 *bth1, ohdr 3880 drivers/infiniband/hw/hfi1/tid_rdma.c memset(&ohdr->u.tid_rdma.w_rsp, 0, sizeof(ohdr->u.tid_rdma.w_rsp)); ohdr 3903 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_rsp.kdeth0, KVER, 0x1); ohdr 3904 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.w_rsp.kdeth1, JKEY, remote->jkey); ohdr 3905 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.aeth = rvt_compute_aeth(qp); ohdr 3906 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.tid_flow_psn = ohdr 3911 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.tid_flow_qp = ohdr 3916 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.w_rsp.verbs_qp = cpu_to_be32(qp->remote_qpn); ohdr 3919 drivers/infiniband/hw/hfi1/tid_rdma.c hdwords = sizeof(ohdr->u.tid_rdma.w_rsp) / sizeof(u32); ohdr 4027 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 4040 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 4041 drivers/infiniband/hw/hfi1/tid_rdma.c aeth = be32_to_cpu(ohdr->u.tid_rdma.w_rsp.aeth); ohdr 4042 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; ohdr 4099 drivers/infiniband/hw/hfi1/tid_rdma.c flow->tid_qpn = be32_to_cpu(ohdr->u.tid_rdma.w_rsp.tid_flow_qp); ohdr 4102 drivers/infiniband/hw/hfi1/tid_rdma.c flow_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.w_rsp.tid_flow_psn)); ohdr 4193 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 4203 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_rdma_write_data *wd = &ohdr->u.tid_rdma.w_data; ohdr 4261 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 4272 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 4273 drivers/infiniband/hw/hfi1/tid_rdma.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; ohdr 4414 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, u16 iflow, ohdr 4425 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth1, JKEY, remote->jkey); ohdr 4426 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_qp = cpu_to_be32(qp->remote_qpn); ohdr 4433 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.aeth = rvt_compute_aeth(qp); ohdr 4436 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.aeth = ohdr 4442 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.aeth = rvt_compute_aeth(qp); ohdr 4444 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth0, KVER, 0x1); ohdr 4445 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_qp = ohdr 4451 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_psn = 0; ohdr 4452 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_psn = ohdr 4463 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_psn = ohdr 4474 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.tid_flow_psn = ohdr 4481 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.ack) / sizeof(u32); ohdr 4486 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 4498 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 4499 drivers/infiniband/hw/hfi1/tid_rdma.c aeth = be32_to_cpu(ohdr->u.tid_rdma.ack.aeth); ohdr 4500 drivers/infiniband/hw/hfi1/tid_rdma.c req_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.ack.verbs_psn)); ohdr 4501 drivers/infiniband/hw/hfi1/tid_rdma.c resync_psn = mask_psn(be32_to_cpu(ohdr->u.tid_rdma.ack.tid_flow_psn)); ohdr 4716 drivers/infiniband/hw/hfi1/tid_rdma.c req->r_ack_psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 4831 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, u32 *bth1, ohdr 4842 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth1, JKEY, remote->jkey); ohdr 4843 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr->u.tid_rdma.ack.verbs_qp = cpu_to_be32(qp->remote_qpn); ohdr 4851 drivers/infiniband/hw/hfi1/tid_rdma.c KDETH_RESET(ohdr->u.tid_rdma.ack.kdeth0, KVER, 0x1); ohdr 4853 drivers/infiniband/hw/hfi1/tid_rdma.c return sizeof(ohdr->u.tid_rdma.resync) / sizeof(u32); ohdr 4858 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 4872 drivers/infiniband/hw/hfi1/tid_rdma.c psn = mask_psn(be32_to_cpu(ohdr->bth[2])); ohdr 5001 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr; ohdr 5034 drivers/infiniband/hw/hfi1/tid_rdma.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; ohdr 5037 drivers/infiniband/hw/hfi1/tid_rdma.c make_tid_rdma_ack(qp, ohdr, ps)) ohdr 5097 drivers/infiniband/hw/hfi1/tid_rdma.c last = hfi1_build_tid_rdma_packet(wqe, ohdr, &bth1, &bth2, ohdr 5116 drivers/infiniband/hw/hfi1/tid_rdma.c hwords += sizeof(ohdr->u.tid_rdma.w_data) / sizeof(u32); ohdr 5132 drivers/infiniband/hw/hfi1/tid_rdma.c hwords += hfi1_build_tid_rdma_resync(qp, wqe, ohdr, &bth1, ohdr 5154 drivers/infiniband/hw/hfi1/tid_rdma.c hfi1_make_ruc_header(qp, ohdr, (opcode << 24), bth1, bth2, ohdr 5174 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 5295 drivers/infiniband/hw/hfi1/tid_rdma.c hwords += hfi1_build_tid_rdma_write_ack(qp, e, ohdr, flow, &bth1, ohdr 5303 drivers/infiniband/hw/hfi1/tid_rdma.c hfi1_make_ruc_header(qp, ohdr, (TID_OP(ACK) << 24), bth1, bth2, middle, ohdr 5486 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_other_headers *ohdr, ohdr 5491 drivers/infiniband/hw/hfi1/tid_rdma.c tid_rdma_rcv_error(packet, ohdr, qp, psn, diff); ohdr 245 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, ohdr 248 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, u32 *bth1, ohdr 252 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, u32 *bth0, ohdr 275 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, ohdr 281 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, u32 *bth1, ohdr 290 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, ohdr 296 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, u16 iflow, ohdr 305 drivers/infiniband/hw/hfi1/tid_rdma.h struct ib_other_headers *ohdr, u32 *bth1, ohdr 53 drivers/infiniband/hw/hfi1/trace.c struct ib_other_headers *ohdr; ohdr 57 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.oth; ohdr 59 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.l.oth; ohdr 60 drivers/infiniband/hw/hfi1/trace.c opcode = ib_bth_get_opcode(ohdr); ohdr 67 drivers/infiniband/hw/hfi1/trace.c struct ib_other_headers *ohdr = NULL; ohdr 77 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.oth; ohdr 79 drivers/infiniband/hw/hfi1/trace.c ohdr = &hdr->u.l.oth; ohdr 81 drivers/infiniband/hw/hfi1/trace.c opcode = ib_bth_get_opcode(ohdr); ohdr 157 drivers/infiniband/hw/hfi1/trace.c void hfi1_trace_parse_9b_bth(struct ib_other_headers *ohdr, ohdr 162 drivers/infiniband/hw/hfi1/trace.c *ack = ib_bth_get_ackreq(ohdr); ohdr 163 drivers/infiniband/hw/hfi1/trace.c *becn = ib_bth_get_becn(ohdr); ohdr 164 drivers/infiniband/hw/hfi1/trace.c *fecn = ib_bth_get_fecn(ohdr); ohdr 165 drivers/infiniband/hw/hfi1/trace.c *mig = ib_bth_get_migreq(ohdr); ohdr 166 drivers/infiniband/hw/hfi1/trace.c *se = ib_bth_get_se(ohdr); ohdr 167 drivers/infiniband/hw/hfi1/trace.c *pad = ib_bth_get_pad(ohdr); ohdr 168 drivers/infiniband/hw/hfi1/trace.c *opcode = ib_bth_get_opcode(ohdr); ohdr 169 drivers/infiniband/hw/hfi1/trace.c *tver = ib_bth_get_tver(ohdr); ohdr 170 drivers/infiniband/hw/hfi1/trace.c *pkey = ib_bth_get_pkey(ohdr); ohdr 171 drivers/infiniband/hw/hfi1/trace.c *psn = mask_psn(ib_bth_get_psn(ohdr)); ohdr 172 drivers/infiniband/hw/hfi1/trace.c *qpn = ib_bth_get_qpn(ohdr); ohdr 175 drivers/infiniband/hw/hfi1/trace.c void hfi1_trace_parse_16b_bth(struct ib_other_headers *ohdr, ohdr 180 drivers/infiniband/hw/hfi1/trace.c *ack = ib_bth_get_ackreq(ohdr); ohdr 181 drivers/infiniband/hw/hfi1/trace.c *mig = ib_bth_get_migreq(ohdr); ohdr 182 drivers/infiniband/hw/hfi1/trace.c *opcode = ib_bth_get_opcode(ohdr); ohdr 183 drivers/infiniband/hw/hfi1/trace.c *pad = ib_bth_get_pad(ohdr); ohdr 184 drivers/infiniband/hw/hfi1/trace.c *se = ib_bth_get_se(ohdr); ohdr 185 drivers/infiniband/hw/hfi1/trace.c *tver = ib_bth_get_tver(ohdr); ohdr 186 drivers/infiniband/hw/hfi1/trace.c *psn = mask_psn(ib_bth_get_psn(ohdr)); ohdr 187 drivers/infiniband/hw/hfi1/trace.c *qpn = ib_bth_get_qpn(ohdr); ohdr 115 drivers/infiniband/hw/hfi1/trace_ibhdrs.h void hfi1_trace_parse_9b_bth(struct ib_other_headers *ohdr, ohdr 122 drivers/infiniband/hw/hfi1/trace_ibhdrs.h void hfi1_trace_parse_16b_bth(struct ib_other_headers *ohdr, ohdr 218 drivers/infiniband/hw/hfi1/trace_ibhdrs.h hfi1_trace_parse_16b_bth(packet->ohdr, ohdr 239 drivers/infiniband/hw/hfi1/trace_ibhdrs.h hfi1_trace_parse_9b_bth(packet->ohdr, ohdr 255 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &packet->ohdr->u, ohdr 352 drivers/infiniband/hw/hfi1/trace_ibhdrs.h struct ib_other_headers *ohdr; ohdr 374 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = NULL; ohdr 380 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->opah.u.oth; ohdr 382 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->opah.u.l.oth; ohdr 383 drivers/infiniband/hw/hfi1/trace_ibhdrs.h hfi1_trace_parse_16b_bth(ohdr, ohdr 404 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->ibh.u.oth; ohdr 406 drivers/infiniband/hw/hfi1/trace_ibhdrs.h ohdr = &opah->ibh.u.l.oth; ohdr 407 drivers/infiniband/hw/hfi1/trace_ibhdrs.h hfi1_trace_parse_9b_bth(ohdr, ohdr 424 drivers/infiniband/hw/hfi1/trace_ibhdrs.h &ohdr->u, __get_dynamic_array_len(ehdrs)); ohdr 66 drivers/infiniband/hw/hfi1/uc.c struct ib_other_headers *ohdr; ohdr 99 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; ohdr 101 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; ohdr 107 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; ohdr 109 drivers/infiniband/hw/hfi1/uc.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; ohdr 173 drivers/infiniband/hw/hfi1/uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 185 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.reth.vaddr = ohdr 187 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.reth.rkey = ohdr 189 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.reth.length = cpu_to_be32(len); ohdr 202 drivers/infiniband/hw/hfi1/uc.c ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; ohdr 232 drivers/infiniband/hw/hfi1/uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 258 drivers/infiniband/hw/hfi1/uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 273 drivers/infiniband/hw/hfi1/uc.c hfi1_make_ruc_header(qp, ohdr, bth0 | (qp->s_state << 24), ohdr 311 drivers/infiniband/hw/hfi1/uc.c struct ib_other_headers *ohdr = packet->ohdr; ohdr 327 drivers/infiniband/hw/hfi1/uc.c psn = ib_bth_get_psn(ohdr); ohdr 435 drivers/infiniband/hw/hfi1/uc.c wc.ex.imm_data = ohdr->u.imm_data; ohdr 479 drivers/infiniband/hw/hfi1/uc.c rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); ohdr 490 drivers/infiniband/hw/hfi1/uc.c reth = &ohdr->u.rc.reth; ohdr 515 drivers/infiniband/hw/hfi1/uc.c wc.ex.imm_data = ohdr->u.rc.imm_data; ohdr 530 drivers/infiniband/hw/hfi1/uc.c wc.ex.imm_data = ohdr->u.imm_data; ohdr 267 drivers/infiniband/hw/hfi1/ud.c struct ib_other_headers *ohdr, ohdr 275 drivers/infiniband/hw/hfi1/ud.c ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; ohdr 290 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 291 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(rvt_get_swqe_remote_qpn(wqe)); ohdr 292 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); ohdr 297 drivers/infiniband/hw/hfi1/ud.c ohdr->u.ud.deth[0] = ohdr 300 drivers/infiniband/hw/hfi1/ud.c ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); ohdr 311 drivers/infiniband/hw/hfi1/ud.c struct ib_other_headers *ohdr; ohdr 335 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; ohdr 338 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; ohdr 365 drivers/infiniband/hw/hfi1/ud.c hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, false); ohdr 378 drivers/infiniband/hw/hfi1/ud.c struct ib_other_headers *ohdr; ohdr 431 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; ohdr 434 drivers/infiniband/hw/hfi1/ud.c ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; ohdr 457 drivers/infiniband/hw/hfi1/ud.c hfi1_make_bth_deth(qp, wqe, ohdr, &pkey, extra_bytes, true); ohdr 641 drivers/infiniband/hw/hfi1/ud.c struct ib_other_headers *ohdr; ohdr 660 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.opah.u.l.oth; ohdr 664 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.opah.u.oth; ohdr 671 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 673 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(remote_qpn); ohdr 674 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = 0; /* PSN 0 */ ohdr 703 drivers/infiniband/hw/hfi1/ud.c struct ib_other_headers *ohdr; ohdr 718 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.ibh.u.l.oth; ohdr 722 drivers/infiniband/hw/hfi1/ud.c ohdr = &hdr.ibh.u.oth; ohdr 729 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 731 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[1] = cpu_to_be32(remote_qpn | (1 << IB_BECN_SHIFT)); ohdr 732 drivers/infiniband/hw/hfi1/ud.c ohdr->bth[2] = 0; /* PSN 0 */ ohdr 889 drivers/infiniband/hw/hfi1/ud.c pkey = ib_bth_get_pkey(packet->ohdr); ohdr 896 drivers/infiniband/hw/hfi1/ud.c src_qp = ib_get_sqpn(packet->ohdr); ohdr 897 drivers/infiniband/hw/hfi1/ud.c solicited = ib_bth_is_solicited(packet->ohdr); ohdr 940 drivers/infiniband/hw/hfi1/ud.c ib_get_qkey(packet->ohdr) != qp->qkey)) ohdr 968 drivers/infiniband/hw/hfi1/ud.c wc.ex.imm_data = packet->ohdr->u.ud.imm_data; ohdr 390 drivers/infiniband/hw/hfi1/verbs.c packet->ohdr = &hdr->u.oth; ohdr 393 drivers/infiniband/hw/hfi1/verbs.c opcode = (be32_to_cpu(packet->ohdr->bth[0]) >> 24); ohdr 397 drivers/infiniband/hw/hfi1/verbs.c qp_num = be32_to_cpu(packet->ohdr->u.tid_rdma.r_req.verbs_qp) & ohdr 444 drivers/infiniband/hw/hfi1/verbs.c packet->ohdr = &hdr->u.oth; ohdr 447 drivers/infiniband/hw/hfi1/verbs.c opcode = (be32_to_cpu(packet->ohdr->bth[0]) >> 24); ohdr 451 drivers/infiniband/hw/hfi1/verbs.c qp_num = be32_to_cpu(packet->ohdr->u.tid_rdma.r_rsp.verbs_qp) & ohdr 544 drivers/infiniband/hw/hfi1/verbs.c qp_num = ib_bth_get_qpn(packet->ohdr); ohdr 1258 drivers/infiniband/hw/hfi1/verbs.c struct ib_other_headers *ohdr = NULL; ohdr 1271 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.oth; ohdr 1273 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.l.oth; ohdr 1282 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.l.oth; ohdr 1284 drivers/infiniband/hw/hfi1/verbs.c ohdr = &hdr->u.oth; ohdr 1286 drivers/infiniband/hw/hfi1/verbs.c pkey = ib_bth_get_pkey(ohdr); ohdr 1290 drivers/infiniband/hw/hfi1/verbs.c ps->opcode = ib_bth_get_opcode(ohdr); ohdr 445 drivers/infiniband/hw/hfi1/verbs.h void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, ohdr 486 drivers/infiniband/hw/hfi1/verbs.h static inline bool opa_bth_is_migration(struct ib_other_headers *ohdr) ohdr 488 drivers/infiniband/hw/hfi1/verbs.h return ohdr->bth[1] & cpu_to_be32(OPA_BTH_MIG_REQ); ohdr 302 drivers/infiniband/hw/qib/qib_driver.c struct ib_other_headers *ohdr = NULL; ohdr 327 drivers/infiniband/hw/qib/qib_driver.c ohdr = &hdr->u.oth; ohdr 331 drivers/infiniband/hw/qib/qib_driver.c ohdr = &hdr->u.l.oth; ohdr 341 drivers/infiniband/hw/qib/qib_driver.c opcode = be32_to_cpu(ohdr->bth[0]); ohdr 343 drivers/infiniband/hw/qib/qib_driver.c psn = be32_to_cpu(ohdr->bth[2]); ohdr 346 drivers/infiniband/hw/qib/qib_driver.c qp_num = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; ohdr 377 drivers/infiniband/hw/qib/qib_driver.c be32_to_cpu(ohdr->bth[0])); ohdr 63 drivers/infiniband/hw/qib/qib_rc.c struct ib_other_headers *ohdr, u32 pmtu) ohdr 132 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 141 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.at.aeth = rvt_compute_aeth(qp); ohdr 142 drivers/infiniband/hw/qib/qib_rc.c ib_u64_put(e->atomic_data, &ohdr->u.at.atomic_ack_eth); ohdr 143 drivers/infiniband/hw/qib/qib_rc.c hwords += sizeof(ohdr->u.at) / sizeof(u32); ohdr 162 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 184 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = ohdr 189 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 198 drivers/infiniband/hw/qib/qib_rc.c qib_make_ruc_header(qp, ohdr, bth0, bth2); ohdr 219 drivers/infiniband/hw/qib/qib_rc.c struct ib_other_headers *ohdr; ohdr 231 drivers/infiniband/hw/qib/qib_rc.c ohdr = &priv->s_hdr->u.oth; ohdr 233 drivers/infiniband/hw/qib/qib_rc.c ohdr = &priv->s_hdr->u.l.oth; ohdr 237 drivers/infiniband/hw/qib/qib_rc.c qib_make_rc_ack(dev, qp, ohdr, pmtu)) ohdr 328 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 347 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.vaddr = ohdr 349 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.rkey = ohdr 351 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); ohdr 363 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.imm_data = ohdr 390 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.vaddr = ohdr 392 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.rkey = ohdr 394 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(len); ohdr 396 drivers/infiniband/hw/qib/qib_rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); ohdr 423 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); ohdr 425 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); ohdr 429 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); ohdr 430 drivers/infiniband/hw/qib/qib_rc.c put_ib_ateth_compare(0, &ohdr->u.atomic_eth); ohdr 433 drivers/infiniband/hw/qib/qib_rc.c &ohdr->u.atomic_eth); ohdr 434 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.atomic_eth.rkey = cpu_to_be32( ohdr 491 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 530 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 552 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.vaddr = ohdr 554 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.rkey = ohdr 556 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.rc.reth.length = cpu_to_be32(wqe->length - len); ohdr 558 drivers/infiniband/hw/qib/qib_rc.c hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32); ohdr 581 drivers/infiniband/hw/qib/qib_rc.c qib_make_ruc_header(qp, ohdr, bth0 | (qp->s_state << 24), bth2); ohdr 609 drivers/infiniband/hw/qib/qib_rc.c struct ib_other_headers *ohdr; ohdr 623 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr.u.oth; ohdr 632 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr.u.l.oth; ohdr 640 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = cpu_to_be32((qp->r_msn & IB_MSN_MASK) | ohdr 644 drivers/infiniband/hw/qib/qib_rc.c ohdr->u.aeth = rvt_compute_aeth(qp); ohdr 652 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 653 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); ohdr 654 drivers/infiniband/hw/qib/qib_rc.c ohdr->bth[2] = cpu_to_be32(qp->r_ack_psn & QIB_PSN_MASK); ohdr 883 drivers/infiniband/hw/qib/qib_rc.c struct ib_other_headers *ohdr; ohdr 893 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.oth; ohdr 895 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.l.oth; ohdr 897 drivers/infiniband/hw/qib/qib_rc.c opcode = be32_to_cpu(ohdr->bth[0]) >> 24; ohdr 905 drivers/infiniband/hw/qib/qib_rc.c psn = be32_to_cpu(ohdr->bth[2]); ohdr 1268 drivers/infiniband/hw/qib/qib_rc.c struct ib_other_headers *ohdr, ohdr 1320 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 1346 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 1348 drivers/infiniband/hw/qib/qib_rc.c val = ib_u64_get(&ohdr->u.at.atomic_ack_eth); ohdr 1404 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 1408 drivers/infiniband/hw/qib/qib_rc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ohdr 1433 drivers/infiniband/hw/qib/qib_rc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ohdr 1445 drivers/infiniband/hw/qib/qib_rc.c aeth = be32_to_cpu(ohdr->u.aeth); ohdr 1490 drivers/infiniband/hw/qib/qib_rc.c static int qib_rc_rcv_error(struct ib_other_headers *ohdr, ohdr 1587 drivers/infiniband/hw/qib/qib_rc.c reth = &ohdr->u.rc.reth; ohdr 1715 drivers/infiniband/hw/qib/qib_rc.c struct ib_other_headers *ohdr; ohdr 1729 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.oth; ohdr 1732 drivers/infiniband/hw/qib/qib_rc.c ohdr = &hdr->u.l.oth; ohdr 1736 drivers/infiniband/hw/qib/qib_rc.c opcode = be32_to_cpu(ohdr->bth[0]); ohdr 1740 drivers/infiniband/hw/qib/qib_rc.c psn = be32_to_cpu(ohdr->bth[2]); ohdr 1751 drivers/infiniband/hw/qib/qib_rc.c qib_rc_rcv_resp(ibp, ohdr, data, tlen, qp, opcode, psn, ohdr 1759 drivers/infiniband/hw/qib/qib_rc.c if (qib_rc_rcv_error(ohdr, data, qp, opcode, psn, diff, rcd)) ohdr 1845 drivers/infiniband/hw/qib/qib_rc.c wc.ex.imm_data = ohdr->u.imm_data; ohdr 1856 drivers/infiniband/hw/qib/qib_rc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ohdr 1888 drivers/infiniband/hw/qib/qib_rc.c rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); ohdr 1897 drivers/infiniband/hw/qib/qib_rc.c reth = &ohdr->u.rc.reth; ohdr 1931 drivers/infiniband/hw/qib/qib_rc.c wc.ex.imm_data = ohdr->u.rc.imm_data; ohdr 1958 drivers/infiniband/hw/qib/qib_rc.c reth = &ohdr->u.rc.reth; ohdr 2029 drivers/infiniband/hw/qib/qib_rc.c ateth = &ohdr->u.atomic_eth; ohdr 206 drivers/infiniband/hw/qib/qib_ruc.c void qib_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, ohdr 240 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 241 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); ohdr 242 drivers/infiniband/hw/qib/qib_ruc.c ohdr->bth[2] = cpu_to_be32(bth2); ohdr 51 drivers/infiniband/hw/qib/qib_uc.c struct ib_other_headers *ohdr; ohdr 75 drivers/infiniband/hw/qib/qib_uc.c ohdr = &priv->s_hdr->u.oth; ohdr 77 drivers/infiniband/hw/qib/qib_uc.c ohdr = &priv->s_hdr->u.l.oth; ohdr 118 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 130 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.reth.vaddr = ohdr 132 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.reth.rkey = ohdr 134 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.reth.length = cpu_to_be32(len); ohdr 147 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; ohdr 176 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 201 drivers/infiniband/hw/qib/qib_uc.c ohdr->u.imm_data = wqe->wr.ex.imm_data; ohdr 215 drivers/infiniband/hw/qib/qib_uc.c qib_make_ruc_header(qp, ohdr, bth0 | (qp->s_state << 24), ohdr 240 drivers/infiniband/hw/qib/qib_uc.c struct ib_other_headers *ohdr; ohdr 252 drivers/infiniband/hw/qib/qib_uc.c ohdr = &hdr->u.oth; ohdr 255 drivers/infiniband/hw/qib/qib_uc.c ohdr = &hdr->u.l.oth; ohdr 259 drivers/infiniband/hw/qib/qib_uc.c opcode = be32_to_cpu(ohdr->bth[0]); ohdr 263 drivers/infiniband/hw/qib/qib_uc.c psn = be32_to_cpu(ohdr->bth[2]); ohdr 367 drivers/infiniband/hw/qib/qib_uc.c wc.ex.imm_data = ohdr->u.imm_data; ohdr 377 drivers/infiniband/hw/qib/qib_uc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ohdr 403 drivers/infiniband/hw/qib/qib_uc.c rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); ohdr 414 drivers/infiniband/hw/qib/qib_uc.c reth = &ohdr->u.rc.reth; ohdr 440 drivers/infiniband/hw/qib/qib_uc.c wc.ex.imm_data = ohdr->u.rc.imm_data; ohdr 455 drivers/infiniband/hw/qib/qib_uc.c wc.ex.imm_data = ohdr->u.imm_data; ohdr 461 drivers/infiniband/hw/qib/qib_uc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ohdr 488 drivers/infiniband/hw/qib/qib_uc.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ohdr 233 drivers/infiniband/hw/qib/qib_ud.c struct ib_other_headers *ohdr; ohdr 328 drivers/infiniband/hw/qib/qib_ud.c ohdr = &priv->s_hdr->u.l.oth; ohdr 336 drivers/infiniband/hw/qib/qib_ud.c ohdr = &priv->s_hdr->u.oth; ohdr 340 drivers/infiniband/hw/qib/qib_ud.c ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; ohdr 367 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[0] = cpu_to_be32(bth0); ohdr 371 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[1] = rdma_ah_get_dlid(ah_attr) >= ohdr 376 drivers/infiniband/hw/qib/qib_ud.c ohdr->bth[2] = cpu_to_be32(wqe->psn & QIB_PSN_MASK); ohdr 381 drivers/infiniband/hw/qib/qib_ud.c ohdr->u.ud.deth[0] = ohdr 384 drivers/infiniband/hw/qib/qib_ud.c ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); ohdr 429 drivers/infiniband/hw/qib/qib_ud.c struct ib_other_headers *ohdr; ohdr 440 drivers/infiniband/hw/qib/qib_ud.c ohdr = &hdr->u.oth; ohdr 443 drivers/infiniband/hw/qib/qib_ud.c ohdr = &hdr->u.l.oth; ohdr 446 drivers/infiniband/hw/qib/qib_ud.c qkey = be32_to_cpu(ohdr->u.ud.deth[0]); ohdr 447 drivers/infiniband/hw/qib/qib_ud.c src_qp = be32_to_cpu(ohdr->u.ud.deth[1]) & RVT_QPN_MASK; ohdr 453 drivers/infiniband/hw/qib/qib_ud.c pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ohdr 470 drivers/infiniband/hw/qib/qib_ud.c pkey1 = be32_to_cpu(ohdr->bth[0]); ohdr 507 drivers/infiniband/hw/qib/qib_ud.c opcode = be32_to_cpu(ohdr->bth[0]) >> 24; ohdr 510 drivers/infiniband/hw/qib/qib_ud.c wc.ex.imm_data = ohdr->u.ud.imm_data; ohdr 566 drivers/infiniband/hw/qib/qib_ud.c qib_lookup_pkey(ibp, be32_to_cpu(ohdr->bth[0])) : 0; ohdr 577 drivers/infiniband/hw/qib/qib_ud.c rvt_recv_cq(qp, &wc, ib_bth_is_solicited(ohdr)); ohdr 279 drivers/infiniband/hw/qib/qib_verbs.c struct ib_other_headers *ohdr; ohdr 301 drivers/infiniband/hw/qib/qib_verbs.c ohdr = &hdr->u.oth; ohdr 305 drivers/infiniband/hw/qib/qib_verbs.c ohdr = &hdr->u.l.oth; ohdr 314 drivers/infiniband/hw/qib/qib_verbs.c opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0x7f; ohdr 321 drivers/infiniband/hw/qib/qib_verbs.c qp_num = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; ohdr 327 drivers/infiniband/hw/qib/qib_verbs.h void qib_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr, ohdr 256 include/rdma/ib_hdrs.h static inline u32 ib_get_qkey(struct ib_other_headers *ohdr) ohdr 258 include/rdma/ib_hdrs.h return be32_to_cpu(ohdr->u.ud.deth[0]); ohdr 261 include/rdma/ib_hdrs.h static inline u32 ib_get_sqpn(struct ib_other_headers *ohdr) ohdr 263 include/rdma/ib_hdrs.h return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); ohdr 283 include/rdma/ib_hdrs.h static inline u8 ib_bth_get_pad(struct ib_other_headers *ohdr) ohdr 285 include/rdma/ib_hdrs.h return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & ohdr 289 include/rdma/ib_hdrs.h static inline u16 ib_bth_get_pkey(struct ib_other_headers *ohdr) ohdr 291 include/rdma/ib_hdrs.h return (be32_to_cpu(ohdr->bth[0]) & IB_BTH_PKEY_MASK); ohdr 294 include/rdma/ib_hdrs.h static inline u8 ib_bth_get_opcode(struct ib_other_headers *ohdr) ohdr 296 include/rdma/ib_hdrs.h return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_OPCODE_SHIFT) & ohdr 300 include/rdma/ib_hdrs.h static inline u8 ib_bth_get_ackreq(struct ib_other_headers *ohdr) ohdr 302 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[2]) >> IB_BTH_A_SHIFT) & ohdr 306 include/rdma/ib_hdrs.h static inline u8 ib_bth_get_migreq(struct ib_other_headers *ohdr) ohdr 308 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_M_SHIFT) & ohdr 312 include/rdma/ib_hdrs.h static inline u8 ib_bth_get_se(struct ib_other_headers *ohdr) ohdr 314 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_SE_SHIFT) & ohdr 318 include/rdma/ib_hdrs.h static inline u32 ib_bth_get_psn(struct ib_other_headers *ohdr) ohdr 320 include/rdma/ib_hdrs.h return (u32)(be32_to_cpu(ohdr->bth[2])); ohdr 323 include/rdma/ib_hdrs.h static inline u32 ib_bth_get_qpn(struct ib_other_headers *ohdr) ohdr 325 include/rdma/ib_hdrs.h return (u32)((be32_to_cpu(ohdr->bth[1])) & IB_QPN_MASK); ohdr 328 include/rdma/ib_hdrs.h static inline bool ib_bth_get_becn(struct ib_other_headers *ohdr) ohdr 330 include/rdma/ib_hdrs.h return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); ohdr 333 include/rdma/ib_hdrs.h static inline bool ib_bth_get_fecn(struct ib_other_headers *ohdr) ohdr 335 include/rdma/ib_hdrs.h return (ohdr->bth[1]) & cpu_to_be32(IB_FECN_SMASK); ohdr 338 include/rdma/ib_hdrs.h static inline u8 ib_bth_get_tver(struct ib_other_headers *ohdr) ohdr 340 include/rdma/ib_hdrs.h return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_TVER_SHIFT) & ohdr 344 include/rdma/ib_hdrs.h static inline bool ib_bth_is_solicited(struct ib_other_headers *ohdr) ohdr 346 include/rdma/ib_hdrs.h return ohdr->bth[0] & cpu_to_be32(IB_BTH_SOLICITED); ohdr 349 include/rdma/ib_hdrs.h static inline bool ib_bth_is_migration(struct ib_other_headers *ohdr) ohdr 351 include/rdma/ib_hdrs.h return ohdr->bth[0] & cpu_to_be32(IB_BTH_MIG_REQ);