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

/drivers/infiniband/hw/ipath/
H A Dipath_rc.c79 * @ohdr: a pointer to the IB header being constructed
87 struct ipath_other_headers *ohdr, u32 pmtu)
137 ohdr->u.aeth = ipath_compute_aeth(qp);
146 ohdr->u.at.aeth = ipath_compute_aeth(qp);
147 ohdr->u.at.atomic_ack_eth[0] =
149 ohdr->u.at.atomic_ack_eth[1] =
151 hwords += sizeof(ohdr->u.at) / sizeof(u32);
166 ohdr->u.aeth = ipath_compute_aeth(qp);
187 ohdr->u.aeth =
192 ohdr
86 ipath_make_rc_ack(struct ipath_ibdev *dev, struct ipath_qp *qp, struct ipath_other_headers *ohdr, u32 pmtu) argument
216 struct ipath_other_headers *ohdr; local
621 struct ipath_other_headers *ohdr; local
1117 ipath_rc_rcv_resp(struct ipath_ibdev *dev, struct ipath_other_headers *ohdr, void *data, u32 tlen, struct ipath_qp *qp, u32 opcode, u32 psn, u32 hdrsize, u32 pmtu, int header_in_data) argument
1335 ipath_rc_rcv_error(struct ipath_ibdev *dev, struct ipath_other_headers *ohdr, void *data, struct ipath_qp *qp, u32 opcode, u32 psn, int diff, int header_in_data) argument
1573 struct ipath_other_headers *ohdr; local
[all...]
H A Dipath_uc.c48 struct ipath_other_headers *ohdr; local
75 ohdr = &qp->s_hdr.u.oth;
77 ohdr = &qp->s_hdr.u.l.oth;
116 ohdr->u.imm_data = wqe->wr.ex.imm_data;
128 ohdr->u.rc.reth.vaddr =
130 ohdr->u.rc.reth.rkey =
132 ohdr->u.rc.reth.length = cpu_to_be32(len);
145 ohdr->u.rc.imm_data = wqe->wr.ex.imm_data;
174 ohdr->u.imm_data = wqe->wr.ex.imm_data;
199 ohdr
243 struct ipath_other_headers *ohdr; local
[all...]
H A Dipath_ud.c244 struct ipath_other_headers *ohdr; local
333 ohdr = &qp->s_hdr.u.l.oth;
341 ohdr = &qp->s_hdr.u.oth;
345 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data;
368 ohdr->bth[0] = cpu_to_be32(bth0);
372 ohdr->bth[1] = ah_attr->dlid >= IPATH_MULTICAST_LID_BASE &&
376 ohdr->bth[2] = cpu_to_be32(qp->s_next_psn++ & IPATH_PSN_MASK);
381 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->wr.wr.ud.remote_qkey < 0 ?
383 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num);
412 struct ipath_other_headers *ohdr; local
[all...]
H A Dipath_ruc.c601 struct ipath_other_headers *ohdr,
626 ohdr->bth[0] = cpu_to_be32(bth0 | (1 << 22));
627 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn);
628 ohdr->bth[2] = cpu_to_be32(bth2);
600 ipath_make_ruc_header(struct ipath_ibdev *dev, struct ipath_qp *qp, struct ipath_other_headers *ohdr, u32 bth0, u32 bth2) argument
H A Dipath_verbs.c587 struct ipath_other_headers *ohdr; local
615 ohdr = &hdr->u.oth;
617 ohdr = &hdr->u.l.oth;
623 opcode = be32_to_cpu(ohdr->bth[0]) >> 24;
628 qp_num = be32_to_cpu(ohdr->bth[1]) & IPATH_QPN_MASK;
H A Dipath_verbs.h866 struct ipath_other_headers *ohdr,
/drivers/infiniband/hw/qib/
H A Dqib_uc.c48 struct qib_other_headers *ohdr; local
75 ohdr = &qp->s_hdr.u.oth;
77 ohdr = &qp->s_hdr.u.l.oth;
119 ohdr->u.imm_data = wqe->wr.ex.imm_data;
131 ohdr->u.rc.reth.vaddr =
133 ohdr->u.rc.reth.rkey =
135 ohdr->u.rc.reth.length = cpu_to_be32(len);
148 ohdr->u.rc.imm_data = wqe->wr.ex.imm_data;
177 ohdr->u.imm_data = wqe->wr.ex.imm_data;
202 ohdr
245 struct qib_other_headers *ohdr; local
[all...]
H A Dqib_ud.c234 struct qib_other_headers *ohdr; local
328 ohdr = &qp->s_hdr.u.l.oth;
336 ohdr = &qp->s_hdr.u.oth;
340 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data;
364 ohdr->bth[0] = cpu_to_be32(bth0);
368 ohdr->bth[1] = ah_attr->dlid >= QIB_MULTICAST_LID_BASE &&
372 ohdr->bth[2] = cpu_to_be32(qp->s_next_psn++ & QIB_PSN_MASK);
377 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->wr.wr.ud.remote_qkey < 0 ?
379 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num);
428 struct qib_other_headers *ohdr; local
[all...]
H A Dqib_rc.c70 * @ohdr: a pointer to the IB header being constructed
78 struct qib_other_headers *ohdr, u32 pmtu)
147 ohdr->u.aeth = qib_compute_aeth(qp);
156 ohdr->u.at.aeth = qib_compute_aeth(qp);
157 ohdr->u.at.atomic_ack_eth[0] =
159 ohdr->u.at.atomic_ack_eth[1] =
161 hwords += sizeof(ohdr->u.at) / sizeof(u32);
180 ohdr->u.aeth = qib_compute_aeth(qp);
202 ohdr->u.aeth =
207 ohdr
77 qib_make_rc_ack(struct qib_ibdev *dev, struct qib_qp *qp, struct qib_other_headers *ohdr, u32 pmtu) argument
234 struct qib_other_headers *ohdr; local
660 struct qib_other_headers *ohdr; local
971 struct qib_other_headers *ohdr; local
1397 qib_rc_rcv_resp(struct qib_ibport *ibp, struct qib_other_headers *ohdr, void *data, u32 tlen, struct qib_qp *qp, u32 opcode, u32 psn, u32 hdrsize, u32 pmtu, struct qib_ctxtdata *rcd) argument
1622 qib_rc_rcv_error(struct qib_other_headers *ohdr, void *data, struct qib_qp *qp, u32 opcode, u32 psn, int diff, struct qib_ctxtdata *rcd) argument
1866 struct qib_other_headers *ohdr; local
[all...]
H A Dqib_driver.c304 struct qib_other_headers *ohdr = NULL; local
327 ohdr = &hdr->u.oth;
331 ohdr = &hdr->u.l.oth;
341 opcode = be32_to_cpu(ohdr->bth[0]);
343 psn = be32_to_cpu(ohdr->bth[2]);
346 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK;
373 be32_to_cpu(ohdr->bth[0]));
H A Dqib_ruc.c678 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr, argument
707 ohdr->bth[0] = cpu_to_be32(bth0);
708 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn);
709 ohdr->bth[2] = cpu_to_be32(bth2);
H A Dqib_verbs.c604 struct qib_other_headers *ohdr; local
626 ohdr = &hdr->u.oth;
630 ohdr = &hdr->u.l.oth;
639 opcode = be32_to_cpu(ohdr->bth[0]) >> 24;
644 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK;
H A Dqib_verbs.h1019 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr,

Completed in 760 milliseconds