Home
last modified time | relevance | path

Searched refs:rreq (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/sw/siw/
Dsiw_qp.c294 struct siw_sqe *rreq = NULL; in siw_qp_mpa_rts() local
301 rreq = orq_get_free(qp); in siw_qp_mpa_rts()
302 if (rreq) { in siw_qp_mpa_rts()
303 siw_read_to_orq(rreq, &wqe->sqe); in siw_qp_mpa_rts()
464 struct iwarp_rdma_rreq *rreq; in siw_send_terminate() local
472 rreq = (struct iwarp_rdma_rreq *)err_hdr; in siw_send_terminate()
474 memcpy(&rreq->ctrl, in siw_send_terminate()
478 rreq->rsvd = 0; in siw_send_terminate()
479 rreq->ddp_qn = in siw_send_terminate()
483 rreq->ddp_msn = htonl(wqe->sqe.sge[0].length); in siw_send_terminate()
[all …]
Dsiw_qp_rx.c665 uint64_t raddr = be64_to_cpu(srx->hdr.rreq.sink_to), in siw_init_rresp()
666 laddr = be64_to_cpu(srx->hdr.rreq.source_to); in siw_init_rresp()
667 uint32_t length = be32_to_cpu(srx->hdr.rreq.read_size), in siw_init_rresp()
668 lkey = be32_to_cpu(srx->hdr.rreq.source_stag), in siw_init_rresp()
669 rkey = be32_to_cpu(srx->hdr.rreq.sink_stag), in siw_init_rresp()
670 msn = be32_to_cpu(srx->hdr.rreq.ddp_msn); in siw_init_rresp()
1153 struct siw_sqe *rreq; in siw_check_tx_fence() local
1160 rreq = orq_get_current(qp); in siw_check_tx_fence()
1161 WRITE_ONCE(rreq->flags, 0); in siw_check_tx_fence()
1177 rreq = orq_get_free(qp); in siw_check_tx_fence()
[all …]
Dsiw_qp_tx.c131 c_tx->pkt.rreq.rsvd = 0; in siw_qp_prepare_tx()
132 c_tx->pkt.rreq.ddp_qn = htonl(RDMAP_UNTAGGED_QN_RDMA_READ); in siw_qp_prepare_tx()
133 c_tx->pkt.rreq.ddp_msn = in siw_qp_prepare_tx()
135 c_tx->pkt.rreq.ddp_mo = 0; in siw_qp_prepare_tx()
136 c_tx->pkt.rreq.sink_stag = htonl(wqe->sqe.sge[0].lkey); in siw_qp_prepare_tx()
137 c_tx->pkt.rreq.sink_to = in siw_qp_prepare_tx()
139 c_tx->pkt.rreq.source_stag = htonl(wqe->sqe.rkey); in siw_qp_prepare_tx()
140 c_tx->pkt.rreq.source_to = cpu_to_be64(wqe->sqe.raddr); in siw_qp_prepare_tx()
141 c_tx->pkt.rreq.read_size = htonl(wqe->sqe.sge[0].length); in siw_qp_prepare_tx()
Dsiw.h354 struct iwarp_rdma_rreq rreq; member
374 struct iwarp_rdma_rreq rreq; member
525 void siw_read_to_orq(struct siw_sqe *rreq, struct siw_sqe *sqe);
Diwarp.h276 struct iwarp_rdma_rreq rreq; member
/drivers/md/
Draid5.h262 struct bio req, rreq; member
Draid5.c1182 rbi = &dev->rreq; /* For writing to replacement */ in ops_run_io()
2898 if (bi == &sh->dev[i].rreq) { in raid5_end_write_request()
/drivers/infiniband/hw/hfi1/
Dtid_rdma.c1712 struct tid_rdma_read_req *rreq = &ohdr->u.tid_rdma.r_req; in hfi1_build_tid_rdma_read_packet() local
1746 KDETH_RESET(rreq->kdeth0, KVER, 0x1); in hfi1_build_tid_rdma_read_packet()
1747 KDETH_RESET(rreq->kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_read_packet()
1748 rreq->reth.vaddr = cpu_to_be64(wqe->rdma_wr.remote_addr + in hfi1_build_tid_rdma_read_packet()
1750 rreq->reth.rkey = cpu_to_be32(wqe->rdma_wr.rkey); in hfi1_build_tid_rdma_read_packet()
1751 rreq->reth.length = cpu_to_be32(*len); in hfi1_build_tid_rdma_read_packet()
1752 rreq->tid_flow_psn = in hfi1_build_tid_rdma_read_packet()
1757 rreq->tid_flow_qp = in hfi1_build_tid_rdma_read_packet()
1762 rreq->verbs_qp = cpu_to_be32(qp->remote_qpn); in hfi1_build_tid_rdma_read_packet()