ibv_get_device_guid

Returns string describing the event_type, node_type, and port_state enum values.

Syntax

#include <rdma/verbs.h>
uint64_t ibv_get_device_guid(struct ibv_device *device);

Description

ibv_get_device_guid returns the devices 64 bit Global Unique Identifier (GUID) in the network byte order.

Parameters

device struct ibv_device for the desired device.

Return Value

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.

[ Feedback ]