Returns string describing the event_type, node_type, and port_state enum values.
#include <rdma/verbs.h> uint64_t ibv_get_device_guid(struct ibv_device *device);
ibv_get_device_guid returns the devices 64 bit Global Unique Identifier (GUID) in the network byte order.
device | struct ibv_device for the desired device. |
The ibv_get_device_guid function returns uint64_t on success, and 0 on failure.
If device=NULL, operation open, or write failed on the OFED admin device /dev/rdma/ofed_adm.