NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON |
|
|
RDMA_INIT_QP_ATTR(3) Librdmacm Programmer’s Manual RDMA_INIT_QP_ATTR(3)
rdma_init_qp_attr - Returns qp attributes of an rdma_cm_id.
#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);
rdma_init_qp_attr() returns qp attributes of an rdma_cm_id. Information about qp attributes and qp attributes mask is returned through the qp_attr and qp_attr_mask parameters. For details on the qp_attr structure, see ibv_modify_qp.
id RDMA identifier. qp_attr A reference to a qp attributes struct containing response information. qp_attr_mask A reference to a qp attributes mask containing response information.
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.
rdma_cm(7), ibv_modify_qp(3)
Danit Goldberg ⟨danitg@mellanox.com⟩
This page is part of the rdma-core (RDMA Core Userspace Libraries
and Daemons) project. Information about the project can be found
at ⟨https://github.com/linux-rdma/rdma-core⟩. If you have a bug
report for this manual page, send it to
linux-rdma@vger.kernel.org. This page was obtained from the
project's upstream Git repository
⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11. (At
that time, the date of the most recent commit that was found in
the repository was 2025-08-04.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
librdmacm 2018-12-31 RDMA_INIT_QP_ATTR(3)