diff options
author | Gal Pressman <galpress@amazon.com> | 2021-10-12 15:09:02 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-10-28 08:58:26 -0300 |
commit | 1e4df4a21c5ac722df1099eee30cad9246c889b5 (patch) | |
tree | f0b3af65c7ea5416f698aca4b7d827cbd14bd267 /drivers/infiniband/hw/efa/efa_verbs.c | |
parent | dma-buf: Fix pin callback comment (diff) | |
download | linux-dev-1e4df4a21c5ac722df1099eee30cad9246c889b5.tar.xz linux-dev-1e4df4a21c5ac722df1099eee30cad9246c889b5.zip |
RDMA/umem: Allow pinned dmabuf umem usage
Introduce ib_umem_dmabuf_get_pinned() which allows the driver to get a
dmabuf umem which is pinned and does not require move_notify callback
implementation.
The returned umem is pinned and DMA mapped like standard cpu umems, and is
released through ib_umem_release() (incl. unpinning and unmapping).
Link: https://lore.kernel.org/r/20211012120903.96933-3-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions