mlx5dv_devx_query_eqn(3)
Hey bestie π welcome to the mlx5dv_devx_query_eqn(3) manual page β that's the manual name, and we're about to query an EQN for a vector id together. No cap, it's lowkey niche but highkey useful. β¨
πΈ NAME πΈ
mlx5dv_devx_query_eqn β 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 π
Okay so this one queries the EQN for a given input vector, and the EQN is needed for other device commands over the DEVX interface. It's giving essential background information, bestie. π«Ά
The DEVX API enables direct access from the user space area to the mlx5 device driver, and the EQN information is needed for few commands such as CQ creation. Literally iconic for that whole situation. π
π ARGUMENTS π
contextβ RDMA device context to work on. That's the device context, obviously. πvectorβ Completion vector number. Just the number, no cap. π₯eqnβ The device EQ number which relates to the given input vector. It's giving βEQN for your vectorβ energy. β¨
π RETURN VALUE π
Returns 0 on success, or the value of errno on failure (which indicates the failure reason). So if it's not 0, errno is the one telling you why it failed β that's the tea. β
π§ SEE ALSO π§
Go give these besties a look: mlx5dv_open_device, mlx5dv_devx_obj_create. π
π AUTHOR π
The source has a #AUTHOR marker here, and the icon behind this page is Yishai Hadas <yishaih@mellanox.com>. π«Ά
Footer check, bestie: the page footer is just mlx5dv_devx_query_eqn(3) again β no extra source/version or date text is shown, so that's the entire cute sign-off. Stay slay, query those EQNs, and hydrate. π
π
π¦ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 Β· GPL-2.0-only OR BSD-2-Clause
- centos-stream 10: rdma-core-devel 62.0-3.el10 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- ubuntu jammy: libibverbs-dev 39.0-1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms