]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa08f0c37641786d3f6a38f54f35a5c04824c5ad
treedb33ff15c4be7bea3f1ab47702c951ecae189509
parentfa342c510c86ef64bd3abd662db597042ed9c628
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