rdma_destroy_qp

Releases a QP.

Syntax

#include <rdma/rdma_cma.h>
void rdma_destroy_qp(struct rdma_cm_id *id);

Description

The rdma_destroy_qp function destroys a QP allocated on the rdma_cm_id.

Note: You must destroy any QP associated with an rdma_cm_id before destroying the ID.

Parameters

id Specifies the RDMA identifier.

Return Value

There is no return value.

[ Feedback ]