rdma_get_devices

Langue: en

Autres versions - même langue

Version: 377672 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

rdma_get_devices - Get a list of RDMA devices currently available.

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

Return a NULL-terminated array of opened RDMA devices. Callers can use this routine to allocate resources on specific RDMA devices that will be shared across multiple rdma_cm_id's.

NOTES

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

SEE ALSO

rdma_free_devices(3)