Skip to content

Posts Tagged ‘Device ’

uint64_t ibv_get_device_guid(struct ibv_device *device);uint64_t ibv_get_device_guid(struct ibv_device *device); Description ibv_get_device_guid() returns the Global Unique IDentifier (GUID) of the RDMA device device. This GUID, that was assigned to this device by its vendor during the manufacturing, is unique and can be used...

const char *ibv_get_device_name(struct ibv_device *device);const char *ibv_get_device_name(struct ibv_device *device); Description ibv_get_device_name() returns a string of the name, which is associated with the RDMA device device. This name is unique within a specific machine (the same name cannot be assigned to...

void ibv_free_device_list(struct ibv_device **list);void ibv_free_device_list(struct ibv_device **list); Description ibv_free_device_list() frees the RDMA devices array list. Once the array is freed, pointers to devices that were not opened with ibv_open_device() are no longer valid. Client code must open all devices, it...

struct ibv_device** ibv_get_device_list(int *num_devices);struct ibv_device** ibv_get_device_list(int *num_devices); Prerequisite ibv_fork_init() should be called before calling any other function in libibverbs. Description ibv_get_device_list() returns a NULL-terminated array of RDMA devices currently available. The array should be released with ibv_free_device_list(). The array entries...