diff options
author | Jianxin Xiong <jianxin.xiong@intel.com> | 2020-12-15 13:27:13 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-01-20 16:07:52 -0400 |
commit | 368c0159d492d7fbdb5791b40c9263ec4e97a10f (patch) | |
tree | cd16d9c4358935b05f317e4e2ed096d3e61e74f9 /drivers/acpi/nvs.c | |
parent | abfa456555f4c2bde191cf12064168a05a2865a1 (diff) | |
download | linux-368c0159d492d7fbdb5791b40c9263ec4e97a10f.tar.bz2 |
RDMA/umem: Support importing dma-buf as user memory region
Dma-buf is a standard cross-driver buffer sharing mechanism that can be
used to support peer-to-peer access from RDMA devices.
Device memory exported via dma-buf is associated with a file descriptor.
This is passed to the user space as a property associated with the buffer
allocation. When the buffer is registered as a memory region, the file
descriptor is passed to the RDMA driver along with other parameters.
Implement the common code for importing dma-buf object and mapping dma-buf
pages.
Link: https://lore.kernel.org/r/1608067636-98073-2-git-send-email-jianxin.xiong@intel.com
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Acked-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Acked-by: Christian Koenig <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/acpi/nvs.c')
0 files changed, 0 insertions, 0 deletions