Posts Tagged ‘RDMA ’
int ibv_dealloc_pd(struct ibv_pd *pd);int ibv_dealloc_pd(struct ibv_pd *pd); Description ibv_dealloc_pd() deallocates a Protection Domain. The destruction of a PD will fail if any other resource is still associated with that PD. In that case the PD, or those resource's state won't...
struct ibv_pd *ibv_alloc_pd(struct ibv_context *context);struct ibv_pd *ibv_alloc_pd(struct ibv_context *context); Description ibv_alloc_pd() allocates a Protection Domain (PD) for an RDMA device context. The created PD will be used for: Create AH, SRQ, QP Register MR Allocate MW Parameters Name Direction Description...
void ibv_ack_async_event(struct ibv_async_event *event);void ibv_ack_async_event(struct ibv_async_event *event); Description ibv_ack_async_event() acknowledge an asynchronous event that was read using ibv_get_async_event(). In order to prevent races, all of the asynchronous events that were read using ibv_get_async_event() must be acknowledged using ibv_ack_async_event(). When calling...
int ibv_get_async_event(struct ibv_context *context, struct ibv_async_event *event);int ibv_get_async_event(struct ibv_context *context, struct ibv_async_event *event); Description ibv_get_async_event() reads the next asynchronous event for an RDMA device context context. After calling ibv_open_device() all of the asynchronous events are being enqueued to this context,...
int ibv_query_gid(struct ibv_context *context, uint8_t port_num, int index, union ibv_gid *gid)int ibv_query_gid(struct ibv_context *context, uint8_t port_num, int index, union ibv_gid *gid) Description ibv_query_gid() returns the value of an index in The GID table of an RDMA device port's. The content...
int ibv_query_port(struct ibv_context *context, uint8_t port_num, struct ibv_port_attr *port_attr);int ibv_query_port(struct ibv_context *context, uint8_t port_num, struct ibv_port_attr *port_attr); Description ibv_query_port() returns the attributes of a port of an RDMA device context. Here is the full description of struct ibv_port_attr: Name Protocol...
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...
Recent Comments