Lines Matching defs:base_cq
1099 int siw_destroy_cq(struct ib_cq *base_cq, struct ib_udata *udata)
1101 struct siw_cq *cq = to_siw_cq(base_cq);
1102 struct siw_device *sdev = to_siw_dev(base_cq->device);
1125 * @base_cq: CQ as allocated by RDMA midlayer
1130 int siw_create_cq(struct ib_cq *base_cq, const struct ib_cq_init_attr *attr,
1133 struct siw_device *sdev = to_siw_dev(base_cq->device);
1134 struct siw_cq *cq = to_siw_cq(base_cq);
1141 siw_dbg(base_cq->device, "too many CQ's\n");
1146 siw_dbg(base_cq->device, "CQ size error: %d\n", size);
1151 cq->base_cq.cqe = size;
1166 siw_dbg(base_cq->device, "new CQ [%u]\n", cq->id);
1202 siw_dbg(base_cq->device, "CQ creation failed: %d", rv);
1223 * @base_cq: Base CQ contained in siw CQ.
1227 int siw_poll_cq(struct ib_cq *base_cq, int num_cqe, struct ib_wc *wc)
1229 struct siw_cq *cq = to_siw_cq(base_cq);
1253 * @base_cq: Base CQ contained in siw CQ.
1256 int siw_req_notify_cq(struct ib_cq *base_cq, enum ib_cq_notify_flags flags)
1258 struct siw_cq *cq = to_siw_cq(base_cq);
1834 struct ib_cq *base_cq = &cq->base_cq;
1837 event.device = base_cq->device;
1838 event.element.cq = base_cq;
1840 if (base_cq->event_handler) {
1842 base_cq->event_handler(&event, base_cq->cq_context);