RDMA/odp: Split creating a umem_odp from ib_umem_get
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 19 Aug 2019 11:17:04 +0000 (14:17 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Aug 2019 17:08:42 +0000 (14:08 -0300)
commit261dc53f8ee037bf2fbf68f90c319b04062a126c
tree9560fb1c89660afe0ebb2666a9b7c77cc7e5d163
parentf20bef6a951b6ef619655ed846113f706d0824d7
RDMA/odp: Split creating a umem_odp from ib_umem_get

This is the last creation API that is overloaded for both, there is very
little code sharing and a driver has to be specifically ready for a
umem_odp to be created to use the odp version.

Link: https://lore.kernel.org/r/20190819111710.18440-7-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/umem.c
drivers/infiniband/core/umem_odp.c
drivers/infiniband/hw/mlx5/mem.c
drivers/infiniband/hw/mlx5/mr.c
include/rdma/ib_umem_odp.h