#include <infiniband/mlx5dv.h> int mlx5dv_devx_query_eqn(struct ibv_context *context, uint32_t vector, uint32_t *eqn);
Query EQN for a given input vector, the EQN is needed for other device commands over the DEVX interface.
The DEVX API enables direct access from the user space area to the mlx5 device driver, the EQN information is needed for few commands such as CQ creation.
RDMA device context to work on.
Completion vector number.
The device EQ number which relates to the given input vector.
returns 0 on success, or the value of errno on failure (which indicates the failure reason).
Yishai Hadas <firstname.lastname@example.org>