/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_hdr.h | 87 struct rxe_bth *bth = arg; in __bth_opcode() local 89 return bth->opcode; in __bth_opcode() 94 struct rxe_bth *bth = arg; in __bth_set_opcode() local 96 bth->opcode = opcode; in __bth_set_opcode() 101 struct rxe_bth *bth = arg; in __bth_se() local 103 return 0 != (BTH_SE_MASK & bth->flags); in __bth_se() 108 struct rxe_bth *bth = arg; in __bth_set_se() local 111 bth->flags |= BTH_SE_MASK; in __bth_set_se() 113 bth->flags &= ~BTH_SE_MASK; in __bth_set_se() 118 struct rxe_bth *bth = arg; in __bth_mig() local [all …]
|
D | rxe_icrc.c | 17 struct rxe_bth *bth; in rxe_icrc_hdr() local 57 bth = (struct rxe_bth *)&pshdr[bth_offset]; in rxe_icrc_hdr() 60 bth->qpn |= cpu_to_be32(~BTH_QPN_MASK); in rxe_icrc_hdr()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_hdrs.h | 93 __be32 bth[3]; member 243 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_PAD_SHIFT) & in ib_bth_get_pad() 249 return (be32_to_cpu(ohdr->bth[0]) & IB_BTH_PKEY_MASK); in ib_bth_get_pkey() 254 return ((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_OPCODE_SHIFT) & in ib_bth_get_opcode() 260 return (u8)((be32_to_cpu(ohdr->bth[2]) >> IB_BTH_A_SHIFT) & in ib_bth_get_ackreq() 266 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_M_SHIFT) & in ib_bth_get_migreq() 272 return (u8)((be32_to_cpu(ohdr->bth[0]) >> IB_BTH_SE_SHIFT) & in ib_bth_get_se() 278 return (u32)(be32_to_cpu(ohdr->bth[2])); in ib_bth_get_psn() 283 return (u32)((be32_to_cpu(ohdr->bth[1])) & IB_QPN_MASK); in ib_bth_get_qpn() 288 return (ohdr->bth[1]) & cpu_to_be32(IB_BECN_SMASK); in ib_bth_get_becn() [all …]
|
D | ib_pack.h | 250 struct ib_unpacked_bth bth; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | ud_header.c | 222 { STRUCT_FIELD(bth, opcode), 226 { STRUCT_FIELD(bth, solicited_event), 230 { STRUCT_FIELD(bth, mig_req), 234 { STRUCT_FIELD(bth, pad_count), 238 { STRUCT_FIELD(bth, transport_header_version), 242 { STRUCT_FIELD(bth, pkey), 250 { STRUCT_FIELD(bth, destination_qpn), 254 { STRUCT_FIELD(bth, ack_req), 262 { STRUCT_FIELD(bth, psn), 388 header->bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in ib_ud_header_init() [all …]
|
/kernel/linux/linux-5.10/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] = rdma_ah_get_dlid(ah_attr) >= in qib_make_ud_req() 376 ohdr->bth[2] = cpu_to_be32(wqe->psn & QIB_PSN_MASK); in qib_make_ud_req() 453 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_ud_rcv() 470 pkey1 = be32_to_cpu(ohdr->bth[0]); in qib_ud_rcv() 507 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_ud_rcv() 566 qib_lookup_pkey(ibp, be32_to_cpu(ohdr->bth[0])) : 0; in qib_ud_rcv()
|
D | qib_uc.c | 259 opcode = be32_to_cpu(ohdr->bth[0]); in qib_uc_rcv() 263 psn = be32_to_cpu(ohdr->bth[2]); in qib_uc_rcv() 377 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv() 461 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv() 488 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
|
D | qib_ruc.c | 240 ohdr->bth[0] = cpu_to_be32(bth0); in qib_make_ruc_header() 241 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in qib_make_ruc_header() 242 ohdr->bth[2] = cpu_to_be32(bth2); in qib_make_ruc_header()
|
D | qib_driver.c | 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]) & RVT_QPN_MASK; in qib_rcv_hdrerr() 377 be32_to_cpu(ohdr->bth[0])); in qib_rcv_hdrerr()
|
D | qib_rc.c | 652 ohdr->bth[0] = cpu_to_be32(bth0); in qib_send_rc_ack() 653 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn); in qib_send_rc_ack() 654 ohdr->bth[2] = cpu_to_be32(qp->r_ack_psn & QIB_PSN_MASK); in qib_send_rc_ack() 897 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_rc_send_complete() 905 psn = be32_to_cpu(ohdr->bth[2]); in qib_rc_send_complete() 1408 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv_resp() 1433 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv_resp() 1736 opcode = be32_to_cpu(ohdr->bth[0]); in qib_rc_rcv() 1740 psn = be32_to_cpu(ohdr->bth[2]); in qib_rc_rcv() 1856 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_rc_rcv()
|
D | qib_user_sdma.c | 459 hdr->bth[0] = cpu_to_be32(be32_to_cpu(hdr->bth[0])&0xFFCFFFFF); in qib_user_sdma_page_to_frags() 516 seqnum.val = be32_to_cpu(hdr->bth[2]); in qib_user_sdma_page_to_frags() 521 hdr->bth[2] = cpu_to_be32(seqnum.val); in qib_user_sdma_page_to_frags()
|
D | qib_common.h | 701 __be32 bth[3]; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ud.c | 290 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_bth_deth() 291 ohdr->bth[1] = cpu_to_be32(rvt_get_swqe_remote_qpn(wqe)); in hfi1_make_bth_deth() 292 ohdr->bth[2] = cpu_to_be32(mask_psn(wqe->psn)); in hfi1_make_bth_deth() 671 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp_16B() 673 ohdr->bth[1] = cpu_to_be32(remote_qpn); in return_cnp_16B() 674 ohdr->bth[2] = 0; /* PSN 0 */ in return_cnp_16B() 729 ohdr->bth[0] = cpu_to_be32(bth0); in return_cnp() 731 ohdr->bth[1] = cpu_to_be32(remote_qpn | (1 << IB_BECN_SHIFT)); in return_cnp() 732 ohdr->bth[2] = 0; /* PSN 0 */ in return_cnp()
|
D | ruc.c | 192 hdr.ibh.u.oth.bth[2]) / 4) 253 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_make_ruc_bth() 254 ohdr->bth[1] = cpu_to_be32(bth1); in hfi1_make_ruc_bth() 255 ohdr->bth[2] = cpu_to_be32(bth2); in hfi1_make_ruc_bth()
|
D | trace_tx.h | 535 __be32 *bth = (__be32 *)hdr->bth; 546 __entry->bth0 = be32_to_cpu(bth[0]); 547 __entry->bth1 = be32_to_cpu(bth[1]); 548 __entry->bth2 = be32_to_cpu(bth[2]);
|
D | user_sdma.c | 468 opcode = (be32_to_cpu(req->hdr.bth[0]) >> 24) & 0xff; in hfi1_user_sdma_process_request() 491 pkey = (u16)be32_to_cpu(req->hdr.bth[0]); in hfi1_user_sdma_process_request() 1209 hdr->bth[2] = cpu_to_be32( in set_txreq_header() 1210 set_pkt_bth_psn(hdr->bth[2], in set_txreq_header() 1216 hdr->bth[2] |= cpu_to_be32(1UL << 31); in set_txreq_header() 1300 val32 = (be32_to_cpu(hdr->bth[2]) + req->seqnum) & in set_txreq_header_ahg()
|
D | driver.c | 531 u32 lqpn = be32_to_cpu(ohdr->bth[1]) & RVT_QPN_MASK; in hfi1_process_ecn_slowpath() 661 bth1 = be32_to_cpu(packet->ohdr->bth[1]); in __prescan_rxq() 676 packet->ohdr->bth[1] = cpu_to_be32(bth1); in __prescan_rxq() 1923 opcode = (be32_to_cpu(packet.ohdr->bth[0]) >> 24); in seqfile_dump_rcd() 1924 qpn = be32_to_cpu(packet.ohdr->bth[1]) & RVT_QPN_MASK; in seqfile_dump_rcd() 1925 psn = mask_psn(be32_to_cpu(packet.ohdr->bth[2])); in seqfile_dump_rcd()
|
D | tid_rdma.c | 2054 bth0 = be32_to_cpu(ohdr->bth[0]); in tid_rdma_rcv_error() 2238 bth0 = be32_to_cpu(ohdr->bth[0]); in hfi1_rc_rcv_tid_rdma_read_req() 2243 psn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_read_req() 2457 kpsn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_read_resp() 2459 opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; in hfi1_rc_rcv_tid_rdma_read_resp() 2876 psn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_handle_kdeth_eflags() 2877 opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; in hfi1_handle_kdeth_eflags() 3662 bth0 = be32_to_cpu(ohdr->bth[0]); in hfi1_rc_rcv_tid_rdma_write_req() 3667 psn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_write_req() 4041 psn = mask_psn(be32_to_cpu(ohdr->bth[2])); in hfi1_rc_rcv_tid_rdma_write_resp() [all …]
|
D | ipoib_tx.c | 356 ohdr->bth[0] = cpu_to_be32(bth0); in hfi1_ipoib_build_ib_tx_headers() 357 ohdr->bth[1] = cpu_to_be32(txp->dqpn); in hfi1_ipoib_build_ib_tx_headers() 358 ohdr->bth[2] = cpu_to_be32(mask_psn((u32)txp->txq->sent_txreqs)); in hfi1_ipoib_build_ib_tx_headers()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/hfi/ |
D | hfi1_user.h | 98 __be32 bth[3]; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 448 udh->bth.solicited_event = !!(swr->send_flags & IB_SEND_SOLICITED); in qedr_gsi_build_header() 449 udh->bth.pkey = QEDR_ROCE_PKEY_DEFAULT; in qedr_gsi_build_header() 450 udh->bth.destination_qpn = htonl(ud_wr(swr)->remote_qpn); in qedr_gsi_build_header() 451 udh->bth.psn = htonl((qp->sq_psn++) & ((1 << 24) - 1)); in qedr_gsi_build_header() 452 udh->bth.opcode = IB_OPCODE_UD_SEND_ONLY; in qedr_gsi_build_header()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/hfi/ |
D | hfi1_user.h | 110 __be32 bth[3]; member
|
/kernel/linux/linux-5.10/include/uapi/rdma/hfi/ |
D | hfi1_user.h | 243 __be32 bth[3]; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | qp.c | 2869 sqp->ud_header.bth.solicited_event = !!(wr->wr.send_flags & IB_SEND_SOLICITED); in build_sriov_qp0_header() 2873 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_sriov_qp0_header() 2875 sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); in build_sriov_qp0_header() 2877 sqp->ud_header.bth.destination_qpn = in build_sriov_qp0_header() 2880 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_sriov_qp0_header() 2891 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; in build_sriov_qp0_header() 3119 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; in build_mlx_header() 3123 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in build_mlx_header() 3168 sqp->ud_header.bth.solicited_event = !!(wr->wr.send_flags & IB_SEND_SOLICITED); in build_mlx_header() 3178 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 1524 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY; in build_mlx_header() 1528 sqp->ud_header.bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in build_mlx_header() 1539 sqp->ud_header.bth.solicited_event = !!(wr->wr.send_flags & IB_SEND_SOLICITED); in build_mlx_header() 1546 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header() 1547 sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->remote_qpn); in build_mlx_header() 1548 sqp->ud_header.bth.psn = cpu_to_be32((sqp->send_psn++) & ((1 << 24) - 1)); in build_mlx_header()
|