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_establish - Complete an active connection request.

Arguments

id     RDMA identifier.

Authors

       Danit Goldberg danitg@mellanox.com

       Yossi Itigin yosefe@mellanox.com

librdmacm                                          2019-01-16                                  RDMA_ESTABLISH(3)

Description

rdma_establish()   Acknowledge  an  incoming  connection  response  event  and  complete  the  connection
       establishment.

       Notes:

       If a QP has not been created on the rdma_cm_id, this function should be called  by  the  active  side  to
       complete the connection,

       after getting connect response event.

       This will trigger a connection established event on the passive side.

       This function should not be used on an rdma_cm_id on which a QP has been created.

Name

       rdma_establish - Complete an active connection request.

Return Value

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

See Also

rdma_connect(3), rdma_disconnect(3) rdma_get_cm_event(3)

Synopsis

              #include <rdma/rdma_cma.h>

              int rdma_establish(struct rdma_cm_id *id);

See Also