Lines Matching refs:ohdr

277 			packet->ohdr = &rhdr->u.oth;  in rcv_hdrerr()
279 packet->ohdr = &rhdr->u.l.oth; in rcv_hdrerr()
309 qp_num = ib_bth_get_qpn(packet->ohdr); in rcv_hdrerr()
360 opcode = ib_bth_get_opcode(packet->ohdr); in rcv_hdrerr()
374 lqpn = ib_bth_get_qpn(packet->ohdr); in rcv_hdrerr()
438 struct ib_other_headers *ohdr = pkt->ohdr; in hfi1_process_ecn_slowpath() local
457 pkey = ib_bth_get_pkey(ohdr); in hfi1_process_ecn_slowpath()
468 rqpn = ib_get_sqpn(pkt->ohdr); in hfi1_process_ecn_slowpath()
474 rqpn = ib_get_sqpn(pkt->ohdr); in hfi1_process_ecn_slowpath()
491 bth1 = be32_to_cpu(ohdr->bth[1]); in hfi1_process_ecn_slowpath()
619 packet->ohdr = &hdr->u.oth; in __prescan_rxq()
622 packet->ohdr = &hdr->u.l.oth; in __prescan_rxq()
628 bth1 = be32_to_cpu(packet->ohdr->bth[1]); in __prescan_rxq()
648 packet->ohdr->bth[1] = cpu_to_be32(bth1); in __prescan_rxq()
1431 packet->ohdr = &hdr->u.oth; in hfi1_setup_9B_packet()
1436 packet->ohdr = &hdr->u.l.oth; in hfi1_setup_9B_packet()
1449 packet->opcode = ib_bth_get_opcode(packet->ohdr); in hfi1_setup_9B_packet()
1458 packet->pad = ib_bth_get_pad(packet->ohdr); in hfi1_setup_9B_packet()
1460 packet->pkey = ib_bth_get_pkey(packet->ohdr); in hfi1_setup_9B_packet()
1461 packet->migrated = ib_bth_is_migration(packet->ohdr); in hfi1_setup_9B_packet()
1491 packet->ohdr = packet->ebuf; in hfi1_setup_bypass_packet()
1493 packet->opcode = ib_bth_get_opcode(packet->ohdr); in hfi1_setup_bypass_packet()
1494 packet->pad = hfi1_16B_bth_get_pad(packet->ohdr); in hfi1_setup_bypass_packet()
1498 packet->migrated = opa_bth_is_migration(packet->ohdr); in hfi1_setup_bypass_packet()
1503 packet->ohdr = packet->ebuf + grh_len; in hfi1_setup_bypass_packet()
1505 packet->opcode = ib_bth_get_opcode(packet->ohdr); in hfi1_setup_bypass_packet()
1506 packet->pad = hfi1_16B_bth_get_pad(packet->ohdr); in hfi1_setup_bypass_packet()
1510 packet->migrated = opa_bth_is_migration(packet->ohdr); in hfi1_setup_bypass_packet()
1519 packet->ohdr = NULL; in hfi1_setup_bypass_packet()
1745 packet.ohdr = &hdr->u.oth; in seqfile_dump_rcd()
1747 packet.ohdr = &hdr->u.l.oth; in seqfile_dump_rcd()
1751 opcode = (be32_to_cpu(packet.ohdr->bth[0]) >> 24); in seqfile_dump_rcd()
1752 qpn = be32_to_cpu(packet.ohdr->bth[1]) & RVT_QPN_MASK; in seqfile_dump_rcd()
1753 psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); in seqfile_dump_rcd()