rdma_destroy_id - Man Page

Release a communication identifier.

Synopsis

#include <rdma/rdma_cma.h>

int rdma_destroy_id (struct rdma_cm_id *id);

Arguments

id

The communication identifier to destroy.

Description

Destroys the specified rdma_cm_id and cancels any outstanding asynchronous operation.

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 free any associated QP with the rdma_cm_id before calling this routine and ack all related events.

See Also

rdma_create_id(3), rdma_destroy_qp(3), rdma_ack_cm_event(3)

Referenced By

rdma_ack_cm_event(3), rdma_cm(7), rdma_create_id(3), rdma_dereg_mr(3), rdma_destroy_qp(3), rdma_destroy_srq(3), rdma_get_cm_event(3), rdma_get_request(3).

2010-07-19 Librdmacm Programmer's Manual