ibv_get_device_guid
Returns the string that describes the event_type, node_type, and port_state for the enum values.
Syntax
#include <rdma/verbs.h>
uint64_t ibv_get_device_guid(struct ibv_device *device);
Description
The ibv_get_device_guid function returns a 64-bit global unique identifier (GUID) for the devices in the network byte order.
Parameters
Item | Description |
---|---|
device | Specifies the struct ibv_device for the device. |
Return Value
The ibv_get_device_guid function returns uint64_t on success, and 0 on failure.
If the device is NULL, the open or write operation failed on the/dev/rdma/ofed_adm administrator device.