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