]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f680588446c92b94dcc37b585d765ccaf11e19f
treea00a65996e567f338c04003a1602f433ee5b285b
parent05e29fdfac2a6b4bdbda7ab7ec94040478b70e06
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