SIMPLE SOLUTIONS

RDMA_GET_DEVICES(3) - Linux man page online | Library functions

Get a list of RDMA devices currently available.

Chapter
2007-05-15
RDMA_GET_DEVICES(3) Librdmacm Programmer's Manual RDMA_GET_DEVICES(3)

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.

RETURN VALUE

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

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)
librdmacm 2007-05-15 RDMA_GET_DEVICES(3)
This manual Reference Other manuals
rdma_get_devices(3) referred by rdma_cm(7) | rdma_create_id(3) | rdma_free_devices(3)
refer to rdma_free_devices(3)
Download raw manual
Main page Librdmacm Programmer's Manual (+52) librdmacm (+65) № 3 (+68044)
Go top