IB/mlx5: Add DEVX query EQN support
commitf6fe01b7181be1751a5d8f19f230eb0d17b9a7b1
authorYishai Hadas <yishaih@mellanox.com>
Sun, 17 Jun 2018 10:00:05 +0000 (17 13:00 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Jun 2018 16:53:02 +0000 (19 10:53 -0600)
treef4cf911992f233636bf97f82eec5f86e34f25b52
parentaeae94579caf77406a8a235ea33fdb67abe9a57e
IB/mlx5: Add DEVX query EQN support

Return the matching device EQN for a given user vector number via the
DEVX interface.

Note:
EQs are owned by the kernel and shared by all user processes.
Basically, a user CQ can point to any EQ.
The kernel doesn't enforce any such limitation today either.

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/hw/mlx5/devx.c
include/uapi/rdma/mlx5_user_ioctl_cmds.h