Posts Tagged ‘verbs ’
struct ibv_ah *ibv_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr);struct ibv_ah *ibv_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr); Description ibv_create_ah() creates an Address Handle (AH) associated with a Protection Domain. This AH will later be used when a Send Request (SR) will be...
int ibv_dereg_mr(struct ibv_mr *mr);int ibv_dereg_mr(struct ibv_mr *mr); Description ibv_dereg_mr() deregisters a Memory Region and release the resources of that MR in the RDMA device it is associated with. Only after a Memory Region is deregistered, the memory buffer that was...
struct ibv_mr *ibv_reg_mr(struct ibv_pd *pd, void *addr, size_t length, enum ibv_access_flags access);struct ibv_mr *ibv_reg_mr(struct ibv_pd *pd, void *addr, size_t length, enum ibv_access_flags access); Description ibv_reg_mr() registers a Memory Region (MR) associated with a Protection Domain. By doing that, allowing the...
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_pkey(struct ibv_context *context, uint8_t port_num, int index, uint16_t *pkey)int ibv_query_pkey(struct ibv_context *context, uint8_t port_num, int index, uint16_t *pkey) Description ibv_query_pkey() returns the value of an index in The P_Key table of an RDMA device port's. The content of the...
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...
Recent Comments