IB/mlx5: Enable QP creation with a given blue flame index
authorYishai Hadas <yishaih@mellanox.com>
Sun, 24 Dec 2017 14:31:36 +0000 (16:31 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 28 Dec 2017 18:37:46 +0000 (11:37 -0700)
commit1ee47ab3e8d868185ec9a0bfe5da2a7f502c04ab
tree48cc91e7c70fb1921598767d979677771bb2674b
parent4ed131d0bb1597ce12fff22d9d7fc9720a6e8cf0
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>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c
include/uapi/rdma/mlx5-abi.h