| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_cq.c | 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); in next_cqe_sw() 230 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in mthca_cq_completion() 254 event.element.cq = &cq->ibcq; in mthca_cq_event() 255 if (cq->ibcq.event_handler) in mthca_cq_event() 256 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); in mthca_cq_event() 290 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); in mthca_cq_clean() 292 if (prod_index == cq->cons_index + cq->ibcq.cqe) in mthca_cq_clean() 304 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in mthca_cq_clean() 310 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean() 316 set_cqe_hw(get_cqe(cq, (cq->cons_index + i) & cq->ibcq.cqe)); in mthca_cq_clean() [all …]
|
| H A D | mthca_provider.h | 184 struct ib_cq ibcq; member 301 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() argument 303 return container_of(ibcq, struct mthca_cq, ibcq); in to_mcq()
|
| H A D | mthca_dev.h | 483 int mthca_poll_cq(struct ib_cq *ibcq, int num_entries,
|
| /linux/include/rdma/ |
| H A D | rdmavt_cq.h | 47 struct ib_cq ibcq; member 60 static inline struct rvt_cq *ibcq_to_rvtcq(struct ib_cq *ibcq) in ibcq_to_rvtcq() argument 62 return container_of(ibcq, struct rvt_cq, ibcq); in ibcq_to_rvtcq()
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | ev.c | 105 event.device = chp->ibcq.device; in post_qp_event() 107 event.element.cq = &chp->ibcq; in post_qp_event() 115 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event() 234 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in c4iw_ev_handler()
|
| H A D | restrack.c | 372 int c4iw_fill_res_cq_entry(struct sk_buff *msg, struct ib_cq *ibcq) in c4iw_fill_res_cq_entry() argument 374 struct c4iw_cq *chp = to_c4iw_cq(ibcq); in c4iw_fill_res_cq_entry() 382 if (ibcq->uobject) in c4iw_fill_res_cq_entry()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_roce_cm.c | 82 cq->ibcq.comp_handler ? "Yes" : "No"); in qedr_ll2_complete_tx_packet() 92 if (cq->ibcq.comp_handler) in qedr_ll2_complete_tx_packet() 93 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qedr_ll2_complete_tx_packet() 121 if (cq->ibcq.comp_handler) in qedr_ll2_complete_rx_packet() 122 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qedr_ll2_complete_rx_packet() 668 int qedr_gsi_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in qedr_gsi_poll_cq() argument 670 struct qedr_dev *dev = get_qedr_dev(ibcq->device); in qedr_gsi_poll_cq() 671 struct qedr_cq *cq = get_qedr_cq(ibcq); in qedr_gsi_poll_cq()
|
| H A D | main.c | 233 INIT_RDMA_OBJ_SIZE(ib_cq, qedr_cq, ibcq), 472 if (!cq->destroyed && cq->ibcq.comp_handler) in qedr_irq_handler() 473 (*cq->ibcq.comp_handler) in qedr_irq_handler() 474 (&cq->ibcq, cq->ibcq.cq_context); in qedr_irq_handler() 653 struct ib_cq *ibcq; in qedr_affiliated_event() local 724 ibcq = &cq->ibcq; in qedr_affiliated_event() 725 if (ibcq->event_handler) { in qedr_affiliated_event() 726 event.device = ibcq->device; in qedr_affiliated_event() 727 event.element.cq = ibcq; in qedr_affiliated_event() 728 ibcq->event_handler(&event, ibcq->cq_context); in qedr_affiliated_event()
|
| H A D | qedr_roce_cm.h | 48 int qedr_gsi_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
| /linux/drivers/infiniband/hw/ionic/ |
| H A D | ionic_admin.c | 492 static void ionic_rdma_admincq_comp(struct ib_cq *ibcq, void *cq_context) in ionic_rdma_admincq_comp() argument 527 vcq->ibcq.device = &dev->ibdev; in ionic_create_rdma_admincq() 528 vcq->ibcq.comp_handler = ionic_rdma_admincq_comp; in ionic_create_rdma_admincq() 529 vcq->ibcq.event_handler = ionic_rdma_admincq_event; in ionic_create_rdma_admincq() 530 atomic_set(&vcq->ibcq.usecnt, 0); in ionic_create_rdma_admincq() 809 if (cq->vcq->ibcq.comp_handler) in ionic_cq_event() 810 cq->vcq->ibcq.comp_handler(&cq->vcq->ibcq, in ionic_cq_event() 811 cq->vcq->ibcq.cq_context); in ionic_cq_event() 815 if (cq->vcq->ibcq.event_handler) { in ionic_cq_event() 818 ibev.element.cq = &cq->vcq->ibcq; in ionic_cq_event() [all …]
|
| /linux/drivers/infiniband/hw/vmw_pvrdma/ |
| H A D | pvrdma_main.c | 227 INIT_RDMA_OBJ_SIZE(ib_cq, pvrdma_cq, ibcq), 359 if (cq && cq->ibcq.event_handler) { in pvrdma_cq_event() 360 struct ib_cq *ibcq = &cq->ibcq; in pvrdma_cq_event() local 363 e.device = ibcq->device; in pvrdma_cq_event() 364 e.element.cq = ibcq; in pvrdma_cq_event() 366 ibcq->event_handler(&e, ibcq->cq_context); in pvrdma_cq_event() 518 if (cq && cq->ibcq.comp_handler) in pvrdma_intrx_handler() 519 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in pvrdma_intrx_handler()
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_ib.h | 65 struct ib_cq ibcq; member
|
| H A D | usnic_ib_main.c | 379 INIT_RDMA_OBJ_SIZE(ib_cq, usnic_ib_cq, ibcq),
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_hw.c | 721 ib_evt.element.cq = &cq->ibcq; in ocrdma_dispatch_ibevent() 727 ib_evt.element.cq = &cq->ibcq; in ocrdma_dispatch_ibevent() 787 if (cq->ibcq.event_handler) in ocrdma_dispatch_ibevent() 788 cq->ibcq.event_handler(&ib_evt, cq->ibcq.cq_context); in ocrdma_dispatch_ibevent() 958 if (bcq && bcq->ibcq.comp_handler) { in ocrdma_qp_buddy_cq_handler() 960 (*bcq->ibcq.comp_handler) (&bcq->ibcq, bcq->ibcq.cq_context); in ocrdma_qp_buddy_cq_handler() 977 if (cq->ibcq.comp_handler) { in ocrdma_qp_cq_handler() 979 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in ocrdma_qp_cq_handler()
|
| /linux/drivers/infiniband/hw/erdma/ |
| H A D | erdma_qp.c | 264 erdma_remove_cqes_of_qp(&qp->scq->ibcq, QP_ID(qp)); in erdma_reset_qp() 266 erdma_remove_cqes_of_qp(&qp->rcq->ibcq, QP_ID(qp)); in erdma_reset_qp()
|