]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ofed/librdmacm/man/rdma_disconnect.3
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ofed / librdmacm / man / rdma_disconnect.3
1 .TH "RDMA_DISCONNECT" 3 "2008-01-02" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
2 .SH NAME
3 rdma_disconnect \- This function disconnects a connection.
4 .SH SYNOPSIS
5 .B "#include <rdma/rdma_cma.h>"
6 .P
7 .B "int" rdma_disconnect
8 .BI "(struct rdma_cm_id *" id ");"
9 .SH ARGUMENTS
10 .IP "id" 12
11 RDMA identifier.
12 .SH "DESCRIPTION"
13 Disconnects a connection and transitions any associated QP to the error state,
14 which will flush any posted work requests to the completion queue.  This
15 routine may be called by both the client and server side of a connection.
16 After successfully disconnecting, an RDMA_CM_EVENT_DISCONNECTED event will be
17 generated on both sides of the connection.
18 .SH "SEE ALSO"
19 rdma_connect(3), rdma_listen(3), rdma_accept(3), rdma_get_cm_event(3)