]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/umem: Use ib_umem_odp in all function signatures connected to ODP
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 16 Sep 2018 17:48:04 +0000 (20:48 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 21 Sep 2018 15:54:46 +0000 (11:54 -0400)
commitd0fe535ecbff52cd07f24dff757f9507733b4c15
treeeffa32fdc05085c5453288dad3a0aa2458c4e972
parent8417023dfe47b4023ffd9e8623a3d7c95155117d
RDMA/umem: Use ib_umem_odp in all function signatures connected to ODP

All of these functions already require the ODP version of the umem struct,
make this very clear by having the signature require it. This paves the
way to using the container_of() pattern to link umem_odp and umem
together.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/umem.c
drivers/infiniband/core/umem_odp.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/odp.c
include/rdma/ib_umem_odp.h
include/rdma/ib_verbs.h