Provided by: libibverbs-dev_28.0-1ubuntu1_amd64
mlx5dv_devx_query_eqn - Query EQN for a given vector id.
#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.
context RDMA device context to work on. vector Completion vector number. eqn 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).
mlx5dv_open_device, mlx5dv_devx_obj_create #AUTHOR Yishai Hadas <firstname.lastname@example.org> mlx5dv_devx_query_eqn(3)