logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rdma_destroy_id - Release a communication identifier.

Arguments

       id          The communication identifier to destroy.

Description

       Destroys the specified rdma_cm_id and cancels any outstanding asynchronous operation.

Name

       rdma_destroy_id - Release a communication identifier.

Notes

       Users must free any associated QP with the rdma_cm_id before calling this routine  and  ack  all  related
       events.

Return Value

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

See Also

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

librdmacm                                          2010-07-19                                 RDMA_DESTROY_ID(3)

Synopsis

#include<rdma/rdma_cma.h>intrdma_destroy_id(structrdma_cm_id*id);

See Also