Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cq.c121 struct mlx4_cq_context *cq_context; in mlx4_cq_modify() local
128 cq_context = mailbox->buf; in mlx4_cq_modify()
129 cq_context->cq_max_count = cpu_to_be16(count); in mlx4_cq_modify()
143 struct mlx4_cq_context *cq_context; in mlx4_cq_resize() local
151 cq_context = mailbox->buf; in mlx4_cq_resize()
155 cq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_cq_resize()
245 struct mlx4_cq_context *cq_context; in mlx4_cq_alloc() local
270 cq_context = mailbox->buf; in mlx4_cq_alloc()
273 cq_context->flags |= cpu_to_be32(1 << 19); in mlx4_cq_alloc()
275 cq_context->logsize_usrpage = in mlx4_cq_alloc()
[all …]
/freebsd/sys/dev/mthca/
H A 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()
778 struct mthca_cq_context *cq_context; in mthca_init_cq() local
814 cq_context = mailbox->buf; in mthca_init_cq()
827 memset(cq_context, 0, sizeof *cq_context); in mthca_init_cq()
833 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); in mthca_init_cq()
838 cq_context->pd = cpu_to_be32(pdn); in mthca_init_cq()
839 cq_context->lkey = cpu_to_be32(cq->buf.mr.ibmr.lkey); in mthca_init_cq()
840 cq_context->cqn = cpu_to_be32(cq->cqn); in mthca_init_cq()
843 cq_context->ci_db = cpu_to_be32(cq->set_ci_db_index); in mthca_init_cq()
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Dcompat-1_0.c138 void *cq_context; member
257 void *cq_context,
263 struct ibv_cq_1_0 **cq, void **cq_context);
574 event->element.cq = event->element.cq->cq_context; in __ibv_get_async_event_1_0()
740 void *cq_context, in __ibv_create_cq_1_0() argument
759 cq->cq_context = cq_context; in __ibv_create_cq_1_0()
763 real_cq->cq_context = cq; in __ibv_create_cq_1_0()
789 struct ibv_cq_1_0 **cq, void **cq_context) in __ibv_get_cq_event_1_0() argument
800 *cq_context = (*cq)->cq_context; in __ibv_get_cq_event_1_0()
922 init_attr->send_cq = real_init_attr.send_cq->cq_context; in __ibv_query_qp_1_0()
[all …]
H A Ddevice.c137 void *cq_context) in verbs_init_cq() argument
157 cq->cq_context = cq_context; in verbs_init_cq()
193 cq_attr->channel, cq_attr->cq_context); in __lib_ibv_create_cq_ex()
H A Dverbs.c75 void *cq_context,
81 void **cq_context);
454 struct ibv_cq *__ibv_create_cq(struct ibv_context *context, int cqe, void *cq_context, in __ibv_create_cq() argument
465 err = verbs_init_cq(cq, context, channel, cq_context); in __ibv_create_cq()
507 struct ibv_cq **cq, void **cq_context) in __ibv_get_cq_event() argument
515 *cq_context = (*cq)->cq_context; in __ibv_get_cq_event()
H A Dverbs.h1064 void *cq_context; member
1081 void *cq_context; member
1486 void *cq_context; member
1835 void *cq_context,
1887 struct ibv_cq **cq, void **cq_context);
H A Ddriver.h135 void *cq_context);
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_cq.c42 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq()
121 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
H A Dib_cq.c117 cq->cq_context = private; in __ib_alloc_cq_user()
H A Duverbs.h234 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
H A Dib_uverbs_main.c353 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) in ib_uverbs_comp_handler() argument
355 struct ib_uverbs_event_queue *ev_queue = cq_context; in ib_uverbs_comp_handler()
H A Dib_verbs.c1529 void *cq_context, in __ib_create_cq() argument
1544 cq->cq_context = cq_context; in __ib_create_cq()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c153 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
276 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in c4iw_ev_handler()
H A Dqp.c634 schp->ibcq.cq_context); in complete_sq_drain_wr()
664 rchp->ibcq.cq_context); in complete_rq_drain_wr()
1195 rchp->ibcq.cq_context); in __flush_qp()
1202 rchp->ibcq.cq_context); in __flush_qp()
1208 schp->ibcq.cq_context); in __flush_qp()
1226 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp()
1232 schp->ibcq.cq_context); in flush_qp()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c40 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx5_ib_cq_comp()
60 ibcq->event_handler(&event, ibcq->cq_context); in mlx5_ib_cq_event()
804 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); in create_cq_user()
886 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); in create_cq_kernel()
913 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in notify_soft_wc_handler()
975 cqc = MLX5_ADDR_OF(create_cq_in, cqb, cq_context); in mlx5_ib_create_cq()
1311 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_ib_resize_cq()
H A Dmlx5_ib_gsi.c94 struct mlx5_ib_gsi_qp *gsi = cq->cq_context; in handle_single_completion()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_tx.c364 sdp_tx_irq(struct ib_cq *cq, void *cq_context) in sdp_tx_irq() argument
368 ssk = cq_context; in sdp_tx_irq()
H A Dsdp_rx.c661 sdp_rx_irq(struct ib_cq *cq, void *cq_context) in sdp_rx_irq() argument
665 ssk = cq_context; in sdp_rx_irq()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cq.c245 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_core_modify_cq_by_mask()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c340 &cq->ibcq, cq->ibcq.cq_context); in qlnxr_intr()
342 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qlnxr_intr()
624 ibcq->event_handler(&event, ibcq->cq_context); in qlnxr_affiliated_event()
H A Dqlnxr_cm.c83 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qlnxr_ll2_complete_tx_packet()
141 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qlnxr_ll2_complete_rx_packet()
/freebsd/sys/dev/iser/
H A Diser_verbs.c185 iser_cq_callback(struct ib_cq *cq, void *cq_context) in iser_cq_callback() argument
187 struct iser_comp *comp = cq_context; in iser_cq_callback()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c47 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx4_ib_cq_comp()
66 ibcq->event_handler(&event, ibcq->cq_context); in mlx4_ib_cq_event()
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h1458 typedef void (*ib_comp_handler)(struct ib_cq *cq, void *cq_context);
1471 void *cq_context; member
3372 void *cq_context,
/freebsd/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c412 .cq_context = NULL, in pp_init_ctx()

12