aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorGravatar Yishai Hadas <yishaih@mellanox.com> 2020-03-24 08:01:43 +0200
committerGravatar Jason Gunthorpe <jgg@mellanox.com> 2020-03-27 12:59:05 -0300
commit0a2fd01c28ae490a639a32a52b81fb2df48b92a0 (patch)
tree6aef7684363833f4f5246727bcc1ff8fb7537dd4 /include/uapi/rdma
parentIB/mlx5: Limit the scope of struct mlx5_bfreg_info to mlx5_ib (diff)
downloadlinux-0a2fd01c28ae490a639a32a52b81fb2df48b92a0.tar.gz
linux-0a2fd01c28ae490a639a32a52b81fb2df48b92a0.tar.bz2
linux-0a2fd01c28ae490a639a32a52b81fb2df48b92a0.zip
IB/mlx5: Move to fully dynamic UAR mode once user space supports it
Move to fully dynamic UAR mode once user space supports it. In this case we prevent any legacy mode of UARs on the allocated context and prevent redundant allocation of the static ones. Link: https://lore.kernel.org/r/20200324060143.1569116-6-leon@kernel.org Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Reviewed-by: Michael Guralnik <michaelgur@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/mlx5-abi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h
index a65d60b44829..df1cc3641bda 100644
--- a/include/uapi/rdma/mlx5-abi.h
+++ b/include/uapi/rdma/mlx5-abi.h
@@ -79,6 +79,7 @@ struct mlx5_ib_alloc_ucontext_req {
enum mlx5_lib_caps {
MLX5_LIB_CAP_4K_UAR = (__u64)1 << 0,
+ MLX5_LIB_CAP_DYN_UAR = (__u64)1 << 1,
};
enum mlx5_ib_alloc_uctx_v2_flags {