diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2017-12-24 15:31:34 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-28 19:33:14 +0100 |
commit | 31a78a5a7983141c17852d31eb3a1f70d8161225 (patch) | |
tree | 662a31e605511ab2a7015a4c81572b0991caaa0d /include/uapi/rdma/mlx5-abi.h | |
parent | IB/mlx5: Report inner RSS capability (diff) | |
download | linux-31a78a5a7983141c17852d31eb3a1f70d8161225.tar.xz linux-31a78a5a7983141c17852d31eb3a1f70d8161225.zip |
IB/mlx5: Extend UAR stuff to support dynamic allocation
This patch extends the alloc context flow to be prepared for working
with dynamic UAR allocations.
Currently upon alloc context there is some fix size of UARs that are
allocated (named 'static allocation') and there is no option to user
application to ask for more or control which UAR will be used by which
QP.
In this patch the driver prepares its data structures to manage both the
static and the dynamic allocations and let the user driver knows about
the max value of dynamic blue-flame registers that are allowed.
Downstream patches from this series will enable the dynamic allocation
and the association as part of QP creation.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma/mlx5-abi.h')
-rw-r--r-- | include/uapi/rdma/mlx5-abi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h index 062d14f07b61..12c523a1dd18 100644 --- a/include/uapi/rdma/mlx5-abi.h +++ b/include/uapi/rdma/mlx5-abi.h @@ -125,6 +125,8 @@ struct mlx5_ib_alloc_ucontext_resp { __u64 hca_core_clock_offset; __u32 log_uar_size; __u32 num_uars_per_page; + __u32 num_dyn_bfregs; + __u32 reserved3; }; struct mlx5_ib_alloc_pd_resp { |