summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/umem_odp.c
diff options
context:
space:
mode:
authorArtemy Kovalyov <artemyko@mellanox.com>2019-12-22 14:46:47 +0200
committerJason Gunthorpe <jgg@mellanox.com>2020-01-03 17:00:13 -0400
commitcbe4b8f0a5766a40563876932cba6c9bf28eb98a (patch)
treec147c63d13be73964e2e7086d6c2842edb58e4d4 /drivers/infiniband/core/umem_odp.c
parent4ad6429d2713924afe10cd960535600b241560a3 (diff)
IB/mlx5: Unify ODP MR code paths to allow extra flexibility
Building MR translation table in the ODP case requires additional flexibility, namely random access to DMA addresses. Make both direct and indirect ODP MR use same code path, separated from the non-ODP MR code path. With the restructuring the correct page_shift is now used around __mlx5_ib_populate_pas(). Fixes: d2183c6f1958 ("RDMA/umem: Move page_shift from ib_umem to ib_odp_umem") Link: https://lore.kernel.org/r/20191222124649.52300-2-leon@kernel.org Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/umem_odp.c')
0 files changed, 0 insertions, 0 deletions