]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add DEVX query EQN support
authorYishai Hadas <yishaih@mellanox.com>
Sun, 17 Jun 2018 10:00:05 +0000 (13:00 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Jun 2018 16:53:02 +0000 (10:53 -0600)
commit60bafd4212d3f26133b55ca05551ab9070bda53d
treef4cf911992f233636bf97f82eec5f86e34f25b52
parent662f6cb274646d2297ca816fdbe02754ec2bb022
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