Lines Matching refs:ohdr
244 struct ipath_other_headers *ohdr; in ipath_make_ud_req() local
333 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_ud_req()
341 ohdr = &qp->s_hdr.u.oth; in ipath_make_ud_req()
345 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; in ipath_make_ud_req()
368 ohdr->bth[0] = cpu_to_be32(bth0); in ipath_make_ud_req()
372 ohdr->bth[1] = ah_attr->dlid >= IPATH_MULTICAST_LID_BASE && in ipath_make_ud_req()
376 ohdr->bth[2] = cpu_to_be32(qp->s_next_psn++ & IPATH_PSN_MASK); in ipath_make_ud_req()
381 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->wr.wr.ud.remote_qkey < 0 ? in ipath_make_ud_req()
383 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in ipath_make_ud_req()
412 struct ipath_other_headers *ohdr; in ipath_ud_rcv() local
424 ohdr = &hdr->u.oth; in ipath_ud_rcv()
426 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv()
427 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]); in ipath_ud_rcv()
430 ohdr = &hdr->u.l.oth; in ipath_ud_rcv()
443 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in ipath_ud_rcv()
444 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]); in ipath_ud_rcv()
479 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_ud_rcv()
486 wc.ex.imm_data = ohdr->u.ud.imm_data; in ipath_ud_rcv()
498 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_ud_rcv()
576 (ohdr->bth[0] & in ipath_ud_rcv()