Home
last modified time | relevance | path

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

12

/freebsd-13.1/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-13.1/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-13.1/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
148 cq->cq_context = cq_context; in verbs_init_cq()
171 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
462 verbs_init_cq(cq, context, channel, cq_context); in __ibv_create_cq()
497 struct ibv_cq **cq, void **cq_context) in __ibv_get_cq_event() argument
505 *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-13.1/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c83 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
206 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in c4iw_ev_handler()
H A Dqp.c638 schp->ibcq.cq_context); in complete_sq_drain_wr()
668 rchp->ibcq.cq_context); in complete_rq_drain_wr()
1199 rchp->ibcq.cq_context); in __flush_qp()
1206 rchp->ibcq.cq_context); in __flush_qp()
1212 schp->ibcq.cq_context); in __flush_qp()
1230 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp()
1236 schp->ibcq.cq_context); in flush_qp()
/freebsd-13.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cq.c226 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_core_modify_cq_moderation()
246 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_core_modify_cq_moderation_mode()
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c118 cq->cq_context = private; in ib_alloc_cq()
H A Duverbs.h222 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
H A Dib_uverbs_main.c334 struct ib_uverbs_event_file *ev_file = cq->cq_context; in ib_uverbs_cleanup_ucontext()
529 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) in ib_uverbs_comp_handler() argument
531 struct ib_uverbs_event_file *file = cq_context; in ib_uverbs_comp_handler()
H A Dib_verbs.c1365 void *cq_context, in ib_create_cq() argument
1377 cq->cq_context = cq_context; in ib_create_cq()
/freebsd-13.1/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c41 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx5_ib_cq_comp()
61 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()
882 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); in create_cq_kernel()
909 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in notify_soft_wc_handler()
976 cqc = MLX5_ADDR_OF(create_cq_in, cqb, cq_context); in mlx5_ib_create_cq()
1325 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_ib_resize_cq()
H A Dmlx5_ib_gsi.c96 struct mlx5_ib_gsi_qp *gsi = cq->cq_context; in handle_single_completion()
/freebsd-13.1/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-13.1/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c347 &cq->ibcq, cq->ibcq.cq_context); in qlnxr_intr()
349 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qlnxr_intr()
631 ibcq->event_handler(&event, ibcq->cq_context); in qlnxr_affiliated_event()
H A Dqlnxr_cm.c85 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qlnxr_ll2_complete_tx_packet()
146 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qlnxr_ll2_complete_rx_packet()
/freebsd-13.1/sys/dev/iser/
H A Diser_verbs.c186 iser_cq_callback(struct ib_cq *cq, void *cq_context) in iser_cq_callback() argument
188 struct iser_comp *comp = cq_context; in iser_cq_callback()
/freebsd-13.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c46 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx4_ib_cq_comp()
65 ibcq->event_handler(&event, ibcq->cq_context); in mlx4_ib_cq_event()
/freebsd-13.1/sys/ofed/include/rdma/
H A Dib_verbs.h1467 typedef void (*ib_comp_handler)(struct ib_cq *cq, void *cq_context);
1480 void *cq_context; member
2909 void *cq_context,
/freebsd-13.1/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c412 .cq_context = NULL, in pp_init_ctx()
/freebsd-13.1/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_conn.c468 cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in mlx5_fpga_conn_create_cq()

12