]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c8807ace2ef9d296e6edde0140495bba52065e8
treeacbc39a3294c373866e473cb2f5581608654392b
parenta1dbf12f22c8b1714ece0cff3df07d350e2942a5
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