RDMA/mlx5: Introduce UAPI to query PD attributes
authorYishai Hadas <yishaih@mellanox.com>
Tue, 30 Jun 2020 09:39:15 +0000 (12:39 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 6 Jul 2020 22:50:34 +0000 (19:50 -0300)
commit05f71ef9797454b9384c740b8acd0d02eca1d1bc
treea00a65996e567f338c04003a1602f433ee5b285b
parent0fb556b2b58d6b8336c94379042bad2a8512af1a
RDMA/mlx5: Introduce UAPI to query PD attributes

Introduce UAPI to query PD attributes, this can be used to retrieve PD
attributes by having the PD handle of the created one and owning the
command FD for the ucontxet.

Link: https://lore.kernel.org/r/20200630093916.332097-7-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/Makefile
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/std_types.c [new file with mode: 0644]
include/uapi/rdma/mlx5_user_ioctl_cmds.h