/drivers/infiniband/core/ |
D | ud_header.c | 155 { STRUCT_FIELD(bth, opcode), 159 { STRUCT_FIELD(bth, solicited_event), 163 { STRUCT_FIELD(bth, mig_req), 167 { STRUCT_FIELD(bth, pad_count), 171 { STRUCT_FIELD(bth, transport_header_version), 175 { STRUCT_FIELD(bth, pkey), 183 { STRUCT_FIELD(bth, destination_qpn), 187 { STRUCT_FIELD(bth, ack_req), 195 { STRUCT_FIELD(bth, psn), 267 header->bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in ib_ud_header_init() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 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() 455 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_ud_rcv() 472 pkey1 = be32_to_cpu(ohdr->bth[0]); in qib_ud_rcv() 513 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_ud_rcv() 572 qib_lookup_pkey(ibp, be32_to_cpu(ohdr->bth[0])) : 0; in qib_ud_rcv() 584 (ohdr->bth[0] & in qib_ud_rcv()
|
D | qib_uc.c | 264 opcode = be32_to_cpu(ohdr->bth[0]); in qib_uc_rcv() 268 psn = be32_to_cpu(ohdr->bth[2]); in qib_uc_rcv() 391 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv() 418 (ohdr->bth[0] & in qib_uc_rcv() 477 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv() 504 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
|
D | qib_driver.c | 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() 376 be32_to_cpu(ohdr->bth[0])); in qib_rcv_hdrerr()
|
D | qib_rc.c | 700 ohdr->bth[0] = cpu_to_be32(bth0); in qib_send_rc_ack() 701 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in qib_send_rc_ack() 702 ohdr->bth[2] = cpu_to_be32(qp->r_ack_psn & QIB_PSN_MASK); in qib_send_rc_ack() 987 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_rc_send_complete() 995 psn = be32_to_cpu(ohdr->bth[2]); in qib_rc_send_complete() 1541 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv_resp() 1566 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv_resp() 1887 opcode = be32_to_cpu(ohdr->bth[0]); in qib_rc_rcv() 1891 psn = be32_to_cpu(ohdr->bth[2]); in qib_rc_rcv() 2016 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv() [all …]
|
D | qib_user_sdma.c | 462 hdr->bth[0] = cpu_to_be32(be32_to_cpu(hdr->bth[0])&0xFFCFFFFF); in qib_user_sdma_page_to_frags() 519 seqnum.val = be32_to_cpu(hdr->bth[2]); in qib_user_sdma_page_to_frags() 524 hdr->bth[2] = cpu_to_be32(seqnum.val); in qib_user_sdma_page_to_frags()
|
D | qib_ruc.c | 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()
|
D | qib_common.h | 701 __be32 bth[3]; member
|
D | qib_verbs.h | 163 __be32 bth[3]; member
|
D | qib_verbs.c | 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()
|
D | qib_iba7322.c | 1436 .u.oth.bth[0] = cpu_to_be32( in flush_fifo() 1438 .u.oth.bth[1] = cpu_to_be32(0), in flush_fifo() 1439 .u.oth.bth[2] = cpu_to_be32(0), in flush_fifo()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_uc.c | 261 psn = be32_to_cpu(ohdr->bth[2]); in ipath_uc_rcv() 277 psn = be32_to_cpu(ohdr->bth[2]); in ipath_uc_rcv() 283 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_uc_rcv() 394 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv() 421 (ohdr->bth[0] & in ipath_uc_rcv() 496 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv() 522 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
|
D | ipath_ud.c | 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() 479 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; 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()
|
D | ipath_rc.c | 679 ohdr->bth[0] = cpu_to_be32(bth0); in send_rc_ack() 680 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in send_rc_ack() 681 ohdr->bth[2] = cpu_to_be32(qp->r_ack_psn & IPATH_PSN_MASK); in send_rc_ack() 1248 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_rc_rcv_resp() 1279 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_rc_rcv_resp() 1593 psn = be32_to_cpu(ohdr->bth[2]); in ipath_rc_rcv() 1608 psn = be32_to_cpu(ohdr->bth[2]); in ipath_rc_rcv() 1617 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_rc_rcv() 1719 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_rc_rcv() 1746 (ohdr->bth[0] & in ipath_rc_rcv()
|
D | ipath_common.h | 744 __be32 bth[3]; member 753 __be32 bth[3]; member
|
D | ipath_ruc.c | 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()
|
D | ipath_driver.c | 1123 be32_to_cpu(hdr->bth[0]) >> 24, in ipath_rcv_hdrerr() 1217 u8 opcode = be32_to_cpu(hdr->bth[0]) >> 24; in ipath_kreceive() 1218 u32 qp = be32_to_cpu(hdr->bth[1]) & 0xffffff; in ipath_kreceive() 1225 be32_to_cpu(hdr->bth[0]) >> 24); in ipath_kreceive()
|
D | ipath_verbs.h | 109 __be32 bth[3]; member
|
D | ipath_verbs.c | 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()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2030 sqp->ud_header.bth.solicited_event = !!(wr->send_flags & IB_SEND_SOLICITED); in build_sriov_qp0_header() 2032 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_sriov_qp0_header() 2034 sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->wr.ud.remote_qpn); in build_sriov_qp0_header() 2036 sqp->ud_header.bth.destination_qpn = in build_sriov_qp0_header() 2039 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_sriov_qp0_header() 2050 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; in build_sriov_qp0_header() 2207 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; in build_mlx_header() 2211 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in build_mlx_header() 2256 sqp->ud_header.bth.solicited_event = !!(wr->send_flags & IB_SEND_SOLICITED); in build_mlx_header() 2261 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header() [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 1504 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; in build_mlx_header() 1508 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in build_mlx_header() 1519 sqp->ud_header.bth.solicited_event = !!(wr->send_flags & IB_SEND_SOLICITED); in build_mlx_header() 1526 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header() 1527 sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->wr.ud.remote_qpn); in build_mlx_header() 1528 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_mlx_header()
|