Home
last modified time | relevance | path

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

/linux-4.1.27/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) & 0x7f; 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,
/linux-4.1.27/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.c237 struct qib_other_headers *ohdr; in qib_make_ud_req() local
331 ohdr = &qp->s_hdr->u.l.oth; in qib_make_ud_req()
339 ohdr = &qp->s_hdr->u.oth; in qib_make_ud_req()
343 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; in qib_make_ud_req()
367 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ud_req()
371 ohdr->bth[1] = ah_attr->dlid >= QIB_MULTICAST_LID_BASE && in qib_make_ud_req()
375 ohdr->bth[2] = cpu_to_be32(qp->s_next_psn++ & QIB_PSN_MASK); in qib_make_ud_req()
380 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->wr.wr.ud.remote_qkey < 0 ? in qib_make_ud_req()
382 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in qib_make_ud_req()
431 struct qib_other_headers *ohdr; in qib_ud_rcv() local
[all …]
Dqib_driver.c307 struct qib_other_headers *ohdr = NULL; in qib_rcv_hdrerr() local
330 ohdr = &hdr->u.oth; in qib_rcv_hdrerr()
334 ohdr = &hdr->u.l.oth; in qib_rcv_hdrerr()
344 opcode = be32_to_cpu(ohdr->bth[0]); in qib_rcv_hdrerr()
346 psn = be32_to_cpu(ohdr->bth[2]); in qib_rcv_hdrerr()
349 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK; in qib_rcv_hdrerr()
377 be32_to_cpu(ohdr->bth[0])); in qib_rcv_hdrerr()
Dqib_ruc.c674 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr, in qib_make_ruc_header() argument
703 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ruc_header()
704 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in qib_make_ruc_header()
705 ohdr->bth[2] = cpu_to_be32(bth2); in qib_make_ruc_header()
Dqib_verbs.c614 struct qib_other_headers *ohdr; in qib_ib_rcv() local
636 ohdr = &hdr->u.oth; in qib_ib_rcv()
640 ohdr = &hdr->u.l.oth; in qib_ib_rcv()
649 opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0x7f; in qib_ib_rcv()
656 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK; in qib_ib_rcv()
Dqib_verbs.h1097 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr,
/linux-4.1.27/net/tipc/
Dmsg.c477 struct tipc_msg ohdr; in tipc_msg_reverse() local
487 memcpy(&ohdr, msg, msg_hdr_sz(msg)); in tipc_msg_reverse()
489 msg_set_origport(msg, msg_destport(&ohdr)); in tipc_msg_reverse()
490 msg_set_destport(msg, msg_origport(&ohdr)); in tipc_msg_reverse()
493 msg_set_orignode(msg, msg_destnode(&ohdr)); in tipc_msg_reverse()
494 msg_set_destnode(msg, msg_orignode(&ohdr)); in tipc_msg_reverse()
499 *dnode = msg_orignode(&ohdr); in tipc_msg_reverse()
/linux-4.1.27/net/ipv6/
Dexthdrs.c736 static int ipv6_renew_option(void *ohdr, in ipv6_renew_option() argument
743 if (ohdr) { in ipv6_renew_option()
744 memcpy(*p, ohdr, ipv6_optlen((struct ipv6_opt_hdr *)ohdr)); in ipv6_renew_option()