1RDMA_DISCONNECT(3) Librdmacm Programmer's Manual RDMA_DISCONNECT(3)
2
3
4
6 rdma_disconnect - This function disconnects a connection.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_disconnect (struct rdma_cm_id *id);
12
14 id RDMA identifier.
15
17 Disconnects a connection and transitions any associated QP to the error
18 state, which will flush any posted work requests to the completion
19 queue. This routine may be called by both the client and server side
20 of a connection. After successfully disconnecting, an
21 RDMA_CM_EVENT_DISCONNECTED event will be generated on both sides of the
22 connection.
23
25 rdma_connect(3), rdma_listen(3), rdma_accept(3), rdma_get_cm_event(3)
26
27
28
29librdmacm 2008-01-02 RDMA_DISCONNECT(3)