/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 48 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 …]
|
D | qib_rc.c | 78 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 …]
|
D | qib_ud.c | 237 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->ud_wr.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 …]
|
D | qib_driver.c | 307 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()
|
D | qib_ruc.c | 675 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr, in qib_make_ruc_header() argument 704 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ruc_header() 705 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in qib_make_ruc_header() 706 ohdr->bth[2] = cpu_to_be32(bth2); in qib_make_ruc_header()
|
D | qib_verbs.c | 630 struct qib_other_headers *ohdr; in qib_ib_rcv() local 652 ohdr = &hdr->u.oth; in qib_ib_rcv() 656 ohdr = &hdr->u.l.oth; in qib_ib_rcv() 665 opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0x7f; in qib_ib_rcv() 672 qp_num = be32_to_cpu(ohdr->bth[1]) & QIB_QPN_MASK; in qib_ib_rcv()
|
D | qib_verbs.h | 1109 void qib_make_ruc_header(struct qib_qp *qp, struct qib_other_headers *ohdr,
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_uc.c | 48 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 …]
|
D | ipath_rc.c | 87 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 …]
|
D | ipath_ud.c | 243 struct ipath_other_headers *ohdr; in ipath_make_ud_req() local 332 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_ud_req() 340 ohdr = &qp->s_hdr.u.oth; in ipath_make_ud_req() 344 ohdr->u.ud.imm_data = wqe->ud_wr.wr.ex.imm_data; in ipath_make_ud_req() 367 ohdr->bth[0] = cpu_to_be32(bth0); in ipath_make_ud_req() 371 ohdr->bth[1] = ah_attr->dlid >= IPATH_MULTICAST_LID_BASE && in ipath_make_ud_req() 375 ohdr->bth[2] = cpu_to_be32(qp->s_next_psn++ & IPATH_PSN_MASK); in ipath_make_ud_req() 380 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->ud_wr.remote_qkey < 0 ? in ipath_make_ud_req() 382 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in ipath_make_ud_req() 411 struct ipath_other_headers *ohdr; in ipath_ud_rcv() local [all …]
|
D | ipath_ruc.c | 600 struct ipath_other_headers *ohdr, in ipath_make_ruc_header() argument 625 ohdr->bth[0] = cpu_to_be32(bth0 | (1 << 22)); in ipath_make_ruc_header() 626 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in ipath_make_ruc_header() 627 ohdr->bth[2] = cpu_to_be32(bth2); in ipath_make_ruc_header()
|
D | ipath_verbs.c | 600 struct ipath_other_headers *ohdr; in ipath_ib_rcv() local 628 ohdr = &hdr->u.oth; in ipath_ib_rcv() 630 ohdr = &hdr->u.l.oth; in ipath_ib_rcv() 636 opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0x7f; in ipath_ib_rcv() 641 qp_num = be32_to_cpu(ohdr->bth[1]) & IPATH_QPN_MASK; in ipath_ib_rcv()
|
D | ipath_verbs.h | 875 struct ipath_other_headers *ohdr,
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | uc.c | 66 struct hfi1_other_headers *ohdr; in hfi1_make_uc_req() local 95 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_uc_req() 97 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_uc_req() 137 ohdr->u.imm_data = wqe->wr.ex.imm_data; in hfi1_make_uc_req() 149 ohdr->u.rc.reth.vaddr = in hfi1_make_uc_req() 151 ohdr->u.rc.reth.rkey = in hfi1_make_uc_req() 153 ohdr->u.rc.reth.length = cpu_to_be32(len); in hfi1_make_uc_req() 166 ohdr->u.rc.imm_data = wqe->wr.ex.imm_data; in hfi1_make_uc_req() 196 ohdr->u.imm_data = wqe->wr.ex.imm_data; in hfi1_make_uc_req() 222 ohdr->u.imm_data = wqe->wr.ex.imm_data; in hfi1_make_uc_req() [all …]
|
D | rc.c | 98 struct hfi1_other_headers *ohdr, u32 pmtu) in make_rc_ack() argument 168 ohdr->u.aeth = hfi1_compute_aeth(qp); in make_rc_ack() 177 ohdr->u.at.aeth = hfi1_compute_aeth(qp); in make_rc_ack() 178 ohdr->u.at.atomic_ack_eth[0] = in make_rc_ack() 180 ohdr->u.at.atomic_ack_eth[1] = in make_rc_ack() 182 hwords += sizeof(ohdr->u.at) / sizeof(u32); in make_rc_ack() 202 ohdr->u.aeth = hfi1_compute_aeth(qp); in make_rc_ack() 224 ohdr->u.aeth = in make_rc_ack() 229 ohdr->u.aeth = hfi1_compute_aeth(qp); in make_rc_ack() 238 hfi1_make_ruc_header(qp, ohdr, bth0, bth2, middle); in make_rc_ack() [all …]
|
D | ud.c | 268 struct hfi1_other_headers *ohdr; in hfi1_make_ud_req() local 361 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_ud_req() 369 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_ud_req() 373 ohdr->u.ud.imm_data = wqe->wr.ex.imm_data; in hfi1_make_ud_req() 407 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ud_req() 408 ohdr->bth[1] = cpu_to_be32(wqe->ud_wr.remote_qpn); in hfi1_make_ud_req() 409 ohdr->bth[2] = cpu_to_be32(mask_psn(qp->s_next_psn++)); in hfi1_make_ud_req() 414 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->ud_wr.remote_qkey < 0 ? in hfi1_make_ud_req() 416 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_ud_req() 488 struct hfi1_other_headers *ohdr; in return_cnp() local [all …]
|
D | driver.c | 275 struct hfi1_other_headers *ohdr = NULL; in rcv_hdrerr() local 287 ohdr = &hdr->u.oth; in rcv_hdrerr() 291 ohdr = &hdr->u.l.oth; in rcv_hdrerr() 302 qp_num = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; in rcv_hdrerr() 443 struct hfi1_other_headers *ohdr, in process_ecn() argument 461 is_fecn = (be32_to_cpu(ohdr->bth[1]) >> HFI1_FECN_SHIFT) & in process_ecn() 463 is_becn = (be32_to_cpu(ohdr->bth[1]) >> HFI1_BECN_SHIFT) & in process_ecn() 471 u32 src_qpn = be32_to_cpu(ohdr->u.ud.deth[1]) & HFI1_QPN_MASK; in process_ecn() 472 u16 pkey = (u16)be32_to_cpu(ohdr->bth[0]); in process_ecn() 481 u32 lqpn = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; in process_ecn() [all …]
|
D | trace.c | 55 struct hfi1_other_headers *ohdr; in ibhdr_exhdr_len() local 60 ohdr = &hdr->u.oth; in ibhdr_exhdr_len() 62 ohdr = &hdr->u.l.oth; in ibhdr_exhdr_len() 63 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ibhdr_exhdr_len()
|
D | trace.h | 459 struct hfi1_other_headers *ohdr; 480 ohdr = &hdr->u.oth; 482 ohdr = &hdr->u.l.oth; 484 (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; 486 (be32_to_cpu(ohdr->bth[0]) >> 23) & 1; 488 (be32_to_cpu(ohdr->bth[0]) >> 22) & 1; 490 (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 492 (be32_to_cpu(ohdr->bth[0]) >> 16) & 0xf; 494 be32_to_cpu(ohdr->bth[0]) & 0xffff; 496 (be32_to_cpu(ohdr->bth[1]) >> HFI1_FECN_SHIFT) [all …]
|
D | diag.c | 1288 struct hfi1_other_headers *ohdr = NULL; in hfi1_filter_mad_mgmt_class() local 1307 ohdr = &hdr->u.oth; /* LRH + BTH + DETH */ in hfi1_filter_mad_mgmt_class() 1309 ohdr = &hdr->u.l.oth; /* LRH + GRH + BTH + DETH */ in hfi1_filter_mad_mgmt_class() 1311 qpn = be32_to_cpu(ohdr->bth[1]) & 0x00FFFFFF; in hfi1_filter_mad_mgmt_class() 1326 struct hfi1_other_headers *ohdr = NULL; in hfi1_filter_qp_number() local 1340 ohdr = &hdr->u.oth; /* LRH + BTH + DETH */ in hfi1_filter_qp_number() 1342 ohdr = &hdr->u.l.oth; /* LRH + GRH + BTH + DETH */ in hfi1_filter_qp_number() 1343 if (*((u32 *)value) == (be32_to_cpu(ohdr->bth[1]) & 0x00FFFFFF)) in hfi1_filter_qp_number() 1355 struct hfi1_other_headers *ohdr = NULL; in hfi1_filter_ibpacket_type() local 1370 ohdr = &hdr->u.oth; in hfi1_filter_ibpacket_type() [all …]
|
D | ruc.c | 757 void hfi1_make_ruc_header(struct hfi1_qp *qp, struct hfi1_other_headers *ohdr, in hfi1_make_ruc_header() argument 812 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ruc_header() 819 ohdr->bth[1] = cpu_to_be32(bth1); in hfi1_make_ruc_header() 820 ohdr->bth[2] = cpu_to_be32(bth2); in hfi1_make_ruc_header()
|
D | verbs.c | 624 packet->ohdr = &hdr->u.oth; in hfi1_ib_rcv() 628 packet->ohdr = &hdr->u.l.oth; in hfi1_ib_rcv() 640 opcode = (be32_to_cpu(packet->ohdr->bth[0]) >> 24); in hfi1_ib_rcv() 644 qp_num = be32_to_cpu(packet->ohdr->bth[1]) & HFI1_QPN_MASK; in hfi1_ib_rcv() 1251 struct hfi1_other_headers *ohdr; in egress_pkey_check() local 1263 ohdr = &hdr->u.l.oth; in egress_pkey_check() 1265 ohdr = &hdr->u.oth; in egress_pkey_check() 1267 pkey = (u16)be32_to_cpu(ohdr->bth[0]); in egress_pkey_check()
|
D | verbs.h | 1080 void hfi1_make_ruc_header(struct hfi1_qp *qp, struct hfi1_other_headers *ohdr,
|
D | hfi.h | 332 struct hfi1_other_headers *ohdr; member
|
/linux-4.4.14/net/tipc/ |
D | msg.c | 481 struct tipc_msg ohdr; in tipc_msg_reverse() local 493 memcpy(&ohdr, hdr, msg_hdr_sz(hdr)); in tipc_msg_reverse() 504 memcpy(hdr, &ohdr, BASIC_H_SIZE); in tipc_msg_reverse() 510 msg_set_origport(hdr, msg_destport(&ohdr)); in tipc_msg_reverse() 511 msg_set_destport(hdr, msg_origport(&ohdr)); in tipc_msg_reverse() 512 msg_set_destnode(hdr, msg_prevnode(&ohdr)); in tipc_msg_reverse()
|
/linux-4.4.14/net/ipv6/ |
D | exthdrs.c | 736 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()
|