rdma_destroy_qp
Deallocate a QP.
- Provided by: librdmacm-dev (Version: 1.0.16-1)
- Source: librdmacm
- Report a bug
Deallocate a QP.
#include <rdma/rdma_cma.h>
void rdma_destroy_qp (struct rdma_cm_id *id);
Destroy a QP allocated on the rdma_cm_id.
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
Users must destroy any QP associated with an rdma_cm_id before destroying the ID.