IB/mlx5: Extend CQ creation to get uar page index from user space
authorYishai Hadas <yishaih@mellanox.com>
Tue, 24 Mar 2020 06:01:40 +0000 (08:01 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 27 Mar 2020 15:59:04 +0000 (12:59 -0300)
commit64d99f6a62b98532886ede9913a026b2e2bc0419
tree7c2677ee2dc67c91c06dd1c76547d946a1ddebf0
parent342ee59de98a2ecdf15a46849a2534e7c808eb1f
IB/mlx5: Extend CQ creation to get uar page index from user space

Extend CQ creation to get uar page index from user space, this mode can be
used with the UAR dynamic mode APIs to allocate/destroy a UAR object.

Link: https://lore.kernel.org/r/20200324060143.1569116-3-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/cq.c
include/uapi/rdma/mlx5-abi.h