1mlx5dv_devx_query_eqn(3)                              mlx5dv_devx_query_eqn(3)
2
3
4

NAME

6       mlx5dv_devx_query_eqn - Query EQN for a given vector id.
7

SYNOPSIS

9              #include <infiniband/mlx5dv.h>
10
11              int mlx5dv_devx_query_eqn(struct ibv_context *context, uint32_t vector,
12                                        uint32_t *eqn);
13

DESCRIPTION

15       Query  EQN for a given input vector, the EQN is needed for other device
16       commands over the DEVX interface.
17
18       The DEVX API enables direct access from the user space area to the mlx5
19       device  driver,  the EQN information is needed for few commands such as
20       CQ creation.
21

ARGUMENTS

23       context
24              RDMA device context to work on.
25
26       vector Completion vector number.
27
28       eqn    The device EQ number which relates to the given input vector.
29

RETURN VALUE

31       returns 0 on success, or the value of errno on failure (which indicates
32       the failure reason).
33

SEE ALSO

35       mlx5dv_open_device, mlx5dv_devx_obj_create
36
37       #AUTHOR
38
39       Yishai Hadas <yishaih@mellanox.com>
40
41
42
43                                                      mlx5dv_devx_query_eqn(3)
Impressum