Lines Matching refs:ohdr

279 			packet->ohdr = &rhdr->u.oth;
281 packet->ohdr = &rhdr->u.l.oth;
311 qp_num = ib_bth_get_qpn(packet->ohdr);
362 opcode = ib_bth_get_opcode(packet->ohdr);
376 lqpn = ib_bth_get_qpn(packet->ohdr);
453 struct ib_other_headers *ohdr = pkt->ohdr;
469 opcode = ib_bth_get_opcode(ohdr);
474 pkey = ib_bth_get_pkey(ohdr);
481 opcode = ib_bth_get_opcode(ohdr);
483 fecn = ib_bth_get_fecn(ohdr);
484 becn = ib_bth_get_becn(ohdr);
490 rqpn = ib_get_sqpn(pkt->ohdr);
496 rqpn = ib_get_sqpn(pkt->ohdr);
531 u32 lqpn = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK;
649 packet->ohdr = &hdr->u.oth;
652 packet->ohdr = &hdr->u.l.oth;
661 bth1 = be32_to_cpu(packet->ohdr->bth[1]);
676 packet->ohdr->bth[1] = cpu_to_be32(bth1);
1531 packet->ohdr = &hdr->u.oth;
1536 packet->ohdr = &hdr->u.l.oth;
1549 packet->opcode = ib_bth_get_opcode(packet->ohdr);
1558 packet->pad = ib_bth_get_pad(packet->ohdr);
1560 packet->pkey = ib_bth_get_pkey(packet->ohdr);
1561 packet->migrated = ib_bth_is_migration(packet->ohdr);
1591 packet->ohdr = packet->ebuf;
1593 packet->opcode = ib_bth_get_opcode(packet->ohdr);
1594 packet->pad = hfi1_16B_bth_get_pad(packet->ohdr);
1598 packet->migrated = opa_bth_is_migration(packet->ohdr);
1603 packet->ohdr = packet->ebuf + grh_len;
1605 packet->opcode = ib_bth_get_opcode(packet->ohdr);
1606 packet->pad = hfi1_16B_bth_get_pad(packet->ohdr);
1610 packet->migrated = opa_bth_is_migration(packet->ohdr);
1619 packet->ohdr = NULL;
1697 packet->ohdr = &((struct ib_header *)packet->hdr)->u.oth;
1705 qpnum = ib_bth_get_qpn(packet->ohdr);
1728 extra_bytes = ib_bth_get_pad(packet->ohdr) + (SIZE_OF_CRC << 2) +
1917 packet.ohdr = &hdr->u.oth;
1919 packet.ohdr = &hdr->u.l.oth;
1923 opcode = (be32_to_cpu(packet.ohdr->bth[0]) >> 24);
1924 qpn = be32_to_cpu(packet.ohdr->bth[1]) & RVT_QPN_MASK;
1925 psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2]));