Home
last modified time | relevance | path

Searched refs:base_cq (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/sw/siw/
A Dsiw_verbs.h45 int siw_create_cq(struct ib_cq *base_cq, const struct ib_cq_init_attr *attr,
64 int siw_destroy_cq(struct ib_cq *base_cq, struct ib_udata *udata);
65 int siw_poll_cq(struct ib_cq *base_cq, int num_entries, struct ib_wc *wc);
66 int siw_req_notify_cq(struct ib_cq *base_cq, enum ib_cq_notify_flags flags);
A Dsiw_verbs.c1110 struct siw_cq *cq = to_siw_cq(base_cq); in siw_destroy_cq()
1144 struct siw_cq *cq = to_siw_cq(base_cq); in siw_create_cq()
1151 siw_dbg(base_cq->device, "too many CQ's\n"); in siw_create_cq()
1161 cq->base_cq.cqe = size; in siw_create_cq()
1239 struct siw_cq *cq = to_siw_cq(base_cq); in siw_poll_cq()
1268 struct siw_cq *cq = to_siw_cq(base_cq); in siw_req_notify_cq()
1849 struct ib_cq *base_cq = &cq->base_cq; in siw_cq_event() local
1852 event.device = base_cq->device; in siw_cq_event()
1853 event.element.cq = base_cq; in siw_cq_event()
1855 if (base_cq->event_handler) { in siw_cq_event()
[all …]
A Dsiw.h200 struct ib_cq base_cq; member
569 static inline struct siw_cq *to_siw_cq(struct ib_cq *base_cq) in to_siw_cq() argument
571 return container_of(base_cq, struct siw_cq, base_cq); in to_siw_cq()
709 ibdev_dbg(cq->base_cq.device, "CQ[%u] %s: " fmt, cq->id, __func__, \
A Dsiw_qp.c1009 if (!cq->base_cq.comp_handler) in siw_cq_notify_now()
1057 if (rdma_is_kernel_res(&cq->base_cq.res)) in siw_sqe_complete()
1074 cq->base_cq.comp_handler(&cq->base_cq, in siw_sqe_complete()
1075 cq->base_cq.cq_context); in siw_sqe_complete()
1115 if (rdma_is_kernel_res(&cq->base_cq.res)) { in siw_rqe_complete()
1136 cq->base_cq.comp_handler(&cq->base_cq, in siw_rqe_complete()
1137 cq->base_cq.cq_context); in siw_rqe_complete()
A Dsiw_cq.c66 if (likely(rdma_is_kernel_res(&cq->base_cq.res))) { in siw_reap_cqe()
A Dsiw_main.c271 INIT_RDMA_OBJ_SIZE(ib_cq, siw_cq, base_cq),

Completed in 18 milliseconds