Skip to content

Monthly Archives: December 2012

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