Skip to content

Monthly Archives: August 2012

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