Home
last modified time | relevance | path

Searched refs:cq_context (Results 1 – 31 of 31) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dcq.c167 struct mlx4_cq_context *cq_context; in mlx4_cq_modify() local
174 cq_context = mailbox->buf; in mlx4_cq_modify()
175 cq_context->cq_max_count = cpu_to_be16(count); in mlx4_cq_modify()
176 cq_context->cq_period = cpu_to_be16(period); in mlx4_cq_modify()
189 struct mlx4_cq_context *cq_context; in mlx4_cq_resize() local
197 cq_context = mailbox->buf; in mlx4_cq_resize()
198 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); in mlx4_cq_resize()
199 cq_context->log_page_size = mtt->page_shift - 12; in mlx4_cq_resize()
201 cq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_cq_resize()
202 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_resize()
[all …]
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_cq.c235 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in mthca_cq_completion()
261 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); in mthca_cq_event()
781 struct mthca_cq_context *cq_context; in mthca_init_cq() local
817 cq_context = mailbox->buf; in mthca_init_cq()
830 memset(cq_context, 0, sizeof *cq_context); in mthca_init_cq()
831 cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK | in mthca_init_cq()
834 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24); in mthca_init_cq()
836 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); in mthca_init_cq()
838 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq()
839 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq()
[all …]
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_ev.c99 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
178 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in iwch_ev_dispatch()
Diwch_qp.c828 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in __flush_qp()
842 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp()
864 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp()
870 schp->ibcq.cq_context); in flush_qp()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dev.c114 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
235 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in c4iw_ev_handler()
Dqp.c1144 rchp->ibcq.cq_context); in __flush_qp()
1151 rchp->ibcq.cq_context); in __flush_qp()
1157 schp->ibcq.cq_context); in __flush_qp()
1175 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp()
1181 schp->ibcq.cq_context); in flush_qp()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_cq.c76 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); in ipath_cq_enter()
181 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in send_complete()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_cq.c79 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); in qib_cq_enter()
195 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in send_complete()
/linux-4.1.27/drivers/infiniband/core/
Duverbs.h190 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
Duverbs_main.c268 struct ib_uverbs_event_file *ev_file = cq->cq_context; in ib_uverbs_cleanup_ucontext()
438 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) in ib_uverbs_comp_handler() argument
440 struct ib_uverbs_event_file *file = cq_context; in ib_uverbs_comp_handler()
Dverbs.c1015 void *cq_context, int cqe, int comp_vector) in ib_create_cq() argument
1026 cq->cq_context = cq_context; in ib_create_cq()
Duverbs_cmd.c1391 cq->cq_context = ev_file; in ib_uverbs_create_cq()
1589 ev_file = cq->cq_context; in ib_uverbs_destroy_cq()
Dmad.c2629 struct ib_mad_port_private *port_priv = cq->cq_context; in ib_mad_thread_completion_handler()
/linux-4.1.27/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c248 static void rq_comp_handler(struct ib_cq *cq, void *cq_context) in rq_comp_handler() argument
250 struct svcxprt_rdma *xprt = cq_context; in rq_comp_handler()
429 static void sq_comp_handler(struct ib_cq *cq, void *cq_context) in sq_comp_handler() argument
431 struct svcxprt_rdma *xprt = cq_context; in sq_comp_handler()
Dverbs.c251 rpcrdma_sendcq_upcall(struct ib_cq *cq, void *cq_context) in rpcrdma_sendcq_upcall() argument
253 struct rpcrdma_ep *ep = (struct rpcrdma_ep *)cq_context; in rpcrdma_sendcq_upcall()
350 rpcrdma_recvcq_upcall(struct ib_cq *cq, void *cq_context) in rpcrdma_recvcq_upcall() argument
352 struct rpcrdma_ep *ep = (struct rpcrdma_ep *)cq_context; in rpcrdma_recvcq_upcall()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_ae.c315 cq->ibcq.cq_context); in c2_ae_event()
Dc2_cq.c78 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in c2_cq_event()
/linux-4.1.27/net/9p/
Dtrans_rdma.c344 static void cq_comp_handler(struct ib_cq *cq, void *cq_context) in cq_comp_handler() argument
346 struct p9_client *client = cq_context; in cq_comp_handler()
/linux-4.1.27/drivers/infiniband/ulp/iser/
Diser_verbs.c50 static void iser_cq_callback(struct ib_cq *cq, void *cq_context);
1221 static void iser_cq_callback(struct ib_cq *cq, void *cq_context) in iser_cq_callback() argument
1223 struct iser_comp *comp = cq_context; in iser_cq_callback()
/linux-4.1.27/include/rdma/
Dib_verbs.h1216 typedef void (*ib_comp_handler)(struct ib_cq *cq, void *cq_context);
1223 void *cq_context; member
2023 void *cq_context, int cqe, int comp_vector);
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dcq.c45 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx4_ib_cq_comp()
64 ibcq->event_handler(&event, ibcq->cq_context); in mlx4_ib_cq_event()
Dmad.c1109 struct mlx4_ib_demux_pv_ctx *ctx = cq->cq_context; in mlx4_ib_tunnel_comp_handler()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dcq.c43 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx5_ib_cq_comp()
63 ibcq->event_handler(&event, ibcq->cq_context); in mlx5_ib_cq_event()
Dmlx5_ib.h613 void mlx5_umr_cq_handler(struct ib_cq *cq, void *cq_context);
Dmr.c729 void mlx5_umr_cq_handler(struct ib_cq *cq, void *cq_context) in mlx5_umr_cq_handler() argument
Dmain.c1112 devr->c0->cq_context = NULL; in create_dev_resources()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_irq.c83 cq->ib_cq.comp_handler(&cq->ib_cq, cq->ib_cq.cq_context); in comp_event_callback()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c745 cq->ibcq.event_handler(&ib_evt, cq->ibcq.cq_context); in ocrdma_dispatch_ibevent()
895 (*bcq->ibcq.comp_handler) (&bcq->ibcq, bcq->ibcq.cq_context); in ocrdma_qp_buddy_cq_handler()
914 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in ocrdma_qp_cq_handler()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_hw4.h1084 struct cq_context { struct
1120 struct cq_context context; argument
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_hw.c3738 nescq->ibcq.event_handler(&ibevent, nescq->ibcq.cq_context); in nes_process_iwarp_aeqe()
3764 nescq->ibcq.comp_handler(&nescq->ibcq, nescq->ibcq.cq_context); in nes_iwarp_ce_handler()
/linux-4.1.27/drivers/infiniband/ulp/isert/
Dib_isert.c813 struct isert_comp *comp = isert_conn->qp->recv_cq->cq_context; in isert_connect_release()