| /kernel/linux/linux-6.6/net/9p/ |
| D | trans_rdma.c | 3 * 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 …]
|
| /kernel/linux/linux-5.10/net/9p/ |
| D | trans_rdma.c | 5 * RDMA transport layer based on the trans_fd.c implementation. 35 #include <rdma/ib_verbs.h> 36 #include <rdma/rdma_cm.h> 49 * struct p9_trans_rdma - RDMA transport instance 52 * @cm_id: The RDMA CM ID 153 struct p9_trans_rdma *rdma = clnt->trans; in p9_rdma_show_options() local 155 if (rdma->port != P9_PORT) in p9_rdma_show_options() 156 seq_printf(m, ",port=%u", rdma->port); in p9_rdma_show_options() 157 if (rdma->sq_depth != P9_RDMA_SQ_DEPTH) in p9_rdma_show_options() 158 seq_printf(m, ",sq=%u", rdma->sq_depth); in p9_rdma_show_options() [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/cgroup-v1/ |
| D | rdma.rst | 2 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
| D | rdma.rst | 2 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
| D | mtk_disp_rdma.c | 52 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size) argument 109 struct mtk_disp_rdma *rdma = dev_get_drvdata(dev); in rdma_update_bits() local 110 unsigned int tmp = readl(rdma->regs + reg); in rdma_update_bits() 113 writel(tmp, rdma->regs + reg); in rdma_update_bits() 120 struct mtk_disp_rdma *rdma = dev_get_drvdata(dev); in mtk_rdma_register_vblank_cb() local 122 rdma->vblank_cb = vblank_cb; in mtk_rdma_register_vblank_cb() 123 rdma->vblank_cb_data = vblank_cb_data; in mtk_rdma_register_vblank_cb() 128 struct mtk_disp_rdma *rdma = dev_get_drvdata(dev); in mtk_rdma_unregister_vblank_cb() local 130 rdma->vblank_cb = NULL; in mtk_rdma_unregister_vblank_cb() 131 rdma->vblank_cb_data = NULL; in mtk_rdma_unregister_vblank_cb() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/mediatek/ |
| D | mediatek,rdma.yaml | 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,rdma.yaml# 14 Mediatek Read Direct Memory Access(RDMA) component used to read the 18 RDMA device node must be siblings to the central MMSYS_CONFIG node. 27 - mediatek,mt2701-disp-rdma 28 - mediatek,mt8173-disp-rdma 29 - mediatek,mt8183-disp-rdma 30 - mediatek,mt8195-disp-rdma 33 - mediatek,mt8188-disp-rdma 34 - const: mediatek,mt8195-disp-rdma 37 - mediatek,mt7623-disp-rdma [all …]
|
| /kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
| D | svc_rdma_rw.c | 5 * 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 53 svc_rdma_get_rw_ctxt(struct svcxprt_rdma *rdma, unsigned int sges) in svc_rdma_get_rw_ctxt() argument 57 spin_lock(&rdma->sc_rw_ctxt_lock); in svc_rdma_get_rw_ctxt() 59 ctxt = svc_rdma_next_ctxt(&rdma->sc_rw_ctxts); in svc_rdma_get_rw_ctxt() 62 spin_unlock(&rdma->sc_rw_ctxt_lock); in svc_rdma_get_rw_ctxt() 64 spin_unlock(&rdma->sc_rw_ctxt_lock); in svc_rdma_get_rw_ctxt() 82 trace_svcrdma_no_rwctx_err(rdma, sges); in svc_rdma_get_rw_ctxt() [all …]
|
| D | svc_rdma_sendto.c | 51 * XDR-encoded RPC Reply message. sendto must construct the RPC-over-RDMA 105 #include <rdma/ib_verbs.h> 106 #include <rdma/rdma_cm.h> 125 static void svc_rdma_send_cid_init(struct svcxprt_rdma *rdma, in svc_rdma_send_cid_init() argument 128 cid->ci_queue_id = rdma->sc_sq_cq->res.id; in svc_rdma_send_cid_init() 129 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_send_cid_init() 133 svc_rdma_send_ctxt_alloc(struct svcxprt_rdma *rdma) in svc_rdma_send_ctxt_alloc() argument 142 size += rdma->sc_max_send_sges * sizeof(struct ib_sge); in svc_rdma_send_ctxt_alloc() 146 buffer = kmalloc(rdma->sc_max_req_size, GFP_KERNEL); in svc_rdma_send_ctxt_alloc() 149 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc() [all …]
|
| D | svc_rdma_recvfrom.c | 49 * be read. "Data Ready" is signaled when an RDMA Receive completes, 50 * or when a set of RDMA Reads complete. 61 * svc_rdma_recvfrom must post RDMA Reads to pull the RPC Call's 63 * RDMA Reads using pages in svc_rqst::rq_pages, which are 76 * of the RPC Call message, using the RDMA Read sink pages kept in 86 * The first svc_rqst supplies pages for RDMA Reads. These are moved 91 * During the second svc_rdma_recvfrom call, RDMA Read sink pages 98 #include <rdma/ib_verbs.h> 99 #include <rdma/rdma_cm.h> 120 static void svc_rdma_recv_cid_init(struct svcxprt_rdma *rdma, in svc_rdma_recv_cid_init() argument [all …]
|
| D | svc_rdma_transport.c | 52 #include <rdma/ib_verbs.h> 53 #include <rdma/rdma_cm.h> 54 #include <rdma/rw.h> 94 .xcl_name = "rdma", 154 * paragraph 2). For now, we assume that all supported RDMA in svc_rdma_create_xprt() 276 struct svcxprt_rdma *rdma = cma_id->context; in svc_rdma_cma_handler() local 277 struct svc_xprt *xprt = &rdma->sc_xprt; in svc_rdma_cma_handler() 281 clear_bit(RDMAXPRT_CONN_PENDING, &rdma->sc_flags); in svc_rdma_cma_handler() 296 * Create a listening RDMA service endpoint. 478 /* Construct RDMA-CM private message */ in svc_rdma_accept() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/meson/ |
| D | meson_rdma.c | 19 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
| D | meson_rdma.c | 19 * 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 …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/nfs/ |
| D | nfs-rdma.rst | 2 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/nfs/ |
| D | nfs-rdma.rst | 2 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 …]
|
| /kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
| D | svc_rdma_sendto.c | 51 * XDR-encoded RPC Reply message. sendto must construct the RPC-over-RDMA 105 #include <rdma/ib_verbs.h> 106 #include <rdma/rdma_cm.h> 116 static void svc_rdma_send_cid_init(struct svcxprt_rdma *rdma, in svc_rdma_send_cid_init() argument 119 cid->ci_queue_id = rdma->sc_sq_cq->res.id; in svc_rdma_send_cid_init() 120 cid->ci_completion_id = atomic_inc_return(&rdma->sc_completion_ids); in svc_rdma_send_cid_init() 124 svc_rdma_send_ctxt_alloc(struct svcxprt_rdma *rdma) in svc_rdma_send_ctxt_alloc() argument 126 int node = ibdev_to_node(rdma->sc_cm_id->device); in svc_rdma_send_ctxt_alloc() 132 ctxt = kmalloc_node(struct_size(ctxt, sc_sges, rdma->sc_max_send_sges), in svc_rdma_send_ctxt_alloc() 136 buffer = kmalloc_node(rdma->sc_max_req_size, GFP_KERNEL, node); in svc_rdma_send_ctxt_alloc() [all …]
|
| D | svc_rdma_rw.c | 5 * 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 54 svc_rdma_get_rw_ctxt(struct svcxprt_rdma *rdma, unsigned int sges) in svc_rdma_get_rw_ctxt() argument 59 spin_lock(&rdma->sc_rw_ctxt_lock); in svc_rdma_get_rw_ctxt() 60 node = llist_del_first(&rdma->sc_rw_ctxts); in svc_rdma_get_rw_ctxt() 61 spin_unlock(&rdma->sc_rw_ctxt_lock); in svc_rdma_get_rw_ctxt() 66 GFP_KERNEL, ibdev_to_node(rdma->sc_cm_id->device)); in svc_rdma_get_rw_ctxt() 83 trace_svcrdma_no_rwctx_err(rdma, sges); in svc_rdma_get_rw_ctxt() [all …]
|
| D | svc_rdma_recvfrom.c | 49 * be read. "Data Ready" is signaled when an RDMA Receive completes, 50 * or when a set of RDMA Reads complete. 61 * svc_rdma_recvfrom must post RDMA Reads to pull the RPC Call's 63 * RDMA Reads using pages in svc_rqst::rq_pages, which are 76 * of the RPC Call message, using the RDMA Read sink pages kept in 86 * The first svc_rqst supplies pages for RDMA Reads. These are moved 91 * During the second svc_rdma_recvfrom call, RDMA Read sink pages 98 #include <rdma/ib_verbs.h> 99 #include <rdma/rdma_cm.h> 118 static void svc_rdma_recv_cid_init(struct svcxprt_rdma *rdma, in svc_rdma_recv_cid_init() argument [all …]
|
| /kernel/linux/linux-6.6/include/linux/sunrpc/ |
| D | rpc_rdma.h | 66 * 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 …]
|
| D | svc_rdma.h | 53 #include <rdma/ib_verbs.h> 54 #include <rdma/rdma_cm.h> 63 /* RPC/RDMA parameters and stats */ 76 struct rdma_cm_id *sc_cm_id; /* RDMA connection id */ 78 int sc_ord; /* RDMA read limit */ 171 extern void svc_rdma_recv_ctxts_destroy(struct svcxprt_rdma *rdma); 172 extern bool svc_rdma_post_recvs(struct svcxprt_rdma *rdma); 174 svc_rdma_recv_ctxt_get(struct svcxprt_rdma *rdma); 175 extern void svc_rdma_recv_ctxt_put(struct svcxprt_rdma *rdma, 177 extern void svc_rdma_flush_recv_queues(struct svcxprt_rdma *rdma); [all …]
|
| /kernel/linux/linux-5.10/include/linux/sunrpc/ |
| D | rpc_rdma.h | 66 * 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 …]
|
| D | svc_rdma.h | 50 #include <rdma/ib_verbs.h> 51 #include <rdma/rdma_cm.h> 60 /* RPC/RDMA parameters and stats */ 78 struct rdma_cm_id *sc_cm_id; /* RDMA connection id */ 80 int sc_ord; /* RDMA read limit */ 172 extern void svc_rdma_recv_ctxts_destroy(struct svcxprt_rdma *rdma); 173 extern bool svc_rdma_post_recvs(struct svcxprt_rdma *rdma); 174 extern void svc_rdma_recv_ctxt_put(struct svcxprt_rdma *rdma, 176 extern void svc_rdma_flush_recv_queues(struct svcxprt_rdma *rdma); 181 extern void svc_rdma_destroy_rw_ctxts(struct svcxprt_rdma *rdma); [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/stable/ |
| D | sysfs-driver-ib_srp | 4 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 …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/stable/ |
| D | sysfs-driver-ib_srp | 4 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 …]
|
| /kernel/linux/linux-6.6/include/rdma/ |
| D | rdma_cm.h | 12 #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. 134 * rdma_create_id - Create an RDMA identifier. 140 * @ps: RDMA port space. 154 * rdma_destroy_id - Destroys an RDMA identifier. 156 * @id: RDMA identifier. 164 * rdma_bind_addr - Bind an RDMA identifier to a source address and 165 * associated RDMA device, if needed. [all …]
|
| /kernel/linux/linux-5.10/include/rdma/ |
| D | rdma_cm.h | 12 #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. 123 * rdma_create_id - Create an RDMA identifier. 129 * @ps: RDMA port space. 143 * rdma_destroy_id - Destroys an RDMA identifier. 145 * @id: RDMA identifier. 153 * rdma_bind_addr - Bind an RDMA identifier to a source address and 154 * associated RDMA device, if needed. [all …]
|