| /linux/drivers/infiniband/hw/irdma/ |
| H A D | uda.h | 39 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 D | utils.c | 423 * irdma_alloc_and_get_cqp_request - get cqp struct 424 * @cqp: device cqp ptr 425 * @wait: cqp to be used in wait mode 427 struct irdma_cqp_request *irdma_alloc_and_get_cqp_request(struct irdma_cqp *cqp, in irdma_alloc_and_get_cqp_request() argument 433 spin_lock_irqsave(&cqp->req_lock, flags); in irdma_alloc_and_get_cqp_request() 434 if (!list_empty(&cqp->cqp_avail_reqs)) { in irdma_alloc_and_get_cqp_request() 435 cqp_request = list_first_entry(&cqp->cqp_avail_reqs, in irdma_alloc_and_get_cqp_request() 439 spin_unlock_irqrestore(&cqp->req_lock, flags); in irdma_alloc_and_get_cqp_request() 449 ibdev_dbg(to_ibdev(cqp in irdma_alloc_and_get_cqp_request() 475 irdma_free_cqp_request(struct irdma_cqp * cqp,struct irdma_cqp_request * cqp_request) irdma_free_cqp_request() argument 500 irdma_put_cqp_request(struct irdma_cqp * cqp,struct irdma_cqp_request * cqp_request) irdma_put_cqp_request() argument 513 irdma_free_pending_cqp_request(struct irdma_cqp * cqp,struct irdma_cqp_request * cqp_request) irdma_free_pending_cqp_request() argument 532 irdma_cleanup_deferred_cqp_ops(struct irdma_sc_dev * dev,struct irdma_cqp * cqp) irdma_cleanup_deferred_cqp_ops() argument 550 struct irdma_cqp *cqp = &rf->cqp; irdma_cleanup_pending_cqp_op() local 918 struct irdma_sc_cqp *cqp = dev->cqp; irdma_cqp_qp_suspend_resume() local 1876 struct irdma_sc_cqp *cqp = &iwcqp->sc_cqp; irdma_cqp_ws_node_cmd() local [all...] |
| H A D | uda.c | 20 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()
|
| H A D | verbs.c | 253 cqp_request = irdma_alloc_and_get_cqp_request(&iwdev->rf->cqp, true); in irdma_alloc_push_page() 265 cqp_info->in.u.manage_push_page.cqp = &iwdev->rf->cqp.sc_cqp; in irdma_alloc_push_page() 275 irdma_put_cqp_request(&iwdev->rf->cqp, cqp_request); 771 cqp_request = irdma_alloc_and_get_cqp_request(&rf->cqp, true); in irdma_cqp_create_qp_cmd() 786 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_cqp_create_qp_cmd() 2109 cqp_request = irdma_alloc_and_get_cqp_request(&rf->cqp, true); in irdma_resize_cq() 2127 irdma_put_cqp_request(&rf->cqp, cqp_request); in irdma_resize_cq() 2207 /* Execute this cqp op synchronously, so we can update srq_limit in irdma_modify_srq() 2210 cqp_request = irdma_alloc_and_get_cqp_request(&rf->cqp, tru in irdma_modify_srq() [all...] |
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_sli4.h | 1094 int lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, 1104 struct lpfc_queue **drqp, struct lpfc_queue **cqp,
|
| H A D | lpfc_sli.c | 16445 * @cqp: The queue structure array to use to create the completion queues. 16451 * as detailed in @cqp, on a port, 16467 lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, 16484 if (!cqp || !hdwq || !numcq) in lpfc_cq_create_set() 16492 length += ((numcq * cqp[0]->page_count) * in lpfc_cq_create_set() 16510 cq = cqp[idx]; in lpfc_cq_create_set() 16684 cq = cqp[idx]; in lpfc_cq_create_set() 17463 * @cqp: The completion queue array to bind these receive queues to. 17484 struct lpfc_queue **drqp, struct lpfc_queue **cqp, in lpfc_mrq_create() 17499 if (!hrqp || !drqp || !cqp || !numr in lpfc_mrq_create() 16468 lpfc_cq_create_set(struct lpfc_hba * phba,struct lpfc_queue ** cqp,struct lpfc_sli4_hdw_queue * hdwq,uint32_t type,uint32_t subtype) lpfc_cq_create_set() argument 17485 lpfc_mrq_create(struct lpfc_hba * phba,struct lpfc_queue ** hrqp,struct lpfc_queue ** drqp,struct lpfc_queue ** cqp,uint32_t subtype) lpfc_mrq_create() argument [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_main.c | 2167 &cparam->xdp_sq.cqp, ccp, &xdpsq->cq); in mlx5e_open_xdpredirect_sq() 2385 err = mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->txq_sq.cqp, in mlx5e_open_tx_cqs() 2598 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->async_icosq.cqp, ccp, in mlx5e_open_async_icosq() 2636 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues() 2653 err = mlx5e_open_cq(c->mdev, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_queues() 2658 err = c->xdp ? mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->xdp_sq.cqp, in mlx5e_open_queues()
|