Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/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.c829 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in __flush_qp()
843 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp()
865 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp()
871 schp->ibcq.cq_context); in flush_qp()
/linux-4.4.14/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.c1157 rchp->ibcq.cq_context); in __flush_qp()
1164 rchp->ibcq.cq_context); in __flush_qp()
1170 schp->ibcq.cq_context); in __flush_qp()
1188 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp()
1194 schp->ibcq.cq_context); in flush_qp()
/linux-4.4.14/drivers/staging/rdma/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.4.14/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.4.14/drivers/staging/rdma/hfi1/
Dcq.c95 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); in hfi1_cq_enter()
211 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in send_complete()
/linux-4.4.14/drivers/infiniband/core/
Duverbs.h199 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
Duverbs_main.c270 struct ib_uverbs_event_file *ev_file = cq->cq_context; in ib_uverbs_cleanup_ucontext()
465 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) in ib_uverbs_comp_handler() argument
467 struct ib_uverbs_event_file *file = cq_context; in ib_uverbs_comp_handler()
Dverbs.c1157 void *cq_context, in ib_create_cq() argument
1169 cq->cq_context = cq_context; in ib_create_cq()
Duverbs_cmd.c1409 cq->cq_context = ev_file; in create_cq()
1713 ev_file = cq->cq_context; in ib_uverbs_destroy_cq()
Dmad.c2860 struct ib_mad_port_private *port_priv = cq->cq_context; in ib_mad_thread_completion_handler()
/linux-4.4.14/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c300 static void rq_comp_handler(struct ib_cq *cq, void *cq_context) in rq_comp_handler() argument
302 struct svcxprt_rdma *xprt = cq_context; in rq_comp_handler()
482 static void sq_comp_handler(struct ib_cq *cq, void *cq_context) in sq_comp_handler() argument
484 struct svcxprt_rdma *xprt = cq_context; in sq_comp_handler()
Dverbs.c176 rpcrdma_sendcq_upcall(struct ib_cq *cq, void *cq_context) in rpcrdma_sendcq_upcall() argument
256 rpcrdma_recvcq_upcall(struct ib_cq *cq, void *cq_context) in rpcrdma_recvcq_upcall() argument
/linux-4.4.14/drivers/staging/rdma/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.4.14/net/9p/
Dtrans_rdma.c342 static void cq_comp_handler(struct ib_cq *cq, void *cq_context) in cq_comp_handler() argument
344 struct p9_client *client = cq_context; in cq_comp_handler()
/linux-4.4.14/drivers/infiniband/ulp/iser/
Diser_verbs.c50 static void iser_cq_callback(struct ib_cq *cq, void *cq_context);
1268 static void iser_cq_callback(struct ib_cq *cq, void *cq_context) in iser_cq_callback() argument
1270 struct iser_comp *comp = cq_context; in iser_cq_callback()
/linux-4.4.14/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.c1127 struct mlx4_ib_demux_pv_ctx *ctx = cq->cq_context; in mlx4_ib_tunnel_comp_handler()
/linux-4.4.14/include/rdma/
Dib_verbs.h1308 typedef void (*ib_comp_handler)(struct ib_cq *cq, void *cq_context);
1315 void *cq_context; member
2473 void *cq_context,
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dcq.c44 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx5_ib_cq_comp()
64 ibcq->event_handler(&event, ibcq->cq_context); in mlx5_ib_cq_event()
Dmlx5_ib.h604 void mlx5_umr_cq_handler(struct ib_cq *cq, void *cq_context);
Dmain.c1212 devr->c0->cq_context = NULL; in create_dev_resources()
Dmr.c737 void mlx5_umr_cq_handler(struct ib_cq *cq, void *cq_context) in mlx5_umr_cq_handler() argument
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_irq.c83 cq->ib_cq.comp_handler(&cq->ib_cq, cq->ib_cq.cq_context); in comp_event_callback()
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c785 cq->ibcq.event_handler(&ib_evt, cq->ibcq.cq_context); in ocrdma_dispatch_ibevent()
957 (*bcq->ibcq.comp_handler) (&bcq->ibcq, bcq->ibcq.cq_context); in ocrdma_qp_buddy_cq_handler()
976 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in ocrdma_qp_cq_handler()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_hw4.h1086 struct cq_context { struct
1122 struct cq_context context; argument
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h3769 struct mlx5_ifc_cqc_bits cq_context; member
4308 struct mlx5_ifc_cqc_bits cq_context; member
5660 struct mlx5_ifc_cqc_bits cq_context; member
/linux-4.4.14/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.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c813 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in mlx5e_enable_cq()
/linux-4.4.14/drivers/infiniband/ulp/isert/
Dib_isert.c766 struct isert_comp *comp = isert_conn->qp->recv_cq->cq_context; in isert_connect_release()