Lines Matching refs:cq

374 		struct ibv_cq  *cq;
674 struct ibv_cq *cq;
698 struct ibv_cq *cq;
1024 struct ibv_cq *cq;
1112 static inline struct ibv_cq *ibv_cq_ex_to_cq(struct ibv_cq_ex *cq)
1114 return (struct ibv_cq *)cq;
1117 static inline int ibv_start_poll(struct ibv_cq_ex *cq,
1120 return cq->start_poll(cq, attr);
1123 static inline int ibv_next_poll(struct ibv_cq_ex *cq)
1125 return cq->next_poll(cq);
1128 static inline void ibv_end_poll(struct ibv_cq_ex *cq)
1130 cq->end_poll(cq);
1133 static inline enum ibv_wc_opcode ibv_wc_read_opcode(struct ibv_cq_ex *cq)
1135 return cq->read_opcode(cq);
1138 static inline uint32_t ibv_wc_read_vendor_err(struct ibv_cq_ex *cq)
1140 return cq->read_vendor_err(cq);
1143 static inline uint32_t ibv_wc_read_byte_len(struct ibv_cq_ex *cq)
1145 return cq->read_byte_len(cq);
1148 static inline uint32_t ibv_wc_read_imm_data(struct ibv_cq_ex *cq)
1150 return cq->read_imm_data(cq);
1153 static inline uint32_t ibv_wc_read_qp_num(struct ibv_cq_ex *cq)
1155 return cq->read_qp_num(cq);
1158 static inline uint32_t ibv_wc_read_src_qp(struct ibv_cq_ex *cq)
1160 return cq->read_src_qp(cq);
1163 static inline int ibv_wc_read_wc_flags(struct ibv_cq_ex *cq)
1165 return cq->read_wc_flags(cq);
1168 static inline uint32_t ibv_wc_read_slid(struct ibv_cq_ex *cq)
1170 return cq->read_slid(cq);
1173 static inline uint8_t ibv_wc_read_sl(struct ibv_cq_ex *cq)
1175 return cq->read_sl(cq);
1178 static inline uint8_t ibv_wc_read_dlid_path_bits(struct ibv_cq_ex *cq)
1180 return cq->read_dlid_path_bits(cq);
1183 static inline uint64_t ibv_wc_read_completion_ts(struct ibv_cq_ex *cq)
1185 return cq->read_completion_ts(cq);
1188 static inline uint16_t ibv_wc_read_cvlan(struct ibv_cq_ex *cq)
1190 return cq->read_cvlan(cq);
1193 static inline uint32_t ibv_wc_read_flow_tag(struct ibv_cq_ex *cq)
1195 return cq->read_flow_tag(cq);
1426 int (*poll_cq)(struct ibv_cq *cq, int num_entries, struct ibv_wc *wc);
1427 int (*req_notify_cq)(struct ibv_cq *cq, int solicited_only);
1428 void (*cq_event)(struct ibv_cq *cq);
1429 int (*resize_cq)(struct ibv_cq *cq, int cqe);
1430 int (*destroy_cq)(struct ibv_cq *cq);
1501 /* create cq attr flags - one or more flags from
1865 * @cq: The CQ to resize.
1868 * Users can examine the cq structure to determine the actual CQ size.
1870 int ibv_resize_cq(struct ibv_cq *cq, int cqe);
1875 int ibv_destroy_cq(struct ibv_cq *cq);
1880 * @cq: Used to return pointer to CQ.
1887 struct ibv_cq **cq, void **cq_context);
1891 * @cq: CQ to acknowledge events for
1902 void ibv_ack_cq_events(struct ibv_cq *cq, unsigned int nevents);
1906 * @cq:the CQ being polled
1917 static inline int ibv_poll_cq(struct ibv_cq *cq, int num_entries, struct ibv_wc *wc)
1919 return cq->context->ops.poll_cq(cq, num_entries, wc);
1926 * @cq: The completion queue to request notification for.
1931 static inline int ibv_req_notify_cq(struct ibv_cq *cq, int solicited_only)
1933 return cq->context->ops.req_notify_cq(cq, solicited_only);