rdma_establish(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RETURN VALUE | SEE ALSO | AUTHORS | COLOPHON

RDMA_ESTABLISH(3)     Librdmacm Programmer’s Manual     RDMA_ESTABLISH(3)

NAME         top

       rdma_establish - Complete an active connection request.

SYNOPSIS         top

              #include <rdma/rdma_cma.h>

              int rdma_establish(struct rdma_cm_id *id);

DESCRIPTION         top

       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.

ARGUMENTS         top

       id     RDMA identifier.

RETURN VALUE         top

       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         top

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

AUTHORS         top

       Danit Goldberg ⟨danitg@mellanox.com⟩

       Yossi Itigin ⟨yosefe@mellanox.com⟩

COLOPHON         top

       This page is part of the rdma-core (RDMA Core Userspace Libraries
       and Daemons) project.  Information about the project can be found
       at ⟨https://github.com/linux-rdma/rdma-core⟩.  If you have a bug
       report for this manual page, send it to
       linux-rdma@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2025-08-04.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there is
       a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

librdmacm                       2019-01-16              RDMA_ESTABLISH(3)