Skip to content

Monthly Archives: June 2012

struct ibv_context *ibv_open_device(struct ibv_device *device);struct ibv_context *ibv_open_device(struct ibv_device *device); Description ibv_open_device() creates a context for the RDMA device device. This context will later be used to query its resources or for creating resources and should be released with ibv_close_device(). Unlike...

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...