IB/uverbs: Extend CQ to get its own asynchronous event FD
authorYishai Hadas <yishaih@mellanox.com>
Tue, 19 May 2020 07:27:07 +0000 (10:27 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 21 May 2020 23:34:53 +0000 (20:34 -0300)
commitcda9ee494248b890973f5d31cf7851c0d21755b9
tree7fc742f2de7f1dba4a7a101fa4145a6bfcb71cd9
parent98a8890f73489416a1ea49a644565a244d3f729a
IB/uverbs: Extend CQ to get its own asynchronous event FD

Extend CQ to get its own asynchronous event FD.
The event FD is an optional attribute, in case wasn't given the ufile
event FD will be used.

Link: https://lore.kernel.org/r/20200519072711.257271-4-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/uverbs.h
drivers/infiniband/core/uverbs_std_types_cq.c
include/uapi/rdma/ib_user_ioctl_cmds.h