Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/irdma/
H A Duda.h39 int irdma_sc_access_ah(struct irdma_sc_cqp *cqp, struct irdma_ah_info *info,
41 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()
[all …]
H 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c1016 mlx5e_build_rx_cq_param(mdev, params, rqo, &rq_param->cqp); in mlx5e_build_rq_param()
1074 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_build_sq_param()
1263 mlx5e_build_ico_cq_param(mdev, log_wq_size, &param->cqp); in mlx5e_build_icosq_param()
1280 mlx5e_build_ico_cq_param(mdev, log_wq_size, &param->cqp); in mlx5e_build_async_icosq_param()
1293 mlx5e_build_tx_cq_param(mdev, params, &param->cqp); in mlx5e_build_xdpsq_param()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2169 &cparam->xdp_sq.cqp, ccp, &xdpsq->cq); in mlx5e_open_xdpredirect_sq()
2387 err = mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->txq_sq.cqp, in mlx5e_open_tx_cqs()
2600 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->async_icosq.cqp, ccp, in mlx5e_open_async_icosq()
2638 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues()
2655 err = mlx5e_open_cq(c->mdev, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_queues()
2660 err = c->xdp ? mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->xdp_sq.cqp, in mlx5e_open_queues()
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c16472 lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, in lpfc_cq_create_set() argument
16489 if (!cqp || !hdwq || !numcq) in lpfc_cq_create_set()
16497 length += ((numcq * cqp[0]->page_count) * in lpfc_cq_create_set()
16515 cq = cqp[idx]; in lpfc_cq_create_set()
16689 cq = cqp[idx]; in lpfc_cq_create_set()
17489 struct lpfc_queue **drqp, struct lpfc_queue **cqp, in lpfc_mrq_create() argument
17504 if (!hrqp || !drqp || !cqp || !numrq) in lpfc_mrq_create()
17540 cq = cqp[idx]; in lpfc_mrq_create()