diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-16 20:48:06 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-09-21 18:54:46 +0300 |
commit | 597ecc5a095406a668e53ab330495ddb65327f77 (patch) | |
tree | db33ff15c4be7bea3f1ab47702c951ecae189509 /include/rdma | |
parent | 41b4deeaa123e62e1037af7a0be547af2e0e05f1 (diff) | |
download | linux-597ecc5a095406a668e53ab330495ddb65327f77.tar.xz |
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>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_umem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rdma/ib_umem.h b/include/rdma/ib_umem.h index e1c00b2ead19..5d3755ec5afa 100644 --- a/include/rdma/ib_umem.h +++ b/include/rdma/ib_umem.h @@ -46,10 +46,10 @@ struct ib_umem { size_t length; unsigned long address; int page_shift; - int writable; - int hugetlb; + u32 writable : 1; + u32 hugetlb : 1; + u32 is_odp : 1; struct work_struct work; - struct ib_umem_odp *odp_data; struct sg_table sg_head; int nmap; int npages; |