Posts under Programming Category
int ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask);int ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask); Description ibv_modify_qp() modifies the attributes of a Queue Pair. The changed attributes describe the send and receive attributes of the QP. In UC...
int ibv_destroy_qp(struct ibv_qp *qp);int ibv_destroy_qp(struct ibv_qp *qp); Description ibv_destroy_qp() destroys a Queue Pair. When a QP is destroyed any outstanding Work Requests, in either the Send or Receive Queues, won't be processed anymore by the RDMA device and Work Completions...
struct ibv_qp *ibv_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *qp_init_attr);struct ibv_qp *ibv_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *qp_init_attr); Description ibv_create_qp() creates a Queue Pair (QP) associated with a Protection Domain. The user can define the minimum attributes to the QP: number of Work...
int ibv_query_srq(struct ibv_srq *srq, struct ibv_srq_attr *srq_attr);int ibv_query_srq(struct ibv_srq *srq, struct ibv_srq_attr *srq_attr); Description ibv_query_srq() returns the attributes of a Shared Receive Queue. struct ibv_srq_attr describes the attributes of the Shared Receive Queue. struct ibv_srq_attr { uint32_t max_wr; uint32_t max_sge;...
int ibv_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *srq_attr, enum ibv_srq_attr_mask srq_attr_mask);int ibv_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *srq_attr, enum ibv_srq_attr_mask srq_attr_mask); Description ibv_modify_srq() modifies the attributes of a Shared Receive Queue. struct ibv_srq_attr describes the attributes of the Shared Receive Queue. struct...
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...
Recent Comments