rdma_destroy_qp(3) - Linux man page

Name

rdma_destroy_qp - Deallocate a QP.

Synopsis

#include <rdma/rdma_cma.h>

void rdma_destroy_qp (struct rdma_cm_id *id);

Arguments

id
RDMA identifier.

Description

Destroy a QP allocated on the rdma_cm_id.

Return Value

Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.

Notes

Users must destroy any QP associated with an rdma_cm_id before destroying the ID.

See Also

rdma_create_qp(3), rdma_destroy_id(3), ibv_destroy_qp(3)

Referenced By

rdma_cm(7), rdma_leave_multicast(3)