Skip to content

Posts Tagged ‘verbs ’

int ibv_destroy_srq(struct ibv_srq *srq);int ibv_destroy_srq(struct ibv_srq *srq); Description ibv_destroy_srq() destroys a Shared Receive Queue. The destruction of a Shared Receive Queue will fail if any QP is still associated with it. If there is any affiliated asynchronous event on that...

struct ibv_srq *ibv_create_srq(struct ibv_pd *pd, struct ibv_srq_init_attr *srq_init_attr);struct ibv_srq *ibv_create_srq(struct ibv_pd *pd, struct ibv_srq_init_attr *srq_init_attr); Description ibv_create_srq() creates a Shared Receive Queue (SRQ) associated with a Protection Domain. This SRQ will later be used when calling ibv_create_qp() to indicate that...

int ibv_resize_cq(struct ibv_cq *cq, int cqe);int ibv_resize_cq(struct ibv_cq *cq, int cqe); Description ibv_resize_cq() resizes a Completion Queue. A CQ can be resized either if it is empty or contains Work Completions that still weren’t polled by ibv_poll_cq(). It can be...

int ibv_destroy_cq(struct ibv_cq *cq);int ibv_destroy_cq(struct ibv_cq *cq); Description ibv_destroy_cq() destroys a Completion Queue. The destruction of a CQ will fail if any QP is still associated with it. If there is any affiliated asynchronous event on that CQ that was...

struct ibv_cq *ibv_create_cq(struct ibv_context *context, int cqe, void *cq_context, struct ibv_comp_channel *channel, int comp_vector);struct ibv_cq *ibv_create_cq(struct ibv_context *context, int cqe, void *cq_context, struct ibv_comp_channel *channel, int comp_vector); Description ibv_create_cq() creates a Completion Queue (CQ) for an RDMA device context. When...

int ibv_destroy_comp_channel(struct ibv_comp_channel *channel);int ibv_destroy_comp_channel(struct ibv_comp_channel *channel); Description ibv_destroy_comp_channel() destroys a Completion event channel. The destruction of a Completion event channel will fail if any CQ is still associated with it. Parameters Name Direction Description channel in Completion event channel...

struct ibv_comp_channel *ibv_create_comp_channel(struct ibv_context *context);struct ibv_comp_channel *ibv_create_comp_channel(struct ibv_context *context); Description ibv_create_comp_channel() creates a Completion event channel for an RDMA device context. This Completion event channel is an abstraction introduced by libibverbs that does not exist in the InfiniBand Architecture verbs...

int ibv_destroy_ah(struct ibv_ah *ah);int ibv_destroy_ah(struct ibv_ah *ah); Description ibv_destroy_ah() destroys an Address Handle. It is up to the user waiting for all outstanding Send Requests, that were posted with this AH, to be completed or flushed before he destroys the...

struct ibv_ah *ibv_create_ah_from_wc(struct ibv_pd *pd, struct ibv_wc *wc, struct ibv_grh *grh, uint8_t port_num);struct ibv_ah *ibv_create_ah_from_wc(struct ibv_pd *pd, struct ibv_wc *wc, struct ibv_grh *grh, uint8_t port_num); Description ibv_create_ah_from_wc() creates an Address Handle (AH) using a Work Completion and a Global Routing...

int ibv_init_ah_from_wc(struct ibv_context *context, uint8_t port_num, struct ibv_wc *wc, struct ibv_grh *grh, struct ibv_ah_attr *ah_attr);int ibv_init_ah_from_wc(struct ibv_context *context, uint8_t port_num, struct ibv_wc *wc, struct ibv_grh *grh, struct ibv_ah_attr *ah_attr); Description ibv_init_ah_from_wc() initializes the Address Handle (AH) attribute structure using A...