/Linux-v4.19/drivers/infiniband/core/ |
D | rw.c | 198 struct ib_rdma_wr *rdma_wr = &ctx->map.wrs[i]; in rdma_rw_init_map_wrs() local 202 rdma_wr->wr.opcode = IB_WR_RDMA_WRITE; in rdma_rw_init_map_wrs() 204 rdma_wr->wr.opcode = IB_WR_RDMA_READ; in rdma_rw_init_map_wrs() 205 rdma_wr->remote_addr = remote_addr + total_len; in rdma_rw_init_map_wrs() 206 rdma_wr->rkey = rkey; in rdma_rw_init_map_wrs() 207 rdma_wr->wr.num_sge = nr_sge; in rdma_rw_init_map_wrs() 208 rdma_wr->wr.sg_list = sge; in rdma_rw_init_map_wrs() 221 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs() 239 struct ib_rdma_wr *rdma_wr = &ctx->single.wr; in rdma_rw_init_single_wr() local 247 memset(rdma_wr, 0, sizeof(*rdma_wr)); in rdma_rw_init_single_wr() [all …]
|
/Linux-v4.19/net/smc/ |
D | smc_tx.c | 273 struct ib_rdma_wr rdma_wr; in smc_tx_rdma_write() local 277 memset(&rdma_wr, 0, sizeof(rdma_wr)); in smc_tx_rdma_write() 279 rdma_wr.wr.wr_id = smc_wr_tx_get_next_wr_id(link); in smc_tx_rdma_write() 280 rdma_wr.wr.sg_list = sges; in smc_tx_rdma_write() 281 rdma_wr.wr.num_sge = num_sges; in smc_tx_rdma_write() 282 rdma_wr.wr.opcode = IB_WR_RDMA_WRITE; in smc_tx_rdma_write() 283 rdma_wr.remote_addr = in smc_tx_rdma_write() 289 rdma_wr.rkey = lgr->rtokens[conn->rtoken_idx][SMC_SINGLE_LINK].rkey; in smc_tx_rdma_write() 290 rc = ib_post_send(link->roce_qp, &rdma_wr.wr, NULL); in smc_tx_rdma_write()
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 296 wqe->rdma_wr.remote_addr, in qib_ruc_loopback() 297 wqe->rdma_wr.rkey, in qib_ruc_loopback() 309 wqe->rdma_wr.remote_addr, in qib_ruc_loopback() 310 wqe->rdma_wr.rkey, in qib_ruc_loopback()
|
D | qib_rc.c | 359 cpu_to_be64(wqe->rdma_wr.remote_addr); in qib_make_rc_req() 361 cpu_to_be32(wqe->rdma_wr.rkey); in qib_make_rc_req() 369 if (wqe->rdma_wr.wr.opcode == IB_WR_RDMA_WRITE) in qib_make_rc_req() 375 wqe->rdma_wr.wr.ex.imm_data; in qib_make_rc_req() 377 if (wqe->rdma_wr.wr.send_flags & IB_SEND_SOLICITED) in qib_make_rc_req() 402 cpu_to_be64(wqe->rdma_wr.remote_addr); in qib_make_rc_req() 404 cpu_to_be32(wqe->rdma_wr.rkey); in qib_make_rc_req() 564 cpu_to_be64(wqe->rdma_wr.remote_addr + len); in qib_make_rc_req() 566 cpu_to_be32(wqe->rdma_wr.rkey); in qib_make_rc_req()
|
D | qib_uc.c | 131 cpu_to_be64(wqe->rdma_wr.remote_addr); in qib_make_uc_req() 133 cpu_to_be32(wqe->rdma_wr.rkey); in qib_make_uc_req()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 303 wqe->rdma_wr.remote_addr, in ruc_loopback() 304 wqe->rdma_wr.rkey, in ruc_loopback() 316 wqe->rdma_wr.remote_addr, in ruc_loopback() 317 wqe->rdma_wr.rkey, in ruc_loopback()
|
D | uc.c | 186 cpu_to_be64(wqe->rdma_wr.remote_addr); in hfi1_make_uc_req() 188 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_make_uc_req()
|
D | rc.c | 449 wqe->rdma_wr.remote_addr, in hfi1_make_rc_req() 452 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_make_rc_req() 492 wqe->rdma_wr.remote_addr, in hfi1_make_rc_req() 495 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_make_rc_req() 662 wqe->rdma_wr.remote_addr + len, in hfi1_make_rc_req() 665 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_make_rc_req()
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 1692 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_tavor_post_send() 1693 rdma_wr(wr)->rkey); in mthca_tavor_post_send() 1709 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_tavor_post_send() 1710 rdma_wr(wr)->rkey); in mthca_tavor_post_send() 2033 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_arbel_post_send() 2034 rdma_wr(wr)->rkey); in mthca_arbel_post_send() 2050 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_arbel_post_send() 2051 rdma_wr(wr)->rkey); in mthca_arbel_post_send()
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | iwch_qp.c | 98 wqe->write.stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_write() 99 wqe->write.to_sink = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_write() 140 wqe->read.rem_stag = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_read() 141 wqe->read.rem_to = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_read()
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 608 wr->wr.rdma.remote_addr = rdma_wr(ibwr)->remote_addr; in init_send_wr() 609 wr->wr.rdma.rkey = rdma_wr(ibwr)->rkey; in init_send_wr() 675 mask & WR_READ_OR_WRITE_MASK ? rdma_wr(ibwr)->remote_addr : 0; in init_send_wqe()
|
/Linux-v4.19/include/rdma/ |
D | rdmavt_qp.h | 170 struct ib_rdma_wr rdma_wr; member
|
D | ib_verbs.h | 1355 static inline const struct ib_rdma_wr *rdma_wr(const struct ib_send_wr *wr) in rdma_wr() function
|
/Linux-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw_verbs.c | 2273 info.op.inline_rdma_write.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; in i40iw_post_send() 2274 info.op.inline_rdma_write.rem_addr.stag = rdma_wr(ib_wr)->rkey; in i40iw_post_send() 2279 info.op.rdma_write.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; in i40iw_post_send() 2280 info.op.rdma_write.rem_addr.stag = rdma_wr(ib_wr)->rkey; in i40iw_post_send() 2300 info.op.rdma_read.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; in i40iw_post_send() 2301 info.op.rdma_read.rem_addr.stag = rdma_wr(ib_wr)->rkey; in i40iw_post_send()
|
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 572 wqe->write.stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_write() 573 wqe->write.to_sink = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_write() 632 wcwr->stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_write_cmpl() 633 wcwr->to_sink = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_write_cmpl() 661 wqe->read.stag_src = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_read() 662 wqe->read.to_src_hi = cpu_to_be32((u32)(rdma_wr(wr)->remote_addr in build_rdma_read() 664 wqe->read.to_src_lo = cpu_to_be32((u32)rdma_wr(wr)->remote_addr); in build_rdma_read()
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 2070 ext_rw->addr_lo = rdma_wr(wr)->remote_addr; in ocrdma_build_write() 2071 ext_rw->addr_hi = upper_32_bits(rdma_wr(wr)->remote_addr); in ocrdma_build_write() 2072 ext_rw->lrkey = rdma_wr(wr)->rkey; in ocrdma_build_write() 2090 ext_rw->addr_lo = rdma_wr(wr)->remote_addr; in ocrdma_build_read() 2091 ext_rw->addr_hi = upper_32_bits(rdma_wr(wr)->remote_addr); in ocrdma_build_read() 2092 ext_rw->lrkey = rdma_wr(wr)->rkey; in ocrdma_build_read()
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 752 rdma_wr(wr)->remote_addr; in pvrdma_post_send() 753 wqe_hdr->wr.rdma.rkey = rdma_wr(wr)->rkey; in pvrdma_post_send()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 416 cpu_to_le32(rdma_wr(wr)->rkey); in hns_roce_v2_post_send() 418 cpu_to_le64(rdma_wr(wr)->remote_addr); in hns_roce_v2_post_send() 426 cpu_to_le32(rdma_wr(wr)->rkey); in hns_roce_v2_post_send() 428 cpu_to_le64(rdma_wr(wr)->remote_addr); in hns_roce_v2_post_send() 436 cpu_to_le32(rdma_wr(wr)->rkey); in hns_roce_v2_post_send() 438 cpu_to_le64(rdma_wr(wr)->remote_addr); in hns_roce_v2_post_send()
|
D | hns_roce_hw_v1.c | 262 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in hns_roce_v1_post_send() 263 rdma_wr(wr)->rkey); in hns_roce_v1_post_send() 268 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in hns_roce_v1_post_send() 269 rdma_wr(wr)->rkey); in hns_roce_v1_post_send()
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 3113 rdma_wr(ib_wr)->rkey); in nes_post_send() 3115 rdma_wr(ib_wr)->remote_addr); in nes_post_send() 3150 rdma_wr(ib_wr)->remote_addr); in nes_post_send() 3152 rdma_wr(ib_wr)->rkey); in nes_post_send()
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | qp.c | 4438 set_raddr_seg(seg, rdma_wr(wr)->remote_addr, in _mlx5_ib_post_send() 4439 rdma_wr(wr)->rkey); in _mlx5_ib_post_send() 4541 set_raddr_seg(seg, rdma_wr(wr)->remote_addr, in _mlx5_ib_post_send() 4542 rdma_wr(wr)->rkey); in _mlx5_ib_post_send()
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 2154 wqe->rdma.remote_va = rdma_wr(wr)->remote_addr; in bnxt_re_build_rdma_wqe() 2155 wqe->rdma.r_key = rdma_wr(wr)->rkey; in bnxt_re_build_rdma_wqe()
|
/Linux-v4.19/drivers/infiniband/hw/qedr/ |
D | verbs.c | 3153 rwqe2->r_key = cpu_to_le32(rdma_wr(wr)->rkey); in qedr_prepare_sq_rdma_data() 3154 DMA_REGPAIR_LE(rwqe2->remote_va, rdma_wr(wr)->remote_addr); in qedr_prepare_sq_rdma_data()
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3560 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in _mlx4_ib_post_send() 3561 rdma_wr(wr)->rkey); in _mlx4_ib_post_send()
|