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>
Este cometimento está contido em:

cometido por
Doug Ledford

ascendente
41b4deeaa1
cometimento
597ecc5a09
@@ -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;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador