mlx5dv_devx_query_eqn - Man Page

Query EQN for a given vector id.

Synopsis

#include <infiniband/mlx5dv.h>

int mlx5dv_devx_query_eqn(struct ibv_context *context, uint32_t vector,
                          uint32_t *eqn);

Description

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.

Arguments

context

RDMA device context to work on.

vector

Completion vector number.

eqn

The device EQ number which relates to the given input vector.

Return Value

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

See Also

mlx5dv_open_device, mlx5dv_devx_obj_create

#AUTHOR

Yishai Hadas yishaih@mellanox.com\c

Referenced By

mlx5dv_devx_create_eq(3).