RDMA/umem: Get rid of struct ib_umem.odp_data
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 16 Sep 2018 17:48:06 +0000 (20:48 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 21 Sep 2018 15:54:46 +0000 (11:54 -0400)
commit597ecc5a095406a668e53ab330495ddb65327f77
treedb33ff15c4be7bea3f1ab47702c951ecae189509
parent41b4deeaa123e62e1037af7a0be547af2e0e05f1
RDMA/umem: Get rid of struct ib_umem.odp_data

This no longer has any use, we can use container_of to get to the
umem_odp, and a simple flag to indicate if this is an odp MR. Remove the
few remaining references to it.

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/mem.c
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/odp.c
include/rdma/ib_umem.h