Searched refs:ibcq (Results 1 - 25 of 66) sorted by relevance

123

/linux-master/drivers/infiniband/sw/rdmavt/
H A Dcq.h12 int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
14 int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
15 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags);
16 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
17 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
H A Dcq.c54 if (head >= (unsigned)cq->ibcq.cqe) {
55 head = cq->ibcq.cqe;
68 if (cq->ibcq.event_handler) {
71 ev.device = cq->ibcq.device;
72 ev.element.cq = &cq->ibcq;
74 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context);
140 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq
158 rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) argument
276 rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata) argument
302 rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) argument
338 rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) argument
476 rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument
[all...]
/linux-master/include/rdma/
H A Drdmavt_cq.h47 struct ib_cq ibcq; member in struct:rvt_cq
60 static inline struct rvt_cq *ibcq_to_rvtcq(struct ib_cq *ibcq) argument
62 return container_of(ibcq, struct rvt_cq, ibcq);
/linux-master/drivers/infiniband/hw/mana/
H A Dcq.c8 int mana_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, argument
11 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq);
12 struct ib_device *ibdev = ibcq->device;
75 int mana_ib_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata) argument
77 struct mana_ib_cq *cq = container_of(ibcq, struct mana_ib_cq, ibcq);
78 struct ib_device *ibdev = ibcq->device;
107 if (cq->ibcq.comp_handler)
108 cq->ibcq
[all...]
H A Dqp.c112 struct ib_cq *ibcq; local
194 ibcq = ibwq->cq;
195 cq = container_of(ibcq, struct mana_ib_cq, ibcq);
263 ibcq = ibwq->cq;
265 cq = container_of(ibcq, struct mana_ib_cq, ibcq);
288 container_of(attr->send_cq, struct mana_ib_cq, ibcq);
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_cq.c68 cq->ibcq.cqe = cqe;
82 cq->ibcq.cqe = cqe;
101 if (cq->ibcq.event_handler) {
102 ev.device = cq->ibcq.device;
103 ev.element.cq = &cq->ibcq;
105 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context);
119 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq
[all...]
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcq.c45 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local
46 ibcq->comp_handler(ibcq, ibcq->cq_context);
52 struct ib_cq *ibcq; local
60 ibcq = &to_mibcq(cq)->ibcq;
61 if (ibcq->event_handler) {
62 event.device = ibcq
174 mlx4_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) argument
379 mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
877 mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
904 mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
[all...]
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c58 * @ibcq: the completion queue
63 int pvrdma_req_notify_cq(struct ib_cq *ibcq, argument
66 struct pvrdma_dev *dev = to_vdev(ibcq->device);
67 struct pvrdma_cq *cq = to_vcq(ibcq);
83 cq->ibcq.cqe, &head);
95 * @ibcq: Allocated CQ
101 int pvrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, argument
104 struct ib_device *ibdev = ibcq->device;
107 struct pvrdma_cq *cq = to_vcq(ibcq);
132 cq->ibcq
386 pvrdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
[all...]
H A Dpvrdma_main.c186 INIT_RDMA_OBJ_SIZE(ib_cq, pvrdma_cq, ibcq),
321 if (cq && cq->ibcq.event_handler) {
322 struct ib_cq *ibcq = &cq->ibcq; local
325 e.device = ibcq->device;
326 e.element.cq = ibcq;
328 ibcq->event_handler(&e, ibcq->cq_context);
492 if (cq && cq->ibcq.comp_handler)
493 cq->ibcq
[all...]
/linux-master/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.h48 int qedr_gsi_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
H A Dverbs.h54 int qedr_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
56 int qedr_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
57 int qedr_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
H A Dmain.c233 INIT_RDMA_OBJ_SIZE(ib_cq, qedr_cq, ibcq),
475 if (!cq->destroyed && cq->ibcq.comp_handler)
476 (*cq->ibcq.comp_handler)
477 (&cq->ibcq, cq->ibcq.cq_context);
656 struct ib_cq *ibcq; local
727 ibcq = &cq->ibcq;
728 if (ibcq->event_handler) {
729 event.device = ibcq
[all...]
H A Dqedr_roce_cm.c82 cq->ibcq.comp_handler ? "Yes" : "No");
92 if (cq->ibcq.comp_handler)
93 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context);
121 if (cq->ibcq.comp_handler)
122 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context);
670 int qedr_gsi_poll_cq(struct ib_cq *ibcq, in argument
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe));
230 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context);
254 event.element.cq = &cq->ibcq;
255 if (cq->ibcq.event_handler)
256 cq->ibcq.event_handler(&event, cq->ibcq.cq_context);
290 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe));
292 if (prod_index == cq->cons_index + cq->ibcq
654 mthca_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument
736 mthca_arbel_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
[all...]
H A Dmthca_provider.h184 struct ib_cq ibcq; member in struct:mthca_cq
301 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) argument
303 return container_of(ibcq, struct mthca_cq, ibcq);
/linux-master/drivers/infiniband/hw/cxgb4/
H A Dev.c105 event.device = chp->ibcq.device;
107 event.element.cq = &chp->ibcq;
115 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
234 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_eq.c59 event.device = cq->ibcq.device;
60 event.element.cq = &cq->ibcq;
62 if (cq->ibcq.event_handler)
63 cq->ibcq.event_handler(&event,
64 cq->ibcq.cq_context);
149 if (rdma_is_kernel_res(&cq->ibcq.res))
152 if (cq->ibcq.comp_handler)
153 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq
[all...]
H A Derdma_verbs.h259 struct ib_cq ibcq; member in struct:erdma_cq
310 static inline struct erdma_cq *to_ecq(struct ib_cq *ibcq) argument
312 return container_of(ibcq, struct erdma_cq, ibcq);
327 int erdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
342 int erdma_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
343 int erdma_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
357 int erdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
H A Derdma_cq.c33 int erdma_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
35 struct erdma_cq *cq = to_ecq(ibcq);
112 struct erdma_dev *dev = to_edev(cq->ibcq.device);
181 int erdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
183 struct erdma_cq *cq = to_ecq(ibcq);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dcq.c43 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local
45 ibcq->comp_handler(ibcq, ibcq->cq_context);
51 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device);
52 struct ib_cq *ibcq = &cq->ibcq; local
61 if (ibcq->event_handler) {
64 event.element.cq = ibcq;
607 mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument
644 mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument
944 mlx5_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) argument
1262 mlx5_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
1411 mlx5_ib_get_cqe_size(struct ib_cq *ibcq) argument
1423 mlx5_ib_generate_wc(struct ib_cq *ibcq, struct ib_wc *wc) argument
[all...]
H A Drestrack.c151 static int fill_res_cq_entry_raw(struct sk_buff *msg, struct ib_cq *ibcq) argument
153 struct mlx5_ib_dev *dev = to_mdev(ibcq->device);
154 struct mlx5_ib_cq *cq = to_mcq(ibcq);
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_cq.c456 struct ib_cq *ibcq; local
467 ibcq = &hr_cq->ib_cq;
468 if (ibcq->comp_handler)
469 ibcq->comp_handler(ibcq, ibcq->cq_context);
477 struct ib_cq *ibcq; local
496 ibcq = &hr_cq->ib_cq;
497 if (ibcq->event_handler) {
498 event.device = ibcq
[all...]
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.h72 int ocrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
75 int ocrdma_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.h58 int usnic_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
H A Dusnic_ib.h65 struct ib_cq ibcq; member in struct:usnic_ib_cq

Completed in 396 milliseconds

123