Home
last modified time | relevance | path

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

/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()
1074 cqp = dev->cqp; in irdma_sc_alloc_stag()
1154 cqp = dev->cqp; in irdma_sc_mr_reg_non_shared()
1218 cqp = dev->cqp; in irdma_sc_dealloc_stag()
1258 cqp = dev->cqp; in irdma_sc_mw_alloc()
2337 cqp = dev->cqp; in irdma_sc_qp_upload_context()
2525 cqp = cq->dev->cqp; in irdma_sc_cq_create()
3388 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 Dhw.c591 struct irdma_cqp *cqp = &rf->cqp; in irdma_destroy_cqp() local
599 dma_free_coherent(dev->hw->device, cqp->sq.size, cqp->sq.va, in irdma_destroy_cqp()
600 cqp->sq.pa); in irdma_destroy_cqp()
931 struct irdma_cqp *cqp = &rf->cqp; in irdma_create_cqp() local
945 dev->cqp = &cqp->sc_cqp; in irdma_create_cqp()
949 cqp->sq.va = dma_alloc_coherent(dev->hw->device, cqp->sq.size, in irdma_create_cqp()
1005 list_add_tail(&cqp->cqp_requests[i].list, &cqp->cqp_avail_reqs); in irdma_create_cqp()
1012 cqp->sq.va, cqp->sq.pa); in irdma_create_cqp()
2310 cqp_info->in.u.manage_apbvt_entry.cqp = &iwdev->rf->cqp.sc_cqp; in irdma_cqp_manage_apbvt_cmd()
2420 cqp_info->in.u.add_arp_cache_entry.cqp = &rf->cqp.sc_cqp; in irdma_manage_arp_cache()
[all …]
A Dutils.c489 wake_up(&cqp->remove_wq); in irdma_free_cqp_request()
518 wait_event_timeout(cqp->remove_wq, in irdma_free_pending_cqp_request()
531 struct irdma_cqp *cqp = &rf->cqp; in irdma_cleanup_pending_cqp_op() local
864 struct irdma_sc_cqp *cqp = dev->cqp; in irdma_cqp_qp_suspend_resume() local
875 cqp_info->in.u.suspend_resume.cqp = cqp; in irdma_cqp_qp_suspend_resume()
1060 cqp_info->in.u.manage_push_page.cqp = &rf->cqp.sc_cqp; in irdma_dealloc_push_page()
1658 cqp_info->in.u.stats_gather.cqp = &rf->cqp.sc_cqp; in irdma_cqp_gather_stats_cmd()
1698 cqp_info->in.u.stats_manage.cqp = &rf->cqp.sc_cqp; in irdma_cqp_stats_inst_cmd()
1798 cqp_info->in.u.ws_node.cqp = cqp; in irdma_cqp_ws_node_cmd()
1855 cqp_info->in.u.ah_create.cqp = &rf->cqp.sc_cqp; in irdma_ah_cqp_op()
[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.h604 struct irdma_sc_cqp *cqp; member
668 struct irdma_sc_cqp *cqp; member
1292 struct irdma_sc_cqp *cqp; member
1298 struct irdma_sc_cqp *cqp; member
1304 struct irdma_sc_cqp *cqp; member
1310 struct irdma_sc_cqp *cqp; member
1317 struct irdma_sc_cqp *cqp; member
1322 struct irdma_sc_cqp *cqp; member
1372 struct irdma_sc_cqp *cqp; member
1380 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.c607 struct irdma_sc_cqp *cqp; in irdma_puda_qp_wqe() local
613 cqp = dev->cqp; in irdma_puda_qp_wqe()
614 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, 0); in irdma_puda_qp_wqe()
626 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity); in irdma_puda_qp_wqe()
633 irdma_sc_cqp_post_sq(cqp); in irdma_puda_qp_wqe()
726 struct irdma_sc_cqp *cqp; in irdma_puda_cq_wqe() local
731 cqp = dev->cqp; in irdma_puda_cq_wqe()
732 wqe = irdma_sc_cqp_get_next_send_wqe(cqp, 0); in irdma_puda_cq_wqe()
751 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity); in irdma_puda_cq_wqe()
758 irdma_sc_cqp_post_sq(dev->cqp); in irdma_puda_cq_wqe()
[all …]
A Dmain.h306 struct irdma_cqp cqp; member
485 struct irdma_cqp_request *irdma_alloc_and_get_cqp_request(struct irdma_cqp *cqp,
487 void irdma_free_cqp_request(struct irdma_cqp *cqp,
489 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()
755 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_cqp_create_qp_cmd()
1995 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_resize_cq()
2211 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_create_cq()
2565 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_mw()
2627 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_dealloc_mw()
2666 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hw_alloc_stag()
2835 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hwreg_mr()
3170 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); in irdma_hwdereg_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()
/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dparams.h23 struct mlx5e_cq_param cqp; member
31 struct mlx5e_cq_param cqp; member
A Dparams.c955 mlx5e_build_rx_cq_param(mdev, params, xsk, &param->cqp); in mlx5e_build_rq_param()
1012 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_build_sq_param()
1210 mlx5e_build_ico_cq_param(mdev, log_wq_size, &param->cqp); in mlx5e_build_icosq_param()
1227 mlx5e_build_ico_cq_param(mdev, log_wq_size, &param->cqp); in mlx5e_build_async_icosq_param()
1241 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_build_xdpsq_param()
A Dptp.c581 cq_param = &cparams->txq_sq_param.cqp; in mlx5e_ptp_open_tx_cqs()
630 cq_param = &cparams->rq_param.cqp; in mlx5e_ptp_open_rx_cq()
658 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_ptp_build_sq_param()
A Dtrap.c79 err = mlx5e_open_cq(priv->mdev, trap_moder, &rq_param->cqp, &ccp, &rq->cq); in mlx5e_open_trap_rq()
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
A Dsetup.c132 err = mlx5e_open_cq(c->mdev, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_xsk()
141 err = mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->xdp_sq.cqp, &ccp, in mlx5e_open_xsk()
/drivers/scsi/lpfc/
A Dlpfc_sli4.h1082 int lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp,
1092 struct lpfc_queue **drqp, struct lpfc_queue **cqp,
A Dlpfc_sli.c16405 lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, in lpfc_cq_create_set() argument
16422 if (!cqp || !hdwq || !numcq) in lpfc_cq_create_set()
16430 length += ((numcq * cqp[0]->page_count) * in lpfc_cq_create_set()
16448 cq = cqp[idx]; in lpfc_cq_create_set()
16622 cq = cqp[idx]; in lpfc_cq_create_set()
17424 struct lpfc_queue **drqp, struct lpfc_queue **cqp, in lpfc_mrq_create() argument
17439 if (!hrqp || !drqp || !cqp || !numrq) in lpfc_mrq_create()
17475 cq = cqp[idx]; in lpfc_mrq_create()
/drivers/net/ethernet/mellanox/mlx5/core/
A Den_main.c2161 &cparam->xdp_sq.cqp, ccp, &xdpsq->cq); in mlx5e_open_xdpredirect_sq()
2377 err = mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->txq_sq.cqp, in mlx5e_open_tx_cqs()
2583 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->async_icosq.cqp, &ccp, in mlx5e_open_queues()
2588 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues()
2605 err = mlx5e_open_cq(c->mdev, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_queues()
2610 err = c->xdp ? mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->xdp_sq.cqp, in mlx5e_open_queues()

Completed in 110 milliseconds