RDMA/mlx5: Use ib_umem_start instead of umem.address
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 19 Aug 2019 11:17:09 +0000 (14:17 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Aug 2019 17:08:43 +0000 (14:08 -0300)
commita705f3e3a1a8cbe0064730024398b2320ae1ce74
treee081ec17fb14e827225d59dd9bb2b8e293eb6253
parentce51346feede2ea41de0ad58af2b514223e11dad
RDMA/mlx5: Use ib_umem_start instead of umem.address

These are subtly different, the address is the original VA requested
during umem_get, while ib_umem_start() is the version that is rounded to
the proper page size, ie is the true start of the umem's dma map.

Link: https://lore.kernel.org/r/20190819111710.18440-12-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/odp.c