Lines Matching refs:qdesc

8877 	struct lpfc_queue *qdesc;  in lpfc_alloc_io_wq_cq()  local
8885 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
8890 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
8893 if (!qdesc) { in lpfc_alloc_io_wq_cq()
8899 qdesc->qe_valid = 1; in lpfc_alloc_io_wq_cq()
8900 qdesc->hdwq = idx; in lpfc_alloc_io_wq_cq()
8901 qdesc->chann = cpu; in lpfc_alloc_io_wq_cq()
8902 phba->sli4_hba.hdwq[idx].io_cq = qdesc; in lpfc_alloc_io_wq_cq()
8909 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_EXPANDED_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
8913 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_alloc_io_wq_cq()
8917 if (!qdesc) { in lpfc_alloc_io_wq_cq()
8923 qdesc->hdwq = idx; in lpfc_alloc_io_wq_cq()
8924 qdesc->chann = cpu; in lpfc_alloc_io_wq_cq()
8925 phba->sli4_hba.hdwq[idx].io_wq = qdesc; in lpfc_alloc_io_wq_cq()
8926 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_alloc_io_wq_cq()
8947 struct lpfc_queue *qdesc; in lpfc_sli4_queue_create() local
9050 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9053 if (!qdesc) { in lpfc_sli4_queue_create()
9059 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
9060 qdesc->hdwq = cpup->hdwq; in lpfc_sli4_queue_create()
9061 qdesc->chann = cpu; /* First CPU this EQ is affinitized to */ in lpfc_sli4_queue_create()
9062 qdesc->last_cpu = qdesc->chann; in lpfc_sli4_queue_create()
9065 qp->hba_eq = qdesc; in lpfc_sli4_queue_create()
9067 eqi = per_cpu_ptr(phba->sli4_hba.eq_info, qdesc->last_cpu); in lpfc_sli4_queue_create()
9068 list_add(&qdesc->cpu_list, &eqi->list); in lpfc_sli4_queue_create()
9102 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
9107 if (!qdesc) { in lpfc_sli4_queue_create()
9113 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
9114 qdesc->hdwq = idx; in lpfc_sli4_queue_create()
9115 qdesc->chann = cpu; in lpfc_sli4_queue_create()
9116 phba->sli4_hba.nvmet_cqset[idx] = qdesc; in lpfc_sli4_queue_create()
9126 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9129 if (!qdesc) { in lpfc_sli4_queue_create()
9134 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
9135 phba->sli4_hba.mbx_cq = qdesc; in lpfc_sli4_queue_create()
9138 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9141 if (!qdesc) { in lpfc_sli4_queue_create()
9146 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
9147 qdesc->chann = cpu; in lpfc_sli4_queue_create()
9148 phba->sli4_hba.els_cq = qdesc; in lpfc_sli4_queue_create()
9157 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9160 if (!qdesc) { in lpfc_sli4_queue_create()
9165 qdesc->chann = cpu; in lpfc_sli4_queue_create()
9166 phba->sli4_hba.mbx_wq = qdesc; in lpfc_sli4_queue_create()
9173 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9176 if (!qdesc) { in lpfc_sli4_queue_create()
9181 qdesc->chann = cpu; in lpfc_sli4_queue_create()
9182 phba->sli4_hba.els_wq = qdesc; in lpfc_sli4_queue_create()
9183 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_sli4_queue_create()
9187 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9190 if (!qdesc) { in lpfc_sli4_queue_create()
9195 qdesc->chann = cpu; in lpfc_sli4_queue_create()
9196 qdesc->qe_valid = 1; in lpfc_sli4_queue_create()
9197 phba->sli4_hba.nvmels_cq = qdesc; in lpfc_sli4_queue_create()
9200 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9203 if (!qdesc) { in lpfc_sli4_queue_create()
9208 qdesc->chann = cpu; in lpfc_sli4_queue_create()
9209 phba->sli4_hba.nvmels_wq = qdesc; in lpfc_sli4_queue_create()
9210 list_add_tail(&qdesc->wq_list, &phba->sli4_hba.lpfc_wq_list); in lpfc_sli4_queue_create()
9218 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9221 if (!qdesc) { in lpfc_sli4_queue_create()
9226 phba->sli4_hba.hdr_rq = qdesc; in lpfc_sli4_queue_create()
9229 qdesc = lpfc_sli4_queue_alloc(phba, LPFC_DEFAULT_PAGE_SIZE, in lpfc_sli4_queue_create()
9232 if (!qdesc) { in lpfc_sli4_queue_create()
9237 phba->sli4_hba.dat_rq = qdesc; in lpfc_sli4_queue_create()
9245 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
9250 if (!qdesc) { in lpfc_sli4_queue_create()
9256 qdesc->hdwq = idx; in lpfc_sli4_queue_create()
9257 phba->sli4_hba.nvmet_mrq_hdr[idx] = qdesc; in lpfc_sli4_queue_create()
9260 qdesc->rqbp = kzalloc_node(sizeof(*qdesc->rqbp), in lpfc_sli4_queue_create()
9263 if (qdesc->rqbp == NULL) { in lpfc_sli4_queue_create()
9271 INIT_LIST_HEAD(&qdesc->rqbp->rqb_buffer_list); in lpfc_sli4_queue_create()
9274 qdesc = lpfc_sli4_queue_alloc(phba, in lpfc_sli4_queue_create()
9279 if (!qdesc) { in lpfc_sli4_queue_create()
9285 qdesc->hdwq = idx; in lpfc_sli4_queue_create()
9286 phba->sli4_hba.nvmet_mrq_data[idx] = qdesc; in lpfc_sli4_queue_create()