Lines Matching defs:hdwq

2027 	ret_val = lpfc_sli4_issue_wqe(phba, &phba->sli4_hba.hdwq[0], sync_buf);
3283 axchg->hdwq = &phba->sli4_hba.hdwq[0];
4650 pring = phba->sli4_hba.hdwq[i].io_wq->pring;
4687 pring = phba->sli4_hba.hdwq[i].io_wq->pring;
6152 if (sli4_hba->hdwq) {
6155 qp = &sli4_hba->hdwq[qidx];
7974 struct lpfc_sli4_hdw_queue *hdwq;
7980 hdwq = &phba->sli4_hba.hdwq[phba->sli4_hba.cpu_map[i].hdwq];
7981 eq = hdwq->hba_eq;
9199 if (sli4_hba->hdwq) {
10570 return lpfc_sli4_issue_wqe(phba, lpfc_cmd->hdwq, piocb);
10655 wq = phba->sli4_hba.hdwq[piocb->hba_wqidx].io_wq;
11226 if (unlikely(!phba->sli4_hba.hdwq))
11236 return phba->sli4_hba.hdwq[piocb->hba_wqidx].io_wq->pring;
11299 eq = phba->sli4_hba.hdwq[piocb->hba_wqidx].hba_eq;
11749 pring = phba->sli4_hba.hdwq[i].io_wq->pring;
12874 phba->sli4_hba.hdwq[iocbq->hba_wqidx].io_wq->pring;
12907 cqid = lpfc_cmd->hdwq->io_cq_map;
14560 lpfc_sli4_io_xri_aborted(phba, wcqe, cq->hdwq);
14575 cq_event->hdwq = cq->hdwq;
15421 uint32_t qidx = eq->hdwq;
15463 phba->sli4_hba.hdwq[qidx].hba_eq);
15564 if (unlikely(!phba->sli4_hba.hdwq))
16202 if (unlikely(!phba->sli4_hba.hdwq))
16389 * @hdwq: The hardware queue array with the EQ to bind completion queues to.
16411 struct lpfc_sli4_hdw_queue *hdwq, uint32_t type,
16427 if (!cqp || !hdwq || !numcq)
16454 eq = hdwq[idx].hba_eq;
21119 wq = phba->sli4_hba.hdwq[0].io_wq;
21478 retval = lpfc_sli4_issue_wqe(phba, lpfc_cmd->hdwq, abtsiocb);
21516 qp = &phba->sli4_hba.hdwq[hwqid];
21549 multixri_pool = phba->sli4_hba.hdwq[hwqid].p_multixri_pool;
21585 qp = &phba->sli4_hba.hdwq[hwqid];
21630 qp = &phba->sli4_hba.hdwq[hwqid];
21750 qp = &phba->sli4_hba.hdwq[hwqid];
21774 phba->sli4_hba.hdwq[next_hwqid].p_multixri_pool;
21815 multixri_pool = phba->sli4_hba.hdwq[hwqid].p_multixri_pool;
22030 qp = &phba->sli4_hba.hdwq[hwqid];
22062 lpfc_ncmd->hdwq = qp;
22080 qp = &phba->sli4_hba.hdwq[idx];
22092 lpfc_cmd->hdwq = qp;
22108 * a IO buffer from head of @hdwq io_buf_list and returns to caller.
22125 qp = &phba->sli4_hba.hdwq[hwqid];
22271 * lpfc_get_sgl_per_hdwq - Get one SGL chunk from hdwq's pool
22275 * This routine gets one SGL chunk buffer from hdwq's SGL chunk pool,
22288 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
22289 struct list_head *buf_list = &hdwq->sgl_list;
22292 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22304 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
22306 cpu_to_node(hdwq->io_wq->chann));
22326 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22334 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
22340 * lpfc_put_sgl_per_hdwq - Put one SGL chunk into hdwq pool
22344 * This routine puts one SGL chunk buffer into hdwq's SGL chunk pool.
22356 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
22357 struct list_head *buf_list = &hdwq->sgl_list;
22360 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22373 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
22378 * lpfc_free_sgl_per_hdwq - Free all SGL chunks of hdwq pool
22380 * @hdwq: hdwq to cleanup sgl buff resources on
22382 * This routine frees all SGL chunks of hdwq SGL chunk pool.
22389 struct lpfc_sli4_hdw_queue *hdwq)
22391 struct list_head *buf_list = &hdwq->sgl_list;
22396 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22408 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
22412 * lpfc_get_cmd_rsp_buf_per_hdwq - Get one CMD/RSP buffer from hdwq
22416 * This routine gets one CMD/RSP buffer from hdwq's CMD/RSP pool,
22430 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
22431 struct list_head *buf_list = &hdwq->cmd_rsp_buf_list;
22434 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22447 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
22449 cpu_to_node(hdwq->io_wq->chann));
22474 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22482 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
22488 * lpfc_put_cmd_rsp_buf_per_hdwq - Put one CMD/RSP buffer into hdwq pool
22505 struct lpfc_sli4_hdw_queue *hdwq = lpfc_buf->hdwq;
22506 struct list_head *buf_list = &hdwq->cmd_rsp_buf_list;
22509 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22522 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);
22527 * lpfc_free_cmd_rsp_buf_per_hdwq - Free all CMD/RSP chunks of hdwq pool
22529 * @hdwq: hdwq to cleanup cmd rsp buff resources on
22531 * This routine frees all CMD/RSP buffers of hdwq's CMD/RSP buf pool.
22538 struct lpfc_sli4_hdw_queue *hdwq)
22540 struct list_head *buf_list = &hdwq->cmd_rsp_buf_list;
22545 spin_lock_irqsave(&hdwq->hdwq_lock, iflags);
22558 spin_unlock_irqrestore(&hdwq->hdwq_lock, iflags);