Skip to content

Posts Tagged ‘verbs ’

int ibv_query_device(struct ibv_context *context, struct ibv_device_attr *device_attr);int ibv_query_device(struct ibv_context *context, struct ibv_device_attr *device_attr); Description ibv_query_device() returns the attributes of an RDMA device that is associated with a context. Here is the full description of struct ibv_device_attr: Name Description fw_ver A NULL...

int ibv_close_device(struct ibv_context *context);int ibv_close_device(struct ibv_context *context); Description ibv_close_device() closes an RDMA device context. ibv_close_device() won't release the resources that are associated with this context. It is up to the user to release them before calling to this verb, in order...

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

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

int ibv_fork_init(void);int ibv_fork_init(void); Prerequisite ibv_fork_init() should be called before calling any other function in libibverbs. Description ibv_fork_init() initializes libibverbs's data structures to handle the fork() function calls correctly and avoid data corruption, whether fork() is called explicitly or implicitly (such...

General libibverbs is an implementation of the RDMA verbs for both Infiniband (according to the Infiniband specifications) and iWarp (iWARP verbs specifications). It handles the control path of creating, modifying, querying and destroying resources such as Protection Domains (PD), Completion...

The OpenFabrics Enterprise Distribution (OFED) is a package for Linux that includes all of the needed software (libraries, utilities and drivers) in order to work with RDMA enabled protocols (InfiniBand and iWARP). OFED content This package includes many components to...