Home
last modified time | relevance | path

Searched refs:rdma_wr (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
Drw.c214 struct ib_rdma_wr *rdma_wr = &ctx->map.wrs[i]; in rdma_rw_init_map_wrs() local
218 rdma_wr->wr.opcode = IB_WR_RDMA_WRITE; in rdma_rw_init_map_wrs()
220 rdma_wr->wr.opcode = IB_WR_RDMA_READ; in rdma_rw_init_map_wrs()
221 rdma_wr->remote_addr = remote_addr + total_len; in rdma_rw_init_map_wrs()
222 rdma_wr->rkey = rkey; in rdma_rw_init_map_wrs()
223 rdma_wr->wr.num_sge = nr_sge; in rdma_rw_init_map_wrs()
224 rdma_wr->wr.sg_list = sge; in rdma_rw_init_map_wrs()
237 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs()
254 struct ib_rdma_wr *rdma_wr = &ctx->single.wr; in rdma_rw_init_single_wr() local
262 memset(rdma_wr, 0, sizeof(*rdma_wr)); in rdma_rw_init_single_wr()
[all …]
/kernel/linux/linux-5.10/net/smc/
Dsmc_tx.c269 int num_sges, struct ib_rdma_wr *rdma_wr) in smc_tx_rdma_write() argument
275 rdma_wr->wr.wr_id = smc_wr_tx_get_next_wr_id(link); in smc_tx_rdma_write()
276 rdma_wr->wr.num_sge = num_sges; in smc_tx_rdma_write()
277 rdma_wr->remote_addr = in smc_tx_rdma_write()
283 rdma_wr->rkey = lgr->rtokens[conn->rtoken_idx][link->link_idx].rkey; in smc_tx_rdma_write()
284 rc = ib_post_send(link->roce_qp, &rdma_wr->wr, NULL); in smc_tx_rdma_write()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_rc.c348 cpu_to_be64(wqe->rdma_wr.remote_addr); in qib_make_rc_req()
350 cpu_to_be32(wqe->rdma_wr.rkey); in qib_make_rc_req()
358 if (wqe->rdma_wr.wr.opcode == IB_WR_RDMA_WRITE) in qib_make_rc_req()
364 wqe->rdma_wr.wr.ex.imm_data; in qib_make_rc_req()
366 if (wqe->rdma_wr.wr.send_flags & IB_SEND_SOLICITED) in qib_make_rc_req()
391 cpu_to_be64(wqe->rdma_wr.remote_addr); in qib_make_rc_req()
393 cpu_to_be32(wqe->rdma_wr.rkey); in qib_make_rc_req()
553 cpu_to_be64(wqe->rdma_wr.remote_addr + len); in qib_make_rc_req()
555 cpu_to_be32(wqe->rdma_wr.rkey); in qib_make_rc_req()
Dqib_uc.c131 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_qp.c1700 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_tavor_post_send()
1701 rdma_wr(wr)->rkey); in mthca_tavor_post_send()
1717 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_tavor_post_send()
1718 rdma_wr(wr)->rkey); in mthca_tavor_post_send()
2030 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_arbel_post_send()
2031 rdma_wr(wr)->rkey); in mthca_arbel_post_send()
2047 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in mthca_arbel_post_send()
2048 rdma_wr(wr)->rkey); in mthca_arbel_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duc.c186 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()
Drc.c636 wqe->rdma_wr.remote_addr, in hfi1_make_rc_req()
639 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_make_rc_req()
784 wqe->rdma_wr.remote_addr, in hfi1_make_rc_req()
787 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_make_rc_req()
1034 wqe->rdma_wr.remote_addr + len, in hfi1_make_rc_req()
1037 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_make_rc_req()
Dtid_rdma.c1741 rreq->reth.vaddr = cpu_to_be64(wqe->rdma_wr.remote_addr + in hfi1_build_tid_rdma_read_packet()
1743 rreq->reth.rkey = cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_build_tid_rdma_read_packet()
3307 if (!(wqe->rdma_wr.remote_addr & ~PAGE_MASK) && in setup_tid_rdma_wqe()
3374 cpu_to_be64(wqe->rdma_wr.remote_addr + (wqe->length - *len)); in hfi1_build_tid_rdma_write_req()
3376 cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_build_tid_rdma_write_req()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_verbs.c522 wr->wr.rdma.remote_addr = rdma_wr(ibwr)->remote_addr; in init_send_wr()
523 wr->wr.rdma.rkey = rdma_wr(ibwr)->rkey; in init_send_wr()
589 mask & WR_READ_OR_WRITE_MASK ? rdma_wr(ibwr)->remote_addr : 0; in init_send_wqe()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c848 sqe->raddr = rdma_wr(wr)->remote_addr; in siw_post_send()
849 sqe->rkey = rdma_wr(wr)->rkey; in siw_post_send()
872 sqe->raddr = rdma_wr(wr)->remote_addr; in siw_post_send()
873 sqe->rkey = rdma_wr(wr)->rkey; in siw_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c2163 info.op.inline_rdma_write.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; in i40iw_post_send()
2164 info.op.inline_rdma_write.rem_addr.stag = rdma_wr(ib_wr)->rkey; in i40iw_post_send()
2169 info.op.rdma_write.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; in i40iw_post_send()
2170 info.op.rdma_write.rem_addr.stag = rdma_wr(ib_wr)->rkey; in i40iw_post_send()
2190 info.op.rdma_read.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; in i40iw_post_send()
2191 info.op.rdma_read.rem_addr.stag = rdma_wr(ib_wr)->rkey; in i40iw_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dqp.c574 wqe->write.stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_write()
575 wqe->write.to_sink = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_write()
634 wcwr->stag_sink = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_write_cmpl()
635 wcwr->to_sink = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_write_cmpl()
666 wqe->read.stag_src = cpu_to_be32(rdma_wr(wr)->rkey); in build_rdma_read()
667 wqe->read.to_src_hi = cpu_to_be32((u32)(rdma_wr(wr)->remote_addr in build_rdma_read()
669 wqe->read.to_src_lo = cpu_to_be32((u32)rdma_wr(wr)->remote_addr); in build_rdma_read()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1988 ext_rw->addr_lo = rdma_wr(wr)->remote_addr; in ocrdma_build_write()
1989 ext_rw->addr_hi = upper_32_bits(rdma_wr(wr)->remote_addr); in ocrdma_build_write()
1990 ext_rw->lrkey = rdma_wr(wr)->rkey; in ocrdma_build_write()
2008 ext_rw->addr_lo = rdma_wr(wr)->remote_addr; in ocrdma_build_read()
2009 ext_rw->addr_hi = upper_32_bits(rdma_wr(wr)->remote_addr); in ocrdma_build_read()
2010 ext_rw->lrkey = rdma_wr(wr)->rkey; in ocrdma_build_read()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c810 rdma_wr(wr)->remote_addr; in pvrdma_post_send()
811 wqe_hdr->wr.rdma.rkey = rdma_wr(wr)->rkey; in pvrdma_post_send()
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_qp.h171 struct ib_rdma_wr rdma_wr; member
Dib_verbs.h1372 static inline const struct ib_rdma_wr *rdma_wr(const struct ib_send_wr *wr) in rdma_wr() function
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c3097 wqe->rdma_wr.remote_addr, in rvt_ruc_loopback()
3098 wqe->rdma_wr.rkey, in rvt_ruc_loopback()
3110 wqe->rdma_wr.remote_addr, in rvt_ruc_loopback()
3111 wqe->rdma_wr.rkey, in rvt_ruc_loopback()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dwr.c1010 set_raddr_seg(*seg, rdma_wr(wr)->remote_addr, rdma_wr(wr)->rkey); in handle_rdma_op()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c259 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in hns_roce_v1_post_send()
260 rdma_wr(wr)->rkey); in hns_roce_v1_post_send()
265 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in hns_roce_v1_post_send()
266 rdma_wr(wr)->rkey); in hns_roce_v1_post_send()
Dhns_roce_hw_v2.c529 rc_sq_wqe->rkey = cpu_to_le32(rdma_wr(wr)->rkey); in set_rc_opcode()
530 rc_sq_wqe->va = cpu_to_le64(rdma_wr(wr)->remote_addr); in set_rc_opcode()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2402 wqe->rdma.remote_va = rdma_wr(wr)->remote_addr; in bnxt_re_build_rdma_wqe()
2403 wqe->rdma.r_key = rdma_wr(wr)->rkey; in bnxt_re_build_rdma_wqe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c3604 set_raddr_seg(wqe, rdma_wr(wr)->remote_addr, in _mlx4_ib_post_send()
3605 rdma_wr(wr)->rkey); in _mlx4_ib_post_send()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c3387 rwqe2->r_key = cpu_to_le32(rdma_wr(wr)->rkey); in qedr_prepare_sq_rdma_data()
3388 DMA_REGPAIR_LE(rwqe2->remote_va, rdma_wr(wr)->remote_addr); in qedr_prepare_sq_rdma_data()