Blob Blame History Raw
.\" Automatically generated by Pandoc 1.19.2.4
.\"
.TH "RDMA_ESTABLISH" "3" "2019\-01\-16" "librdmacm" "Librdmacm Programmer\[aq]s Manual"
.hy
.SH NAME
.PP
rdma_establish \- Complete an active connection request.
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <rdma/rdma_cma.h>

int\ rdma_establish(struct\ rdma_cm_id\ *id);
\f[]
.fi
.SH DESCRIPTION
.PP
\f[B]rdma_establish()\f[] Acknowledge an incoming connection response
event and complete the connection establishment.
.PP
Notes:
.PP
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,
.PP
after getting connect response event.
.PP
This will trigger a connection established event on the passive side.
.PP
This function should not be used on an rdma_cm_id on which a QP has been
created.
.SH ARGUMENTS
.TP
.B \f[I]id\f[]
RDMA identifier.
.RS
.RE
.SH RETURN VALUE
.PP
\f[B]rdma_establish()\f[] returns 0 on success, or \-1 on error.
If an error occurs, errno will be set to indicate the failure reason.
.SH SEE ALSO
.PP
\f[B]rdma_connect\f[](3), \f[B]rdma_disconnect\f[](3)
\f[B]rdma_get_cm_event\f[](3)
.SH AUTHORS
.PP
Danit Goldberg <danitg@mellanox.com>
.PP
Yossi Itigin <yosefe@mellanox.com>