Home
last modified time | relevance | path

Searched refs:reg_wr (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/drivers/infiniband/core/
Drw.c81 reg->inv_wr.next = &reg->reg_wr.wr; in rdma_rw_inv_key()
112 reg->reg_wr.wr.opcode = IB_WR_REG_MR; in rdma_rw_init_one_mr()
113 reg->reg_wr.mr = reg->mr; in rdma_rw_init_one_mr()
114 reg->reg_wr.access = IB_ACCESS_LOCAL_WRITE; in rdma_rw_init_one_mr()
116 reg->reg_wr.access |= IB_ACCESS_REMOTE_WRITE; in rdma_rw_init_one_mr()
154 prev->wr.wr.next = &reg->reg_wr.wr; in rdma_rw_init_mr_wrs()
157 reg->reg_wr.wr.next = &reg->wr.wr; in rdma_rw_init_mr_wrs()
426 ctx->reg->reg_wr.wr.opcode = IB_WR_REG_MR_INTEGRITY; in rdma_rw_ctx_signature_init()
427 ctx->reg->reg_wr.wr.wr_cqe = NULL; in rdma_rw_ctx_signature_init()
428 ctx->reg->reg_wr.wr.num_sge = 0; in rdma_rw_ctx_signature_init()
[all …]
/linux-6.1.9/net/rds/
Dib_frmr.c126 struct ib_reg_wr reg_wr; in rds_ib_post_reg_frmr() local
153 memset(&reg_wr, 0, sizeof(reg_wr)); in rds_ib_post_reg_frmr()
154 reg_wr.wr.wr_id = (unsigned long)(void *)ibmr; in rds_ib_post_reg_frmr()
155 reg_wr.wr.opcode = IB_WR_REG_MR; in rds_ib_post_reg_frmr()
156 reg_wr.wr.num_sge = 0; in rds_ib_post_reg_frmr()
157 reg_wr.mr = frmr->mr; in rds_ib_post_reg_frmr()
158 reg_wr.key = frmr->mr->rkey; in rds_ib_post_reg_frmr()
159 reg_wr.access = IB_ACCESS_LOCAL_WRITE | in rds_ib_post_reg_frmr()
162 reg_wr.wr.send_flags = IB_SEND_SIGNALED; in rds_ib_post_reg_frmr()
164 ret = ib_post_send(ibmr->ic->i_cm_id->qp, &reg_wr.wr, NULL); in rds_ib_post_reg_frmr()
/linux-6.1.9/net/sunrpc/xprtrdma/
Dfrwr_ops.c290 struct ib_reg_wr *reg_wr; in frwr_map() local
328 reg_wr = &mr->mr_regwr; in frwr_map()
329 reg_wr->mr = ibmr; in frwr_map()
330 reg_wr->key = ibmr->rkey; in frwr_map()
331 reg_wr->access = writing ? in frwr_map()
/linux-6.1.9/drivers/iio/dac/
Dad7293.c409 unsigned int reg_wr, reg_rd, data_wr; in ad7293_ch_read_raw() local
413 reg_wr = AD7293_REG_VINX_SEQ; in ad7293_ch_read_raw()
419 reg_wr = AD7293_REG_ISENSEX_TSENSEX_SEQ; in ad7293_ch_read_raw()
425 reg_wr = AD7293_REG_ISENSEX_TSENSEX_SEQ; in ad7293_ch_read_raw()
457 ret = __ad7293_spi_write(st, reg_wr, data_wr); in ad7293_ch_read_raw()
/linux-6.1.9/include/rdma/
Drw.h38 struct ib_reg_wr reg_wr; member
Drdmavt_qp.h170 struct ib_reg_wr reg_wr; member
Dib_verbs.h1436 static inline const struct ib_reg_wr *reg_wr(const struct ib_send_wr *wr) in reg_wr() function
/linux-6.1.9/fs/cifs/
Dsmbdirect.c2323 struct ib_reg_wr *reg_wr; in smbd_register_mr() local
2380 reg_wr = &smbdirect_mr->wr; in smbd_register_mr()
2381 reg_wr->wr.opcode = IB_WR_REG_MR; in smbd_register_mr()
2383 reg_wr->wr.wr_cqe = &smbdirect_mr->cqe; in smbd_register_mr()
2384 reg_wr->wr.num_sge = 0; in smbd_register_mr()
2385 reg_wr->wr.send_flags = IB_SEND_SIGNALED; in smbd_register_mr()
2386 reg_wr->mr = smbdirect_mr->mr; in smbd_register_mr()
2387 reg_wr->key = smbdirect_mr->mr->rkey; in smbd_register_mr()
2388 reg_wr->access = writing ? in smbd_register_mr()
2397 rc = ib_post_send(info->id->qp, &reg_wr->wr, NULL); in smbd_register_mr()
[all …]
/linux-6.1.9/drivers/nvme/host/
Drdma.c72 struct ib_reg_wr reg_wr; member
1357 memset(&req->reg_wr, 0, sizeof(req->reg_wr)); in nvme_rdma_map_sg_fr()
1358 req->reg_wr.wr.opcode = IB_WR_REG_MR; in nvme_rdma_map_sg_fr()
1359 req->reg_wr.wr.wr_cqe = &req->reg_cqe; in nvme_rdma_map_sg_fr()
1360 req->reg_wr.wr.num_sge = 0; in nvme_rdma_map_sg_fr()
1361 req->reg_wr.mr = req->mr; in nvme_rdma_map_sg_fr()
1362 req->reg_wr.key = req->mr->rkey; in nvme_rdma_map_sg_fr()
1363 req->reg_wr.access = IB_ACCESS_LOCAL_WRITE | in nvme_rdma_map_sg_fr()
1438 struct ib_reg_wr *wr = &req->reg_wr; in nvme_rdma_map_sg_pi()
2068 req->mr ? &req->reg_wr.wr : NULL); in nvme_rdma_queue_rq()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dtrace.h54 DEFINE_EVENT(dev_reg_evt, reg_wr,
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_qp.c393 mr = to_emr(reg_wr(send_wr)->mr); in erdma_push_one_sqe()
396 to_erdma_access_flags(reg_wr(send_wr)->access); in erdma_push_one_sqe()
399 regmr_sge->stag = cpu_to_le32(reg_wr(send_wr)->key); in erdma_push_one_sqe()
/linux-6.1.9/drivers/infiniband/ulp/iser/
Diser_memory.c257 struct ib_reg_wr *wr = &tx_desc->reg_wr; in iser_reg_sig_mr()
313 struct ib_reg_wr *wr = &tx_desc->reg_wr; in iser_fast_reg_mr()
Discsi_iser.h246 struct ib_reg_wr reg_wr; member
Diser_verbs.c892 else if (tx_desc->reg_wr.wr.next) in iser_post_send()
893 first_wr = &tx_desc->reg_wr.wr; in iser_post_send()
Discsi_iser.c212 tx_desc->reg_wr.wr.next = NULL; in iser_initialize_task_headers()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dwr.c561 const struct ib_reg_wr *wr = reg_wr(send_wr); in set_pi_umr_wr()
808 (*ctrl)->imm = cpu_to_be32(reg_wr(wr)->key); in handle_reg_mr()
809 return set_reg_wr(qp, reg_wr(wr), seg, size, cur_edge, true); in handle_reg_mr()
860 mr = to_mmr(reg_wr(wr)->mr); in handle_reg_mr_integrity()
868 reg_pi_wr.access = reg_wr(wr)->access; in handle_reg_mr_integrity()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_verbs.c571 wr->wr.reg.mr = reg_wr(ibwr)->mr; in init_send_wr()
572 wr->wr.reg.key = reg_wr(ibwr)->key; in init_send_wr()
573 wr->wr.reg.access = reg_wr(ibwr)->access; in init_send_wr()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.c914 sqe->base_mr = (uintptr_t)reg_wr(wr)->mr; in siw_post_send()
915 sqe->rkey = reg_wr(wr)->key; in siw_post_send()
916 sqe->access = reg_wr(wr)->access & IWARP_ACCESS_MASK; in siw_post_send()
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c789 struct ib_send_wr *reg_wr = NULL; in process_info_req() local
851 reg_wr = &rwr[mri].wr; in process_info_req()
875 err = rtrs_iu_post_send(&con->c, tx_iu, tx_sz, reg_wr); in process_info_req()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c3197 struct irdma_mr *iwmr = to_iwmr(reg_wr(ib_wr)->mr); in irdma_post_send()
3203 stag_info.access_rights = irdma_get_mr_access(reg_wr(ib_wr)->access); in irdma_post_send()
3204 stag_info.stag_key = reg_wr(ib_wr)->key & 0xff; in irdma_post_send()
3205 stag_info.stag_idx = reg_wr(ib_wr)->key >> 8; in irdma_post_send()
3206 stag_info.page_size = reg_wr(ib_wr)->mr->page_size; in irdma_post_send()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c2006 reg_wr(wr)->mr, in rvt_post_one_wr()
2007 reg_wr(wr)->key, in rvt_post_one_wr()
2008 reg_wr(wr)->access); in rvt_post_one_wr()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dqp.c1193 struct c4iw_mr *mhp = to_c4iw_mr(reg_wr(wr)->mr); in c4iw_post_send()
1199 build_tpte_memreg(&wqe->fr_tpte, reg_wr(wr), in c4iw_post_send()
1203 err = build_memreg(&qhp->wq.sq, wqe, reg_wr(wr), in c4iw_post_send()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c822 ret = set_reg_seg(wqe_hdr, reg_wr(wr)); in pvrdma_post_send()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2162 status = ocrdma_build_reg(qp, hdr, reg_wr(wr)); in ocrdma_post_send()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2670 rc = bnxt_re_build_reg_wqe(reg_wr(wr), &wqe); in bnxt_re_post_send()

12