]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/librdmacm/man/rdma_get_devices.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / librdmacm / man / rdma_get_devices.3
1 .TH "RDMA_GET_DEVICES" 3 "2007-05-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
2 .SH NAME
3 rdma_get_devices \- Get a list of RDMA devices currently available.
4 .SH SYNOPSIS
5 .B "#include <rdma/rdma_cma.h>"
6 .P
7 .B "struct ibv_context **" rdma_get_devices
8 .BI "(int *" num_devices ");"
9 .SH ARGUMENTS
10 .IP "num_devices" 12
11 If non-NULL, set to the number of devices returned.
12 .SH "DESCRIPTION"
13 Return a NULL-terminated array of opened RDMA devices.  Callers can use
14 this routine to allocate resources on specific RDMA devices that will be
15 shared across multiple rdma_cm_id's.
16 .SH "NOTES"
17 The returned array must be released by calling rdma_free_devices.  Devices
18 remain opened while the librdmacm is loaded.
19 .SH "SEE ALSO"
20 rdma_free_devices(3)