1RDMA_GET_DEVICES(3) Librdmacm Programmer's Manual RDMA_GET_DEVICES(3)
2
3
4
6 rdma_get_devices - Get a list of RDMA devices currently available.
7
9 #include <rdma/rdma_cma.h>
10
11 struct ibv_context ** rdma_get_devices (int *num_devices);
12
14 num_devices If non-NULL, set to the number of devices returned.
15
17 Return a NULL-terminated array of opened RDMA devices. Callers can use
18 this routine to allocate resources on specific RDMA devices that will
19 be shared across multiple rdma_cm_id's.
20
22 The returned array must be released by calling rdma_free_devices.
23 Devices remain opened while the librdmacm is loaded.
24
26 rdma_free_devices(3)
27
28
29
30librdmacm 2007-05-15 RDMA_GET_DEVICES(3)