Lines Matching refs:qdesc

10238 	struct lpfc_queue *qdesc;  in lpfc_alloc_io_wq_cq()  local
10246 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
10251 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
10254 if (!qdesc) { in lpfc_alloc_io_wq_cq()
10260 qdesc->qe_valid = 1; in lpfc_alloc_io_wq_cq()
10261 qdesc->hdwq = idx; in lpfc_alloc_io_wq_cq()
10262 qdesc->chann = cpu; in lpfc_alloc_io_wq_cq()
10263 phba->sli4_hba.hdwq[idx].io_cq = qdesc; in lpfc_alloc_io_wq_cq()
10270 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
10274 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
10278 if (!qdesc) { in lpfc_alloc_io_wq_cq()
10284 qdesc->hdwq = idx; in lpfc_alloc_io_wq_cq()
10285 qdesc->chann = cpu; in lpfc_alloc_io_wq_cq()
10286 phba->sli4_hba.hdwq[idx].io_wq = qdesc; in lpfc_alloc_io_wq_cq()
10287 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_alloc_io_wq_cq()
10308 struct lpfc_queue *qdesc; in lpfc_sli4_queue_create() local
10411 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10414 if (!qdesc) { in lpfc_sli4_queue_create()
10420 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
10421 qdesc->hdwq = cpup->hdwq; in lpfc_sli4_queue_create()
10422 qdesc->chann = cpu; /* First CPU this EQ is affinitized to */ in lpfc_sli4_queue_create()
10423 qdesc->last_cpu = qdesc->chann; in lpfc_sli4_queue_create()
10426 qp->hba_eq = qdesc; in lpfc_sli4_queue_create()
10428 eqi = per_cpu_ptr(phba->sli4_hba.eq_info, qdesc->last_cpu); in lpfc_sli4_queue_create()
10429 list_add(&qdesc->cpu_list, &eqi->list); in lpfc_sli4_queue_create()
10463 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
10468 if (!qdesc) { in lpfc_sli4_queue_create()
10474 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
10475 qdesc->hdwq = idx; in lpfc_sli4_queue_create()
10476 qdesc->chann = cpu; in lpfc_sli4_queue_create()
10477 phba->sli4_hba.nvmet_cqset[idx] = qdesc; in lpfc_sli4_queue_create()
10487 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10490 if (!qdesc) { in lpfc_sli4_queue_create()
10495 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
10496 phba->sli4_hba.mbx_cq = qdesc; in lpfc_sli4_queue_create()
10499 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10502 if (!qdesc) { in lpfc_sli4_queue_create()
10507 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
10508 qdesc->chann = cpu; in lpfc_sli4_queue_create()
10509 phba->sli4_hba.els_cq = qdesc; in lpfc_sli4_queue_create()
10518 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10521 if (!qdesc) { in lpfc_sli4_queue_create()
10526 qdesc->chann = cpu; in lpfc_sli4_queue_create()
10527 phba->sli4_hba.mbx_wq = qdesc; in lpfc_sli4_queue_create()
10534 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10537 if (!qdesc) { in lpfc_sli4_queue_create()
10542 qdesc->chann = cpu; in lpfc_sli4_queue_create()
10543 phba->sli4_hba.els_wq = qdesc; in lpfc_sli4_queue_create()
10544 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_sli4_queue_create()
10548 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10551 if (!qdesc) { in lpfc_sli4_queue_create()
10556 qdesc->chann = cpu; in lpfc_sli4_queue_create()
10557 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
10558 phba->sli4_hba.nvmels_cq = qdesc; in lpfc_sli4_queue_create()
10561 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10564 if (!qdesc) { in lpfc_sli4_queue_create()
10569 qdesc->chann = cpu; in lpfc_sli4_queue_create()
10570 phba->sli4_hba.nvmels_wq = qdesc; in lpfc_sli4_queue_create()
10571 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_sli4_queue_create()
10579 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10582 if (!qdesc) { in lpfc_sli4_queue_create()
10587 phba->sli4_hba.hdr_rq = qdesc; in lpfc_sli4_queue_create()
10590 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
10593 if (!qdesc) { in lpfc_sli4_queue_create()
10598 phba->sli4_hba.dat_rq = qdesc; in lpfc_sli4_queue_create()
10606 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
10611 if (!qdesc) { in lpfc_sli4_queue_create()
10617 qdesc->hdwq = idx; in lpfc_sli4_queue_create()
10618 phba->sli4_hba.nvmet_mrq_hdr[idx] = qdesc; in lpfc_sli4_queue_create()
10621 qdesc->rqbp = kzalloc_node(sizeof(*qdesc->rqbp), in lpfc_sli4_queue_create()
10624 if (qdesc->rqbp == NULL) { in lpfc_sli4_queue_create()
10632 INIT_LIST_HEAD(&qdesc->rqbp->rqb_buffer_list); in lpfc_sli4_queue_create()
10635 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
10640 if (!qdesc) { in lpfc_sli4_queue_create()
10646 qdesc->hdwq = idx; in lpfc_sli4_queue_create()
10647 phba->sli4_hba.nvmet_mrq_data[idx] = qdesc; in lpfc_sli4_queue_create()