diff options
| author | Yishai Hadas <[email protected]> | 2020-03-24 08:01:43 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-03-27 12:59:05 -0300 |
| commit | 0a2fd01c28ae490a639a32a52b81fb2df48b92a0 (patch) | |
| tree | 6aef7684363833f4f5246727bcc1ff8fb7537dd4 /include | |
| parent | 2152862298fbfd237d37c231dfca8ae8f3ed0e48 (diff) | |
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/[email protected]
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Michael Guralnik <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/rdma/mlx5-abi.h | 1 |
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 { |