diff options
| author | Jianxin Xiong <[email protected]> | 2020-12-15 13:27:13 -0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-01-20 16:07:52 -0400 |
| commit | 368c0159d492d7fbdb5791b40c9263ec4e97a10f (patch) | |
| tree | cd16d9c4358935b05f317e4e2ed096d3e61e74f9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | abfa456555f4c2bde191cf12064168a05a2865a1 (diff) | |
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/[email protected]
Signed-off-by: Jianxin Xiong <[email protected]>
Reviewed-by: Sean Hefty <[email protected]>
Acked-by: Michael J. Ruhl <[email protected]>
Acked-by: Christian Koenig <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions