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>
This commit is contained in:

committed by
Jason Gunthorpe

parent
4ed131d0bb
commit
1ee47ab3e8
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user