]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/librdmacm/man/rdma_create_id.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / librdmacm / man / rdma_create_id.3
1 .TH "RDMA_CREATE_ID" 3 "2007-08-06" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
2 .SH NAME
3 rdma_create_id \- Allocate a communication identifier.
4 .SH SYNOPSIS
5 .B "#include <rdma/rdma_cma.h>"
6 .P
7 .B "int" rdma_create_id
8 .BI "(struct rdma_event_channel *" channel ","
9 .BI "struct rdma_cm_id **" id ","
10 .BI "void *" context ","
11 .BI "enum rdma_port_space " ps ");"
12 .SH ARGUMENTS
13 .IP "channel" 12
14 The communication channel that events associated with the
15 allocated rdma_cm_id will be reported on.
16 .IP "id" 12
17 A reference where the allocated communication identifier will be
18 returned.
19 .IP "context" 12
20 User specified context associated with the rdma_cm_id.
21 .IP "ps" 12
22 RDMA port space.
23 .SH "DESCRIPTION"
24 Creates an identifier that is used to track communication information.
25 .SH "NOTES"
26 Rdma_cm_id's are conceptually equivalent to a socket for RDMA
27 communication.  The difference is that RDMA communication requires
28 explicitly binding to a specified RDMA device before communication
29 can occur, and most operations are asynchronous in nature.  Communication
30 events on an rdma_cm_id are reported through the associated event
31 channel.  Users must release the rdma_cm_id by calling rdma_destroy_id.
32 .SH "PORT SPACE"
33 Details of the services provided by the different port spaces are outlined
34 below.
35 .IP RDMA_PS_TCP
36 Provides reliable, connection-oriented QP communication.  Unlike TCP, the RDMA
37 port space provides message, not stream, based communication.
38 .IP RDMA_PS_UDP
39 Provides unreliable, connectionless QP communication.  Supports both datagram
40 and multicast communication.
41 .SH "SEE ALSO"
42 rdma_cm(7), rdma_create_event_channel(3), rdma_destroy_id(3), rdma_get_devices(3),
43 rdma_bind_addr(3), rdma_resolve_addr(3), rdma_connect(3), rdma_listen(3),
44 rdma_set_option(3)