Gets a list of RDMA devices that are available.
#include <rdma/rdma_cma.h> struct ibv_context **rdma_get_devices(int *num_devices);
The rdma_get_devices function returns a NULL-terminated array of open RDMA devices. You can use this routine to allocate resources on specific RDMA devices that will be shared across multiple rdma_cm_ids.
num_devices | Specifies the number of devices returned if the value is not NULL. |
A NULL-terminated array | On success |
NULL | On failure |