/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | cq.c | 173 struct mlx4_cq_context *cq_context; in mlx4_cq_modify() local 180 cq_context = mailbox->buf; in mlx4_cq_modify() 181 cq_context->cq_max_count = cpu_to_be16(count); in mlx4_cq_modify() 182 cq_context->cq_period = cpu_to_be16(period); in mlx4_cq_modify() 195 struct mlx4_cq_context *cq_context; in mlx4_cq_resize() local 203 cq_context = mailbox->buf; in mlx4_cq_resize() 204 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); in mlx4_cq_resize() 205 cq_context->log_page_size = mtt->page_shift - 12; in mlx4_cq_resize() 207 cq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_cq_resize() 208 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_resize() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2_dfx.c | 12 struct hns_roce_v2_cq_context *cq_context; in hns_roce_v2_query_cqc_info() local 20 cq_context = mailbox->buf; in hns_roce_v2_query_cqc_info() 29 memcpy(buffer, cq_context, sizeof(*cq_context)); in hns_roce_v2_query_cqc_info()
|
D | hns_roce_hw_v1.c | 723 free_mr->mr_free_cq->ib_cq.cq_context = NULL; in hns_roce_v1_rsv_lp_qp() 1995 struct hns_roce_cq_context *cq_context = mb_buf; in hns_roce_v1_write_cqc() local 1999 memset(cq_context, 0, sizeof(*cq_context)); in hns_roce_v1_write_cqc() 2007 roce_set_field(cq_context->cqc_byte_4, in hns_roce_v1_write_cqc() 2010 roce_set_field(cq_context->cqc_byte_4, CQ_CONTEXT_CQC_BYTE_4_CQN_M, in hns_roce_v1_write_cqc() 2013 cq_context->cq_bt_l = cpu_to_le32((u32)dma_handle); in hns_roce_v1_write_cqc() 2015 roce_set_field(cq_context->cqc_byte_12, in hns_roce_v1_write_cqc() 2019 roce_set_field(cq_context->cqc_byte_12, in hns_roce_v1_write_cqc() 2023 roce_set_field(cq_context->cqc_byte_12, CQ_CONTEXT_CQC_BYTE_12_CEQN_M, in hns_roce_v1_write_cqc() 2026 cq_context->cur_cqe_ba0_l = cpu_to_le32((u32)(mtts[0])); in hns_roce_v1_write_cqc() [all …]
|
D | hns_roce_hw_v2.c | 3042 struct hns_roce_v2_cq_context *cq_context; in hns_roce_v2_write_cqc() local 3044 cq_context = mb_buf; in hns_roce_v2_write_cqc() 3045 memset(cq_context, 0, sizeof(*cq_context)); in hns_roce_v2_write_cqc() 3047 roce_set_field(cq_context->byte_4_pg_ceqn, V2_CQC_BYTE_4_CQ_ST_M, in hns_roce_v2_write_cqc() 3049 roce_set_field(cq_context->byte_4_pg_ceqn, V2_CQC_BYTE_4_ARM_ST_M, in hns_roce_v2_write_cqc() 3051 roce_set_field(cq_context->byte_4_pg_ceqn, V2_CQC_BYTE_4_SHIFT_M, in hns_roce_v2_write_cqc() 3053 roce_set_field(cq_context->byte_4_pg_ceqn, V2_CQC_BYTE_4_CEQN_M, in hns_roce_v2_write_cqc() 3056 roce_set_field(cq_context->byte_8_cqn, V2_CQC_BYTE_8_CQN_M, in hns_roce_v2_write_cqc() 3059 roce_set_field(cq_context->byte_8_cqn, V2_CQC_BYTE_8_CQE_SIZE_M, in hns_roce_v2_write_cqc() 3063 cq_context->cqe_cur_blk_addr = cpu_to_le32(to_hr_hw_page_addr(mtts[0])); in hns_roce_v2_write_cqc() [all …]
|
D | hns_roce_cq.c | 364 ibcq->comp_handler(ibcq, ibcq->cq_context); in hns_roce_cq_completion() 396 ibcq->event_handler(&event, ibcq->cq_context); in hns_roce_cq_event()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 230 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in mthca_cq_completion() 256 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); in mthca_cq_event() 773 struct mthca_cq_context *cq_context; in mthca_init_cq() local 811 cq_context = mailbox->buf; in mthca_init_cq() 824 memset(cq_context, 0, sizeof *cq_context); in mthca_init_cq() 825 cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK | in mthca_init_cq() 828 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24); in mthca_init_cq() 830 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); in mthca_init_cq() 832 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq() 833 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq() [all …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_wr.h | 119 void smc_wr_tx_cq_handler(struct ib_cq *ib_cq, void *cq_context); 128 void smc_wr_rx_cq_handler(struct ib_cq *ib_cq, void *cq_context);
|
D | smc_wr.c | 147 void smc_wr_tx_cq_handler(struct ib_cq *ib_cq, void *cq_context) in smc_wr_tx_cq_handler() argument 149 struct smc_ib_device *dev = (struct smc_ib_device *)cq_context; in smc_wr_tx_cq_handler() 436 void smc_wr_rx_cq_handler(struct ib_cq *ib_cq, void *cq_context) in smc_wr_rx_cq_handler() argument 438 struct smc_ib_device *dev = (struct smc_ib_device *)cq_context; in smc_wr_rx_cq_handler()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_cq.c | 54 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in rxe_send_complete() 118 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); in rxe_cq_post()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_std_types_cq.c | 43 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq() 125 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
|
D | uverbs.h | 236 void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context);
|
D | cq.c | 229 cq->cq_context = private; in __ib_alloc_cq()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 370 rpcrdma_flush_disconnect(cq->cq_context, wc); in frwr_wc_fastreg() 455 rpcrdma_flush_disconnect(cq->cq_context, wc); in frwr_wc_localinv() 477 rpcrdma_flush_disconnect(cq->cq_context, wc); in frwr_wc_localinv_wake() 584 rpcrdma_flush_disconnect(cq->cq_context, wc); in frwr_wc_localinv_done()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | ev.c | 115 (*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()
|
D | qp.c | 1012 schp->ibcq.cq_context); in complete_sq_drain_wr() 1063 rchp->ibcq.cq_context); in complete_rq_drain_wr() 1641 rchp->ibcq.cq_context); in __flush_qp() 1648 rchp->ibcq.cq_context); in __flush_qp() 1654 schp->ibcq.cq_context); in __flush_qp() 1678 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); in flush_qp() 1684 schp->ibcq.cq_context); in flush_qp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 92 int eqn = MLX5_GET(cqc, MLX5_ADDR_OF(create_cq_in, in, cq_context), c_eqn); in mlx5_core_create_cq() 208 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_core_modify_cq_moderation()
|
D | debugfs.c | 340 ctx = MLX5_ADDR_OF(query_cq_out, out, cq_context); in cq_read_field()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | cq.c | 45 ibcq->comp_handler(ibcq, ibcq->cq_context); in mlx5_ib_cq_comp() 65 ibcq->event_handler(&event, ibcq->cq_context); in mlx5_ib_cq_event() 765 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); in create_cq_user() 888 cqc = MLX5_ADDR_OF(create_cq_in, *cqb, cq_context); in create_cq_kernel() 916 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in notify_soft_wc_handler() 977 cqc = MLX5_ADDR_OF(create_cq_in, cqb, cq_context); in mlx5_ib_create_cq() 1315 cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in mlx5_ib_resize_cq()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | cq.c | 116 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); in rvt_cq_enter() 182 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in send_complete()
|
/kernel/linux/linux-5.10/net/9p/ |
D | trans_rdma.c | 293 struct p9_client *client = cq->cq_context; in recv_done() 344 struct p9_client *client = cq->cq_context; in send_done()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | health.c | 50 cqc = MLX5_ADDR_OF(query_cq_out, out, cq_context); in mlx5e_health_cq_diag_fmsg()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv.c | 212 struct rtrs_srv_con *con = cq->cq_context; in rtrs_srv_reg_mr_done() 736 struct rtrs_srv_con *con = cq->cq_context; in rtrs_srv_info_rsp_done() 878 struct rtrs_srv_con *con = cq->cq_context; in rtrs_srv_info_req_done() 1126 struct rtrs_srv_con *con = cq->cq_context; in rtrs_srv_inv_rkey_done() 1183 struct rtrs_srv_con *con = cq->cq_context; in rtrs_srv_rdma_done()
|
D | rtrs-clt.c | 334 struct rtrs_clt_con *con = cq->cq_context; in rtrs_clt_fast_reg_done() 354 struct rtrs_clt_con *con = cq->cq_context; in rtrs_clt_inv_rkey_done() 595 struct rtrs_clt_con *con = cq->cq_context; in rtrs_clt_rdma_done() 2262 struct rtrs_clt_con *con = cq->cq_context; in rtrs_clt_info_req_done() 2345 struct rtrs_clt_con *con = cq->cq_context; in rtrs_clt_info_rsp_done()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_hw.c | 177 i40iwcq->ibcq.cq_context); in i40iw_iwarp_ce_handler() 386 iwcq->ibcq.event_handler(&ibevent, iwcq->ibcq.cq_context); in i40iw_process_aeq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 93 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qedr_ll2_complete_tx_packet() 122 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); in qedr_ll2_complete_rx_packet()
|