Home
last modified time | relevance | path

Searched full:rdma (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/linux/net/9p/
H A Dtrans_rdma.c3 * RDMA transport layer based on the trans_fd.c implementation.
32 #include <rdma/ib_verbs.h>
33 #include <rdma/rdma_cm.h>
46 * struct p9_trans_rdma - RDMA transport instance
49 * @cm_id: The RDMA CM ID
152 struct p9_trans_rdma *rdma = clnt->trans; in p9_rdma_show_options() local
154 if (rdma->port != P9_PORT) in p9_rdma_show_options()
155 seq_printf(m, ",port=%u", rdma->port); in p9_rdma_show_options()
156 if (rdma->sq_depth != P9_RDMA_SQ_DEPTH) in p9_rdma_show_options()
157 seq_printf(m, ",sq=%u", rdma->sq_depth); in p9_rdma_show_options()
[all …]
/linux/Documentation/admin-guide/cgroup-v1/
H A Drdma.rst2 RDMA Controller
8 1-1. What is RDMA controller?
9 1-2. Why RDMA controller needed?
10 1-3. How is RDMA controller implemented?
16 1-1. What is RDMA controller?
19 RDMA controller allows user to limit RDMA/IB specific resources that a given
20 set of processes can use. These processes are grouped using RDMA controller.
22 RDMA controller defines two resources which can be limited for processes of a
25 1-2. Why RDMA controller needed?
28 Currently user space applications can easily take away all the rdma verb
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_rw.c5 * Use the core R/W API to move RPC-over-RDMA Read and Write chunks.
8 #include <rdma/rw.h>
20 /* Each R/W context contains state for one chain of RDMA Read or
27 * Each WR chain handles only one R_key. Each RPC-over-RDMA segment
55 svc_rdma_get_rw_ctxt(struct svcxprt_rdma *rdma, unsigned int sges) in svc_rdma_get_rw_ctxt() argument
57 struct ib_device *dev = rdma->sc_cm_id->device; in svc_rdma_get_rw_ctxt()
62 spin_lock(&rdma->sc_rw_ctxt_lock); in svc_rdma_get_rw_ctxt()
63 node = llist_del_first(&rdma->sc_rw_ctxts); in svc_rdma_get_rw_ctxt()
64 spin_unlock(&rdma->sc_rw_ctxt_lock); in svc_rdma_get_rw_ctxt()
87 trace_svcrdma_rwctx_empty(rdma, sge in svc_rdma_get_rw_ctxt()
98 svc_rdma_put_rw_ctxt(struct svcxprt_rdma * rdma,struct svc_rdma_rw_ctxt * ctxt) svc_rdma_put_rw_ctxt() argument
109 svc_rdma_destroy_rw_ctxts(struct svcxprt_rdma * rdma) svc_rdma_destroy_rw_ctxts() argument
131 svc_rdma_rw_ctx_init(struct svcxprt_rdma * rdma,struct svc_rdma_rw_ctxt * ctxt,u64 offset,u32 handle,enum dma_data_direction direction) svc_rdma_rw_ctx_init() argument
154 svc_rdma_cc_init(struct svcxprt_rdma * rdma,struct svc_rdma_chunk_ctxt * cc) svc_rdma_cc_init() argument
172 svc_rdma_cc_release(struct svcxprt_rdma * rdma,struct svc_rdma_chunk_ctxt * cc,enum dma_data_direction dir) svc_rdma_cc_release() argument
201 svc_rdma_write_info_alloc(struct svcxprt_rdma * rdma,const struct svc_rdma_chunk * chunk) svc_rdma_write_info_alloc() argument
238 svc_rdma_reply_chunk_release(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * ctxt) svc_rdma_reply_chunk_release() argument
260 struct svcxprt_rdma *rdma = cq->cq_context; svc_rdma_reply_done() local
285 struct svcxprt_rdma *rdma = cq->cq_context; svc_rdma_write_done() local
319 struct svcxprt_rdma *rdma = cq->cq_context; svc_rdma_wc_read_done() local
362 svc_rdma_post_chunk_ctxt(struct svcxprt_rdma * rdma,struct svc_rdma_chunk_ctxt * cc) svc_rdma_post_chunk_ctxt() argument
475 struct svcxprt_rdma *rdma = info->wi_rdma; svc_rdma_build_writes() local
604 svc_rdma_send_write_chunk(struct svcxprt_rdma * rdma,const struct svc_rdma_chunk * chunk,const struct xdr_buf * xdr) svc_rdma_send_write_chunk() argument
646 svc_rdma_send_write_list(struct svcxprt_rdma * rdma,const struct svc_rdma_recv_ctxt * rctxt,const struct xdr_buf * xdr) svc_rdma_send_write_list() argument
678 svc_rdma_prepare_reply_chunk(struct svcxprt_rdma * rdma,const struct svc_rdma_pcl * write_pcl,const struct svc_rdma_pcl * reply_pcl,struct svc_rdma_send_ctxt * sctxt,const struct xdr_buf * xdr) svc_rdma_prepare_reply_chunk() argument
735 struct svcxprt_rdma *rdma = svc_rdma_rqst_rdma(rqstp); svc_rdma_build_read_segment() local
1115 svc_rdma_process_read_list(struct svcxprt_rdma * rdma,struct svc_rqst * rqstp,struct svc_rdma_recv_ctxt * head) svc_rdma_process_read_list() argument
[all...]
H A Dsvc_rdma_sendto.c51 * XDR-encoded RPC Reply message. sendto must construct the RPC-over-RDMA
105 #include <rdma/ib_verbs.h>
106 #include <rdma/rdma_cm.h>
117 svc_rdma_send_ctxt_alloc(struct svcxprt_rdma *rdma) in svc_rdma_send_ctxt_alloc() argument
119 int node = ibdev_to_node(rdma->sc_cm_id->device); in svc_rdma_send_ctxt_alloc()
126 ctxt = kzalloc_node(struct_size(ctxt, sc_sges, rdma->sc_max_send_sges), in svc_rdma_send_ctxt_alloc()
130 pages = svc_serv_maxpages(rdma->sc_xprt.xpt_server); in svc_rdma_send_ctxt_alloc()
136 buffer = kmalloc_node(rdma->sc_max_req_size, GFP_KERNEL, node); in svc_rdma_send_ctxt_alloc()
139 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc()
140 rdma in svc_rdma_send_ctxt_alloc()
167 svc_rdma_send_ctxts_destroy(struct svcxprt_rdma * rdma) svc_rdma_send_ctxts_destroy() argument
190 svc_rdma_send_ctxt_get(struct svcxprt_rdma * rdma) svc_rdma_send_ctxt_get() argument
224 svc_rdma_send_ctxt_release(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * ctxt) svc_rdma_send_ctxt_release() argument
266 svc_rdma_send_ctxt_put(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * ctxt) svc_rdma_send_ctxt_put() argument
279 svc_rdma_wake_send_waiters(struct svcxprt_rdma * rdma,int avail) svc_rdma_wake_send_waiters() argument
297 struct svcxprt_rdma *rdma = cq->cq_context; svc_rdma_wc_send() local
338 svc_rdma_post_send(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * ctxt) svc_rdma_post_send() argument
566 struct svcxprt_rdma *rdma = args->md_rdma; svc_rdma_page_dma_map() local
703 svc_rdma_pull_up_needed(const struct svcxprt_rdma * rdma,const struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct xdr_buf * xdr) svc_rdma_pull_up_needed() argument
784 svc_rdma_pull_up_reply_msg(const struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct xdr_buf * xdr) svc_rdma_pull_up_reply_msg() argument
818 svc_rdma_map_reply_msg(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_pcl * write_pcl,const struct svc_rdma_pcl * reply_pcl,const struct xdr_buf * xdr) svc_rdma_map_reply_msg() argument
880 svc_rdma_send_reply_msg(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_recv_ctxt * rctxt,struct svc_rqst * rqstp) svc_rdma_send_reply_msg() argument
923 svc_rdma_send_error_msg(struct svcxprt_rdma * rdma,struct svc_rdma_send_ctxt * sctxt,struct svc_rdma_recv_ctxt * rctxt,int status) svc_rdma_send_error_msg() argument
992 struct svcxprt_rdma *rdma = svc_rdma_sendto() local
[all...]
H A Dsvc_rdma_backchannel.c5 * Support for reverse-direction RPCs on RPC/RDMA (server-side).
65 * the RPC/RDMA request.
75 static int svc_rdma_bc_sendto(struct svcxprt_rdma *rdma, in svc_rdma_bc_sendto() argument
83 ret = svc_rdma_map_reply_msg(rdma, sctxt, &empty_pcl, &empty_pcl, in svc_rdma_bc_sendto()
93 return svc_rdma_post_send(rdma, sctxt); in svc_rdma_bc_sendto()
136 rpcrdma_bc_send_request(struct svcxprt_rdma *rdma, struct rpc_rqst *rqst) in rpcrdma_bc_send_request() argument
144 ctxt = svc_rdma_send_ctxt_get(rdma); in rpcrdma_bc_send_request()
160 rc = svc_rdma_bc_sendto(rdma, rqst, ctxt); in rpcrdma_bc_send_request()
166 svc_rdma_send_ctxt_put(rdma, ctxt); in rpcrdma_bc_send_request()
183 struct svcxprt_rdma *rdma = in xprt_rdma_bc_send_request() local
[all …]
/linux/Documentation/admin-guide/nfs/
H A Dnfs-rdma.rst2 Setting up NFS/RDMA
14 This document describes how to install and setup the Linux NFS/RDMA client
17 The NFS/RDMA client was first included in Linux 2.6.24. The NFS/RDMA server
23 RDMA adapters.
29 nfs-rdma-devel@lists.sourceforge.net mailing list.
35 use with NFS/RDMA.
37 - Install an RDMA device
46 The first kernel release to contain both the NFS/RDMA client and server was
55 An NFS/RDMA mount point can be obtained by using the mount.nfs command in
57 version with support for NFS/RDMA mounts, but for various reasons we
[all …]
/linux/drivers/gpu/drm/meson/
H A Dmeson_rdma.c19 * by the VSYNC irq and does not handle the RDMA irq.
26 if (!priv->rdma.addr) { in meson_rdma_init()
28 priv->rdma.addr = in meson_rdma_init()
30 &priv->rdma.addr_dma, in meson_rdma_init()
32 if (!priv->rdma.addr) in meson_rdma_init()
36 priv->rdma.offset = 0; in meson_rdma_init()
50 if (!priv->rdma.addr && !priv->rdma.addr_dma) in meson_rdma_free()
56 priv->rdma.addr, priv->rdma.addr_dma); in meson_rdma_free()
58 priv->rdma.addr = NULL; in meson_rdma_free()
59 priv->rdma.addr_dma = (dma_addr_t)0; in meson_rdma_free()
[all …]
/linux/include/linux/sunrpc/
H A Dsvc_rdma.h54 #include <rdma/ib_verbs.h>
55 #include <rdma/rdma_cm.h>
64 /* RPC/RDMA parameters and stats */
78 struct rdma_cm_id *sc_cm_id; /* RDMA connection id */
81 int sc_ord; /* RDMA read limit */
142 * @rdma: controlling transport
145 static inline void svc_rdma_recv_cid_init(struct svcxprt_rdma *rdma, in svc_rdma_recv_cid_init() argument
148 cid->ci_queue_id = rdma->sc_rq_cq->res.id; in svc_rdma_recv_cid_init()
149 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_recv_cid_init()
154 * @rdma
157 svc_rdma_send_cid_init(struct svcxprt_rdma * rdma,struct rpc_rdma_cid * cid) svc_rdma_send_cid_init() argument
[all...]
H A Drpc_rdma.h66 * Smallest RPC/RDMA header: rm_xid through rm_type, then rm_nochunks
81 RDMA_ERROR = 4 /* An RPC RDMA encoding error */
94 * Private extension to RPC-over-RDMA Version One.
95 * Message passed during RDMA-CM connection set-up.
128 * xdr_encode_rdma_segment - Encode contents of an RDMA segment
130 * @handle: The RDMA handle to encode
131 * @length: The RDMA length to encode
132 * @offset: The RDMA offset to encode
135 * Pointer to the XDR position that follows the encoded RDMA segment
149 * @handle: The RDMA handle to encode
[all …]
/linux/Documentation/filesystems/smb/
H A Dsmbdirect.rst4 SMB Direct - SMB3 over RDMA
8 use RDMA.
13 scheme for SMB3 that uses RDMA (Remote Direct Memory Access) to provide
21 - Install an RDMA device. As long as the RDMA device driver is supported
32 - Configure the RDMA stack
34 Make sure that your kernel configuration has RDMA support enabled. Under
43 For soft RDMA, enable either the soft iWARP (`RDMA _SIW`) or soft RoCE
45 `rdma link add` command to load the module and create an
46 RDMA interface.
52 sudo rdma link add siw0 type siw netdev eth0
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dmediatek,mdp3-rdma.yaml4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-rdma.yaml#
14 MediaTek Read Direct Memory Access(RDMA) component used to do read DMA.
25 - mediatek,mt8183-mdp3-rdma
26 - mediatek,mt8188-mdp3-rdma
27 - mediatek,mt8195-mdp3-rdma
28 - mediatek,mt8195-vdo1-rdma
30 - const: mediatek,mt8188-vdo1-rdma
31 - const: mediatek,mt8195-vdo1-rdma
68 - description: RDMA clock
77 - description: used for 1st data pipe from RDMA
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp4 Contact: linux-rdma@vger.kernel.org
47 communicated from initiator to target via an additional RDMA
59 MSI-X completion vector of the first RDMA channel. Some
77 Contact: linux-rdma@vger.kernel.org
83 Contact: linux-rdma@vger.kernel.org
89 Contact: linux-rdma@vger.kernel.org
97 Contact: linux-rdma@vger.kernel.org
98 Description: Number of RDMA channels used for communication with the SRP
104 Contact: linux-rdma@vger.kernel.org
111 Contact: linux-rdma@vger.kernel.org
[all …]
/linux/include/rdma/
H A Drdma_cm.h12 #include <rdma/ib_addr.h>
13 #include <rdma/ib_sa.h>
14 #include <uapi/rdma/rdma_user_cm.h>
18 * RDMA identifier and release all resources allocated with the device.
142 * rdma_create_id - Create an RDMA identifier.
148 * @ps: RDMA port space.
162 * rdma_destroy_id - Destroys an RDMA identifier.
164 * @id: RDMA identifier.
172 * rdma_bind_addr - Bind an RDMA identifier to a source address and
173 * associated RDMA devic
[all...]
/linux/drivers/infiniband/ulp/rtrs/
H A DREADME2 RDMA Transport (RTRS)
5 RTRS (RDMA Transport) is a reliable high speed transport library
7 between client and server machines using RDMA (InfiniBand, RoCE, iWarp)
19 RTRS is used by the RNBD (RDMA Network Block Device) modules.
29 server side for a given client for rdma transfer. A session
49 discussed in LPC RDMA MC 2019. When always_invalidate=Y, on the server side we
50 invalidate each rdma buffer before we hand it over to RNBD server and
89 which contains the addresses and keys of the RDMA buffers allocated for that
95 6. Server and client exchange periodically heartbeat messages (empty rdma
99 7. On any RDMA related error or in the case of a heartbeat timeout, the
[all …]
H A Drtrs-pri.h3 * RDMA Transport Layer
14 #include <rdma/rdma_cm.h>
15 #include <rdma/ib_verbs.h>
16 #include <rdma/ib.h>
139 * @RTRS_MSG_WRITE: Client writes data per RDMA to server
162 * struct rtrs_sg_desc - RDMA-Buffer entry description
163 * @addr: Address of RDMA destination buffer
187 * see https://www.spinics.net/lists/linux-rdma/msg22397.html
243 * @desc: RDMA buffers where the client can write to server
255 * @buf_id: RDMA buf_id of the new rkey
[all …]
H A DKconfig12 RDMA transport client module.
14 RDMA Transport (RTRS) client implements a reliable transport layer
16 the base layer for a block storage initiator over RDMA.
23 RDMA transport server module.
25 RDMA Transport (RTRS) server module processing connection and IO
/linux/drivers/net/ethernet/intel/ice/
H A Dice_idc.c34 * ice_send_event_to_aux - send event to RDMA AUX driver
64 * ice_add_rdma_qset - Add Leaf Node for RDMA Qset
93 dev_err(dev, "RDMA QSet invalid VSI\n"); in ice_add_rdma_qset()
106 dev_err(dev, "Failed VSI RDMA Qset config\n"); in ice_add_rdma_qset()
113 dev_err(dev, "Failed VSI RDMA Qset enable\n"); in ice_add_rdma_qset()
123 * ice_del_rdma_qset - Delete leaf node for RDMA Qset
143 dev_err(ice_pf_to_dev(pf), "RDMA Invalid VSI\n"); in ice_del_rdma_qset()
155 * ice_rdma_request_reset - accept request from RDMA to perform a reset
188 * ice_rdma_update_vsi_filter - update main VSI filters for RDMA
212 dev_err(ice_pf_to_dev(pf), "Failed to %sable RDMA filtering\n", in ice_rdma_update_vsi_filter()
[all …]
/linux/drivers/infiniband/core/
H A Dcgroup.c9 * ib_device_register_rdmacg - register with rdma cgroup.
11 * accounting by rdma cgroup.
13 * Register with the rdma cgroup. Should be called before
14 * exposing rdma device to user space applications to avoid
24 * ib_device_unregister_rdmacg - unregister with rdma cgroup.
27 * Unregister with the rdma cgroup. Should be called after
/linux/drivers/infiniband/hw/hfi1/
H A Dverbs.h18 #include <rdma/ib_pack.h>
19 #include <rdma/ib_user_verbs.h>
20 #include <rdma/ib_mad.h>
21 #include <rdma/ib_hdrs.h>
22 #include <rdma/rdma_vt.h>
23 #include <rdma/rdmavt_qp.h>
24 #include <rdma/rdmavt_cq.h>
134 atomic_t n_requests; /* # of TID RDMA requests in the */
136 atomic_t n_tid_requests; /* # of sent TID RDMA requests */
140 /* variables for the TID RDMA SE state machine */
[all …]
/linux/kernel/cgroup/
H A Drdma.c3 * RDMA resource limiting controller for cgroups.
6 * additional RDMA resources after a certain limit is reached.
22 * and rdma device list.
42 /* resource tracker for each resource of rdma cgroup */
152 * uncharge_cg_locked - uncharge resource for rdma cgroup
172 * if there a bug in IB stack or rdma controller, instead of crashing in uncharge_cg_locked()
176 pr_warn("Invalid device %p or rdma cgroup %p\n", cg, device); in uncharge_cg_locked()
184 * it indicates a bug in the rdma controller. in uncharge_cg_locked()
199 * rdmacg_uncharge_hierarchy - hierarchically uncharge rdma resource count
224 * rdmacg_uncharge - hierarchically uncharge rdma resource count
[all …]
/linux/include/linux/
H A Dnvme-rdma.h58 * struct nvme_rdma_cm_req - rdma connect request
60 * @recfmt: format of the RDMA Private Data
75 * struct nvme_rdma_cm_rep - rdma connect reply
77 * @recfmt: format of the RDMA Private Data
87 * struct nvme_rdma_cm_rej - rdma connect reject
89 * @recfmt: format of the RDMA Private Data
/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.h44 #include <rdma/ib_verbs.h>
45 #include <rdma/ib_sa.h>
46 #include <rdma/ib_cm.h>
47 #include <rdma/rdma_cm.h>
97 * RDMA adapter in the initiator system.
99 * @dev_list: List of RDMA ports associated with this RDMA adapter (srp_host).
118 * One port of an RDMA adapter in the initiator system.
145 * @comp_vector: Completion vector used by this RDMA channel.
196 * struct srp_target_port - RDMA port in the SRP target system
197 * @comp_vector: Completion vector used by the first RDMA channel created for
/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h42 #include <rdma/ib_verbs.h>
43 #include <rdma/ib_sa.h>
44 #include <rdma/ib_cm.h>
45 #include <rdma/rdma_cm.h>
46 #include <rdma/rw.h>
202 * @rw_ctxs: RDMA read/write contexts.
204 * @rdma_cqe: RDMA completion queue element.
251 * struct srpt_rdma_ch - RDMA channel
257 * @rdma_cm.cm_id: RDMA CM ID associated with the channel.
277 * @using_rdma_cm: Whether the RDMA/CM or IB/CM is used for this channel.
[all …]
/linux/fs/smb/client/
H A Dsmbdirect.c55 struct smb_extract_to_rdma *rdma);
75 * Default maximum number of RDMA read/write outstanding on this connection
109 * User configurable initial values for RDMA transport
112 /* Default maximum number of pages in a single RDMA write/read */
115 /* If payload is less than this byte, use RDMA send/recv not read/write */
209 rdma_disconnect(sc->rdma.cm_id); in smbd_disconnect_rdma_work()
306 /* Upcall from RDMA CM */
407 sc->rdma.legacy_iwarp = true; in smbd_conn_upcall()
461 /* Upcall from RDMA QP */
491 /* Called when a RDMA send is done */
[all …]
/linux/drivers/infiniband/sw/rxe/
H A DKconfig3 tristate "Software RDMA over Ethernet (RoCE) driver"
9 This driver implements the InfiniBand RDMA transport over
18 Linux RDMA stack and implements a kernel or user space
27 https://github.com/linux-rdma/rdma-core/blob/master/Documentation/rxe.md

12345678910>>...20