diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2017-12-24 15:31:36 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-28 19:37:46 +0100 |
commit | 1ee47ab3e8d868185ec9a0bfe5da2a7f502c04ab (patch) | |
tree | 48cc91e7c70fb1921598767d979677771bb2674b /include/uapi/rdma/mlx5-abi.h | |
parent | IB/mlx5: Expose dynamic mmap allocation (diff) | |
download | linux-1ee47ab3e8d868185ec9a0bfe5da2a7f502c04ab.tar.xz linux-1ee47ab3e8d868185ec9a0bfe5da2a7f502c04ab.zip |
IB/mlx5: Enable QP creation with a given blue flame index
This patch enables QP creation with a given BF index, this allows the
user space driver to share same BF between few QPs or alternatively have
a dedicated BF per QP.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h index 12c523a1dd18..0f7e45680ce5 100644 --- a/include/uapi/rdma/mlx5-abi.h +++ b/include/uapi/rdma/mlx5-abi.h @@ -41,6 +41,7 @@ enum { MLX5_QP_FLAG_SIGNATURE = 1 << 0, MLX5_QP_FLAG_SCATTER_CQE = 1 << 1, MLX5_QP_FLAG_TUNNEL_OFFLOADS = 1 << 2, + MLX5_QP_FLAG_BFREG_INDEX = 1 << 3, }; enum { @@ -282,7 +283,7 @@ struct mlx5_ib_create_qp { __u32 rq_wqe_shift; __u32 flags; __u32 uidx; - __u32 reserved0; + __u32 bfreg_index; __u64 sq_buf_addr; }; |