1RDMA_GET_DEVICES(3)      Librdmacm Programmer's Manual     RDMA_GET_DEVICES(3)
2
3
4

NAME

6       rdma_get_devices - Get a list of RDMA devices currently available.
7

SYNOPSIS

9       #include <rdma/rdma_cma.h>
10
11       struct ibv_context ** rdma_get_devices (int *num_devices);
12

ARGUMENTS

14       num_devices If non-NULL, set to the number of devices returned.
15

DESCRIPTION

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

RETURN VALUE

22       Returns  an  array  of  available  RDMA devices, or NULL if the request
23       fails.  On failure, errno will be set to indicate the failure reason.
24

NOTES

26       The returned array  must  be  released  by  calling  rdma_free_devices.
27       Devices remain opened while the librdmacm is loaded.
28

SEE ALSO

30       rdma_free_devices(3)
31
32
33
34librdmacm                         2007-05-15               RDMA_GET_DEVICES(3)
Impressum