/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_cq.c | 121 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() 130 cq_context->cq_period = cpu_to_be16(period); 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() 152 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); in mlx4_cq_resize() 153 cq_context->log_page_size = mtt->page_shift - 12; in mlx4_cq_resize() 155 cq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_cq_resize() 156 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_resize() [all …]
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_cq.c | 235 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() 828 cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK | in mthca_init_cq() 831 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24); in mthca_init_cq() 833 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); in mthca_init_cq() 835 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq() 836 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq() [all …]
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | compat-1_0.c | 138 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 751 real_cq = ibv_create_cq(context->real_context, cqe, cq_context, in __ibv_create_cq_1_0() 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() [all …]
|
H A D | device.c | 137 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 D | verbs.c | 75 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 D | verbs.h | 1064 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 D | driver.h | 135 void *cq_context);
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_cq.c | 42 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 D | ib_cq.c | 117 cq->cq_context = private; in __ib_alloc_cq_user()
|
H A D | uverbs.h | 234 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
|
H A D | ib_uverbs_main.c | 353 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 D | ib_verbs.c | 1529 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 D | ev.c | 153 (*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 D | qp.c | 637 schp->ibcq.cq_context); in complete_sq_drain_wr() 667 rchp->ibcq.cq_context); in complete_rq_drain_wr() 1202 rchp->ibcq.cq_context); in __flush_qp() 1209 rchp->ibcq.cq_context); in __flush_qp() 1215 schp->ibcq.cq_context); in __flush_qp() 1233 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp() 1239 schp->ibcq.cq_context); in flush_qp()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_cq.c | 40 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 D | mlx5_ib_gsi.c | 94 struct mlx5_ib_gsi_qp *gsi = cq->cq_context; in handle_single_completion()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_tx.c | 364 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 D | sdp_rx.c | 661 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 D | mlx5_cq.c | 245 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_core_modify_cq_by_mask()
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_os.c | 340 &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 D | qlnxr_cm.c | 83 (*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 D | iser_verbs.c | 185 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 D | mlx4_ib_cq.c | 47 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 D | ib_verbs.h | 1458 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 D | rc_pingpong.c | 412 .cq_context = NULL, in pp_init_ctx()
|