1RDMA_ESTABLISH(3) Librdmacm Programmer’s Manual RDMA_ESTABLISH(3)
2
3
4
6 rdma_establish - Complete an active connection request.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_establish(struct rdma_cm_id *id);
12
14 rdma_establish() Acknowledge an incoming connection response event and
15 complete the connection establishment.
16
17 Notes:
18
19 If a QP has not been created on the rdma_cm_id, this function should be
20 called by the active side to complete the connection,
21
22 after getting connect response event.
23
24 This will trigger a connection established event on the passive side.
25
26 This function should not be used on an rdma_cm_id on which a QP has
27 been created.
28
30 id RDMA identifier.
31
33 rdma_establish() returns 0 on success, or -1 on error. If an error oc‐
34 curs, errno will be set to indicate the failure reason.
35
37 rdma_connect(3), rdma_disconnect(3) rdma_get_cm_event(3)
38
40 Danit Goldberg <danitg@mellanox.com>
41
42 Yossi Itigin <yosefe@mellanox.com>
43
44
45
46librdmacm 2019-01-16 RDMA_ESTABLISH(3)