Home
last modified time | relevance | path

Searched refs:ohdr (Results 1 – 13 of 13) sorted by relevance

/drivers/infiniband/hw/ipath/
Dipath_uc.c48 struct ipath_other_headers *ohdr; in ipath_make_uc_req() local
75 ohdr = &qp->s_hdr.u.oth; in ipath_make_uc_req()
77 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_uc_req()
116 ohdr->u.imm_data = wqe->wr.ex.imm_data; in ipath_make_uc_req()
128 ohdr->u.rc.reth.vaddr = in ipath_make_uc_req()
130 ohdr->u.rc.reth.rkey = in ipath_make_uc_req()
132 ohdr->u.rc.reth.length = cpu_to_be32(len); in ipath_make_uc_req()
145 ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; in ipath_make_uc_req()
174 ohdr->u.imm_data = wqe->wr.ex.imm_data; in ipath_make_uc_req()
199 ohdr->u.imm_data = wqe->wr.ex.imm_data; in ipath_make_uc_req()
[all …]
Dipath_rc.c87 struct ipath_other_headers *ohdr, u32 pmtu) in ipath_make_rc_ack() argument
137 ohdr->u.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
146 ohdr->u.at.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
147 ohdr->u.at.atomic_ack_eth[0] = in ipath_make_rc_ack()
149 ohdr->u.at.atomic_ack_eth[1] = in ipath_make_rc_ack()
151 hwords += sizeof(ohdr->u.at) / sizeof(u32); in ipath_make_rc_ack()
166 ohdr->u.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
187 ohdr->u.aeth = in ipath_make_rc_ack()
192 ohdr->u.aeth = ipath_compute_aeth(qp); in ipath_make_rc_ack()
200 ipath_make_ruc_header(dev, qp, ohdr, bth0, bth2); in ipath_make_rc_ack()
[all …]
Dipath_ud.c244 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
[all …]
Dipath_ruc.c601 struct ipath_other_headers *ohdr, in ipath_make_ruc_header() argument
626 ohdr->bth[0] = cpu_to_be32(bth0 | (1 << 22)); in ipath_make_ruc_header()
627 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in ipath_make_ruc_header()
628 ohdr->bth[2] = cpu_to_be32(bth2); in ipath_make_ruc_header()
Dipath_verbs.c587 struct ipath_other_headers *ohdr; in ipath_ib_rcv() local
615 ohdr = &hdr->u.oth; in ipath_ib_rcv()
617 ohdr = &hdr->u.l.oth; in ipath_ib_rcv()
623 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_ib_rcv()
628 qp_num = be32_to_cpu(ohdr->bth[1]) & IPATH_QPN_MASK; in ipath_ib_rcv()
Dipath_verbs.h866 struct ipath_other_headers *ohdr,
/drivers/infiniband/hw/qib/
Dqib_uc.c48 struct qib_other_headers *ohdr; in qib_make_uc_req() local
75 ohdr = &qp->s_hdr.u.oth; in qib_make_uc_req()
77 ohdr = &qp->s_hdr.u.l.oth; in qib_make_uc_req()
119 ohdr->u.imm_data = wqe->wr.ex.imm_data; in qib_make_uc_req()
131 ohdr->u.rc.reth.vaddr = in qib_make_uc_req()
133 ohdr->u.rc.reth.rkey = in qib_make_uc_req()
135 ohdr->u.rc.reth.length = cpu_to_be32(len); in qib_make_uc_req()
148 ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; in qib_make_uc_req()
177 ohdr->u.imm_data = wqe->wr.ex.imm_data; in qib_make_uc_req()
202 ohdr->u.imm_data = wqe->wr.ex.imm_data; in qib_make_uc_req()
[all …]
Dqib_rc.c78 struct qib_other_headers *ohdr, u32 pmtu) in qib_make_rc_ack() argument
147 ohdr->u.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
156 ohdr->u.at.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
157 ohdr->u.at.atomic_ack_eth[0] = in qib_make_rc_ack()
159 ohdr->u.at.atomic_ack_eth[1] = in qib_make_rc_ack()
161 hwords += sizeof(ohdr->u.at) / sizeof(u32); in qib_make_rc_ack()
180 ohdr->u.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
202 ohdr->u.aeth = in qib_make_rc_ack()
207 ohdr->u.aeth = qib_compute_aeth(qp); in qib_make_rc_ack()
216 qib_make_ruc_header(qp, ohdr, bth0, bth2); in qib_make_rc_ack()
[all …]
Dqib_ud.c234 struct qib_other_headers *ohdr; in qib_make_ud_req() local
328 ohdr = &qp->s_hdr.u.l.oth; in qib_make_ud_req()
336 ohdr = &qp->s_hdr.u.oth; in qib_make_ud_req()
340 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; in qib_make_ud_req()
364 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ud_req()
368 ohdr->bth[1] = ah_attr->dlid >= QIB_MULTICAST_LID_BASE && in qib_make_ud_req()
372 ohdr->bth[2] = cpu_to_be32(qp->s_next_psn++ & QIB_PSN_MASK); in qib_make_ud_req()
377 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->wr.wr.ud.remote_qkey < 0 ? in qib_make_ud_req()
379 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in qib_make_ud_req()
428 struct qib_other_headers *ohdr; in qib_ud_rcv() local
[all …]
Dqib_driver.c304 struct qib_other_headers *ohdr = NULL; in qib_rcv_hdrerr() local
327 ohdr = &hdr->u.oth; in qib_rcv_hdrerr()
331 ohdr = &hdr->u.l.oth; in qib_rcv_hdrerr()
341 opcode = be32_to_cpu(ohdr->bth[0]); in qib_rcv_hdrerr()
343 psn = be32_to_cpu(ohdr->bth[2]); in qib_rcv_hdrerr()
346 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK; in qib_rcv_hdrerr()
373 be32_to_cpu(ohdr->bth[0])); in qib_rcv_hdrerr()
Dqib_ruc.c678 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr, in qib_make_ruc_header() argument
707 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ruc_header()
708 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in qib_make_ruc_header()
709 ohdr->bth[2] = cpu_to_be32(bth2); in qib_make_ruc_header()
Dqib_verbs.c604 struct qib_other_headers *ohdr; in qib_ib_rcv() local
626 ohdr = &hdr->u.oth; in qib_ib_rcv()
630 ohdr = &hdr->u.l.oth; in qib_ib_rcv()
639 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_ib_rcv()
644 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK; in qib_ib_rcv()
Dqib_verbs.h1019 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr,