Lines Matching refs:ohdr
232 packet->ohdr = &rhdr->u.oth;
234 packet->ohdr = &rhdr->u.l.oth;
264 qp_num = ib_bth_get_qpn(packet->ohdr);
315 opcode = ib_bth_get_opcode(packet->ohdr);
329 lqpn = ib_bth_get_qpn(packet->ohdr);
406 struct ib_other_headers *ohdr = pkt->ohdr;
422 opcode = ib_bth_get_opcode(ohdr);
427 pkey = ib_bth_get_pkey(ohdr);
434 opcode = ib_bth_get_opcode(ohdr);
436 fecn = ib_bth_get_fecn(ohdr);
437 becn = ib_bth_get_becn(ohdr);
443 rqpn = ib_get_sqpn(pkt->ohdr);
449 rqpn = ib_get_sqpn(pkt->ohdr);
484 u32 lqpn = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK;
602 packet->ohdr = &hdr->u.oth;
605 packet->ohdr = &hdr->u.l.oth;
614 bth1 = be32_to_cpu(packet->ohdr->bth[1]);
629 packet->ohdr->bth[1] = cpu_to_be32(bth1);
1484 packet->ohdr = &hdr->u.oth;
1489 packet->ohdr = &hdr->u.l.oth;
1502 packet->opcode = ib_bth_get_opcode(packet->ohdr);
1511 packet->pad = ib_bth_get_pad(packet->ohdr);
1513 packet->pkey = ib_bth_get_pkey(packet->ohdr);
1514 packet->migrated = ib_bth_is_migration(packet->ohdr);
1544 packet->ohdr = packet->ebuf;
1546 packet->opcode = ib_bth_get_opcode(packet->ohdr);
1547 packet->pad = hfi1_16B_bth_get_pad(packet->ohdr);
1551 packet->migrated = opa_bth_is_migration(packet->ohdr);
1556 packet->ohdr = packet->ebuf + grh_len;
1558 packet->opcode = ib_bth_get_opcode(packet->ohdr);
1559 packet->pad = hfi1_16B_bth_get_pad(packet->ohdr);
1563 packet->migrated = opa_bth_is_migration(packet->ohdr);
1572 packet->ohdr = NULL;
1649 packet->ohdr = &((struct ib_header *)packet->hdr)->u.oth;
1657 qpnum = ib_bth_get_qpn(packet->ohdr);
1680 extra_bytes = ib_bth_get_pad(packet->ohdr) + (SIZE_OF_CRC << 2) +
1868 packet.ohdr = &hdr->u.oth;
1870 packet.ohdr = &hdr->u.l.oth;
1874 opcode = (be32_to_cpu(packet.ohdr->bth[0]) >> 24);
1875 qpn = be32_to_cpu(packet.ohdr->bth[1]) & RVT_QPN_MASK;
1876 psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2]));