IB/uverbs: Introduce create/destroy QP commands over ioctl
authorYishai Hadas <yishaih@mellanox.com>
Tue, 19 May 2020 07:27:11 +0000 (10:27 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 21 May 2020 23:39:36 +0000 (20:39 -0300)
commit6d1e7ba241e990b5c6ba7fdaa03d466f852f3c9e
treeacbc39a3294c373866e473cb2f5581608654392b
parentef3bc084a8ed461e3d1f82481f47dacb96596f8f
IB/uverbs: Introduce create/destroy QP commands over ioctl

Introduce create/destroy QP commands over the ioctl interface to let it
be extended to get an asynchronous event FD.

Link: https://lore.kernel.org/r/20200519072711.257271-8-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@mellanox.com>
drivers/infiniband/core/Makefile
drivers/infiniband/core/rdma_core.h
drivers/infiniband/core/uverbs_std_types.c
drivers/infiniband/core/uverbs_std_types_qp.c [new file with mode: 0644]
drivers/infiniband/core/uverbs_uapi.c
include/uapi/rdma/ib_user_ioctl_cmds.h
include/uapi/rdma/ib_user_ioctl_verbs.h