RDMA_INIT_QP_ATTR(3)
π RDMA_INIT_QP_ATTR(3) β rdma_init_qp_attr, bestie π
okay so welcome to the RDMA_INIT_QP_ATTR(3) page from the Librdmacm Programmerβs Manual β¨ this is your group-chat cheat sheet for rdma_init_qp_attr, and weβre keeping every single fact, no cap.
π NAME π
rdma_init_qp_attr β returns qp attributes of an rdma_cm_id. literally thatβs the main-character job π
π¦ SYNOPSIS π¦
#include <rdma/rdma_cma.h>
int rdma_init_qp_attr(struct rdma_cm_id *id,
struct ibv_qp_attr *qp_attr,
int *qp_attr_mask);
πΈ DESCRIPTION πΈ
so rdma_init_qp_attr() returns qp attributes of an rdma_cm_id β yes bestie, itβs giving βget me the qp attrsβ energy π
the tea about qp attributes and the qp attributes mask comes back to you through the qp_attr and qp_attr_mask parameters. thatβs the whole handoff π«Ά
for the full details on the qp_attr structure, go look at ibv_modify_qp β thatβs where the lore lives, iykyk β
π ARGUMENTS π
idβ the RDMA identifier. like, the main character of this call πqp_attrβ a reference to a qp attributes struct containing response information. itβs bringing the response info back to you πqp_attr_maskβ a reference to a qp attributes mask containing response information. also carrying response info, but make it mask β¨
π₯ RETURN VALUE π₯
rdma_init_qp_attr() returns 0 on success, or -1 on error. if an error occurs, errno will be set to indicate the failure reason β so you know why, bestie π
π SEE ALSO π
π AUTHOR π
Danit Goldberg <danitg@mellanox.com> β ty for this iconic contribution π
okay thatβs the whole page, bestie. this cutie came fromlibrdmacm, dated2018-12-31, and the manual/title isRDMA_INIT_QP_ATTR(3)β slay, periodt π β¨
π¦ 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: librdmacm-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