]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dd8dff7ecc6096940d5f932a8a61a5ec1daafed
treee081ec17fb14e827225d59dd9bb2b8e293eb6253
parentd710111874ac6a789984592167141ffdb33ee373
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