]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/efa: Add support for dmabuf memory regions
authorGal Pressman <galpress@amazon.com>
Tue, 12 Oct 2021 12:09:03 +0000 (15:09 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 28 Oct 2021 11:58:26 +0000 (08:58 -0300)
commit1ccf32305255eb66c757bdfe9ebb08579acefd61
treebba50ab47a6d4160d6c9cc6804f3ab101e5f1490
parentedf027f5afde46476682580ce2052c09c40089c2
RDMA/efa: Add support for dmabuf memory regions

Implement a dmabuf importer for the EFA driver. As ODP is not supported,
the pinned dmabuf are used to prevent the move_notify callback from being
called.

Link: https://lore.kernel.org/r/20211012120903.96933-4-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/efa/efa.h
drivers/infiniband/hw/efa/efa_main.c
drivers/infiniband/hw/efa/efa_verbs.c