RDMA/mlx5: Embed into the code flow the ODP config option
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 8 Jan 2019 14:07:26 +0000 (16:07 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 8 Jan 2019 23:41:38 +0000 (16:41 -0700)
commit13859d5df418ea535926e2b57c29d5161c522b9d
tree7dc6de94455552d1ee03c5861e499875c99699c2
parent8b4d5bc5cf3f813dc4df5d69c2fcde16c40d8abd
RDMA/mlx5: Embed into the code flow the ODP config option

Convert various places to more readable code, which embeds
CONFIG_INFINIBAND_ON_DEMAND_PAGING into the code flow.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mem.c
drivers/infiniband/hw/mlx5/mr.c
include/rdma/ib_umem_odp.h