.\" Automatically generated by Pandoc 3.1.11.1
.\"
.TH "mlx5dv_devx_query_eqn" "3" "" "" ""
.SH NAME
mlx5dv_devx_query_eqn \- Query EQN for a given vector id.
.SH SYNOPSIS
.IP
.EX
#include <infiniband/mlx5dv.h>

int mlx5dv_devx_query_eqn(struct ibv_context *context, uint32_t vector,
                          uint32_t *eqn);
.EE
.SH DESCRIPTION
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
\f[I]context\f[R]
RDMA device context to work on.
.TP
\f[I]vector\f[R]
Completion vector number.
.TP
\f[I]eqn\f[R]
The device EQ number which relates to the given input vector.
.SH RETURN VALUE
returns 0 on success, or the value of errno on failure (which indicates
the failure reason).
.SH SEE ALSO
\f[B]mlx5dv_open_device\f[R], \f[B]mlx5dv_devx_obj_create\f[R]
.PP
#AUTHOR
.PP
Yishai Hadas \c
.MT yishaih@mellanox.com
.ME \c
