.\" Automatically generated by Pandoc 2.2.1 .\" .TH "mlx5dv_devx_query_eqn" "3" "" "" "" .hy .SH NAME .PP mlx5dv_devx_query_eqn \- Query EQN for a given vector id. .SH SYNOPSIS .IP .nf \f[C] #include\ int\ mlx5dv_devx_query_eqn(struct\ ibv_context\ *context,\ uint32_t\ vector, \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ uint32_t\ *eqn); \f[] .fi .SH DESCRIPTION .PP Query EQN for a given input vector, the EQN is needed for other device commands over the DEVX interface. .PP 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. .SH ARGUMENTS .TP .B \f[I]context\f[] RDMA device context to work on. .RS .RE .TP .B \f[I]vector\f[] Completion vector number. .RS .RE .TP .B \f[I]eqn\f[] The device EQ number which relates to the given input vector. .RS .RE .SH RETURN VALUE .PP returns 0 on success, or the value of errno on failure (which indicates the failure reason). .SH SEE ALSO .PP \f[B]mlx5dv_open_device\f[], \f[B]mlx5dv_devx_obj_create\f[] .PP #AUTHOR .PP Yishai Hadas