Home
last modified time | relevance | path

Searched refs:cqp (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Dctrl.c455 cqp = qp->dev->cqp; in irdma_sc_qp_create()
508 cqp = qp->dev->cqp; in irdma_sc_qp_modify()
576 cqp = qp->dev->cqp; in irdma_sc_qp_destroy()
1071 cqp = dev->cqp; in irdma_sc_alloc_stag()
1148 cqp = dev->cqp; in irdma_sc_mr_reg_non_shared()
1212 cqp = dev->cqp; in irdma_sc_dealloc_stag()
1252 cqp = dev->cqp; in irdma_sc_mw_alloc()
2318 cqp = dev->cqp; in irdma_sc_qp_upload_context()
2506 cqp = cq->dev->cqp; in irdma_sc_cq_create()
3366 info->cqp = cqp; in irdma_sc_ccq_get_cqe_info()
[all …]
A Duda.h41 int irdma_access_mcast_grp(struct irdma_sc_cqp *cqp,
50 static inline int irdma_sc_create_ah(struct irdma_sc_cqp *cqp, in irdma_sc_create_ah() argument
53 return irdma_sc_access_ah(cqp, info, IRDMA_CQP_OP_CREATE_ADDR_HANDLE, in irdma_sc_create_ah()
57 static inline int irdma_sc_destroy_ah(struct irdma_sc_cqp *cqp, in irdma_sc_destroy_ah() argument
60 return irdma_sc_access_ah(cqp, info, IRDMA_CQP_OP_DESTROY_ADDR_HANDLE, in irdma_sc_destroy_ah()
64 static inline int irdma_sc_create_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_sc_create_mcast_grp() argument
68 return irdma_access_mcast_grp(cqp, info, IRDMA_CQP_OP_CREATE_MCAST_GRP, in irdma_sc_create_mcast_grp()
72 static inline int irdma_sc_modify_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_sc_modify_mcast_grp() argument
76 return irdma_access_mcast_grp(cqp, info, IRDMA_CQP_OP_MODIFY_MCAST_GRP, in irdma_sc_modify_mcast_grp()
80 static inline int irdma_sc_destroy_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_sc_destroy_mcast_grp() argument
[all …]
A Dutils.c534 struct irdma_cqp *cqp = &rf->cqp; in irdma_cleanup_pending_cqp_op() local
842 struct irdma_sc_cqp *cqp = dev->cqp; in irdma_cqp_qp_suspend_resume() local
853 cqp_info->in.u.suspend_resume.cqp = cqp; in irdma_cqp_qp_suspend_resume()
969 cqp_info->in.u.query_fpm_val.cqp = dev->cqp; in irdma_cqp_query_fpm_val_cmd()
1003 cqp_info->in.u.commit_fpm_val.cqp = dev->cqp; in irdma_cqp_commit_fpm_val_cmd()
1106 cqp_info->in.u.manage_push_page.cqp = &rf->cqp.sc_cqp; in irdma_dealloc_push_page()
1888 cqp_info->in.u.stats_gather.cqp = &rf->cqp.sc_cqp; in irdma_cqp_gather_stats_cmd()
1928 cqp_info->in.u.stats_manage.cqp = &rf->cqp.sc_cqp; in irdma_cqp_stats_inst_cmd()
2028 cqp_info->in.u.ws_node.cqp = cqp; in irdma_cqp_ws_node_cmd()
2085 cqp_info->in.u.ah_create.cqp = &rf->cqp.sc_cqp; in irdma_ah_cqp_op()
[all …]
A Dhw.c572 struct irdma_cqp *cqp = &rf->cqp; in irdma_destroy_cqp() local
583 dma_free_coherent(dev->hw->device, cqp->sq.size, cqp->sq.va, in irdma_destroy_cqp()
584 cqp->sq.pa); in irdma_destroy_cqp()
585 cqp->sq.va = NULL; in irdma_destroy_cqp()
910 struct irdma_cqp *cqp = &rf->cqp; in irdma_create_cqp() local
924 dev->cqp = &cqp->sc_cqp; in irdma_create_cqp()
928 cqp->sq.va = dma_alloc_coherent(dev->hw->device, cqp->sq.size, in irdma_create_cqp()
985 list_add_tail(&cqp->cqp_requests[i].list, &cqp->cqp_avail_reqs); in irdma_create_cqp()
2274 cqp_info->in.u.manage_apbvt_entry.cqp = &iwdev->rf->cqp.sc_cqp; in irdma_cqp_manage_apbvt_cmd()
2384 cqp_info->in.u.add_arp_cache_entry.cqp = &rf->cqp.sc_cqp; in irdma_manage_arp_cache()
[all …]
A Duda.c20 int irdma_sc_access_ah(struct irdma_sc_cqp *cqp, struct irdma_ah_info *info, in irdma_sc_access_ah() argument
26 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_sc_access_ah()
69 FIELD_PREP(IRDMA_UDA_CQPSQ_MAV_WQEVALID, cqp->polarity) | in irdma_sc_access_ah()
78 irdma_sc_cqp_post_sq(cqp); in irdma_sc_access_ah()
115 int irdma_access_mcast_grp(struct irdma_sc_cqp *cqp, in irdma_access_mcast_grp() argument
122 ibdev_dbg(to_ibdev(cqp->dev), "WQE: mg_id out of range\n"); in irdma_access_mcast_grp()
126 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, scratch); in irdma_access_mcast_grp()
128 ibdev_dbg(to_ibdev(cqp->dev), "WQE: ring full\n"); in irdma_access_mcast_grp()
157 FIELD_PREP(IRDMA_UDA_CQPSQ_MG_WQEVALID, cqp->polarity) | in irdma_access_mcast_grp()
168 irdma_sc_cqp_post_sq(cqp); in irdma_access_mcast_grp()
A Dtype.h646 struct irdma_sc_cqp *cqp; member
710 struct irdma_sc_cqp *cqp; member
1333 struct irdma_sc_cqp *cqp; member
1339 struct irdma_sc_cqp *cqp; member
1345 struct irdma_sc_cqp *cqp; member
1351 struct irdma_sc_cqp *cqp; member
1358 struct irdma_sc_cqp *cqp; member
1363 struct irdma_sc_cqp *cqp; member
1413 struct irdma_sc_cqp *cqp; member
1421 struct irdma_sc_cqp *cqp; member
[all …]
A Dprotos.h18 void irdma_sc_cqp_post_sq(struct irdma_sc_cqp *cqp);
19 __le64 *irdma_sc_cqp_get_next_send_wqe(struct irdma_sc_cqp *cqp, u64 scratch);
77 int irdma_sc_static_hmc_pages_allocated(struct irdma_sc_cqp *cqp, u64 scratch,
A Dpuda.c601 struct irdma_sc_cqp *cqp; in irdma_puda_qp_wqe() local
607 cqp = dev->cqp; in irdma_puda_qp_wqe()
608 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, 0); in irdma_puda_qp_wqe()
620 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity); in irdma_puda_qp_wqe()
627 irdma_sc_cqp_post_sq(cqp); in irdma_puda_qp_wqe()
720 struct irdma_sc_cqp *cqp; in irdma_puda_cq_wqe() local
725 cqp = dev->cqp; in irdma_puda_cq_wqe()
726 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, 0); in irdma_puda_cq_wqe()
745 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity); in irdma_puda_cq_wqe()
752 irdma_sc_cqp_post_sq(dev->cqp); in irdma_puda_cq_wqe()
[all …]
A Dmain.h300 struct irdma_cqp cqp; member
477 struct irdma_cqp_request *irdma_alloc_and_get_cqp_request(struct irdma_cqp *cqp,
479 void irdma_free_cqp_request(struct irdma_cqp *cqp,
481 void irdma_put_cqp_request(struct irdma_cqp *cqp,
A Dverbs.c249 cqp_info->in.u.manage_push_page.cqp = &iwdev->rf->cqp.sc_cqp; in irdma_alloc_push_page()
259 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_alloc_push_page()
678 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_cqp_create_qp_cmd()
1915 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_resize_cq()
2130 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_create_cq()
2482 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_mw()
2544 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_dealloc_mw()
2581 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_stag()
2743 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hwreg_mr()
3169 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_dereg_mr()
[all …]
A Dhmc.c134 return dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_one()
173 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp()
185 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
A Dsetup.c124 err = mlx5e_open_cq(c->priv, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_xsk()
133 err = mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->xdp_sq.cqp, &ccp, in mlx5e_open_xsk()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dparams.h23 struct mlx5e_cq_param cqp; member
30 struct mlx5e_cq_param cqp; member
A Dparams.c946 mlx5e_build_rx_cq_param(mdev, params, xsk, &param->cqp); in mlx5e_build_rq_param()
1005 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_build_sq_param()
1189 mlx5e_build_ico_cq_param(mdev, log_wq_size, &param->cqp); in mlx5e_build_icosq_param()
1206 mlx5e_build_ico_cq_param(mdev, log_wq_size, &param->cqp); in mlx5e_build_async_icosq_param()
1221 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_build_xdpsq_param()
A Dptp.c429 cq_param = &cparams->txq_sq_param.cqp; in mlx5e_ptp_open_tx_cqs()
476 cq_param = &cparams->rq_param.cqp; in mlx5e_ptp_open_rx_cq()
504 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_ptp_build_sq_param()
A Dtrap.c76 err = mlx5e_open_cq(priv, trap_moder, &rq_param->cqp, &ccp, &rq->cq); in mlx5e_open_trap_rq()
/linux-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_sli4.h1084 int lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp,
1094 struct lpfc_queue **drqp, struct lpfc_queue **cqp,
A Dlpfc_sli.c16337 lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, in lpfc_cq_create_set() argument
16354 if (!cqp || !hdwq || !numcq) in lpfc_cq_create_set()
16362 length += ((numcq * cqp[0]->page_count) * in lpfc_cq_create_set()
16380 cq = cqp[idx]; in lpfc_cq_create_set()
16554 cq = cqp[idx]; in lpfc_cq_create_set()
17356 struct lpfc_queue **drqp, struct lpfc_queue **cqp, in lpfc_mrq_create() argument
17371 if (!hrqp || !drqp || !cqp || !numrq) in lpfc_mrq_create()
17407 cq = cqp[idx]; in lpfc_mrq_create()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_main.c2032 err = mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->txq_sq.cqp, in mlx5e_open_tx_cqs()
2233 err = mlx5e_open_cq(c->priv, icocq_moder, &cparam->async_icosq.cqp, &ccp, in mlx5e_open_queues()
2238 err = mlx5e_open_cq(c->priv, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues()
2247 err = mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->xdp_sq.cqp, &ccp, in mlx5e_open_queues()
2252 err = mlx5e_open_cq(c->priv, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_queues()
2257 err = c->xdp ? mlx5e_open_cq(c->priv, params->tx_cq_moderation, &cparam->xdp_sq.cqp, in mlx5e_open_queues()

Completed in 100 milliseconds