Lines Matching refs:drq
11929 struct lpfc_queue *drq = phba->sli4_hba.dat_rq; in lpfc_sli4_sp_handle_rcqe() local
11935 if (unlikely(!hrq) || unlikely(!drq)) in lpfc_sli4_sp_handle_rcqe()
11952 lpfc_sli4_rq_release(hrq, drq); in lpfc_sli4_sp_handle_rcqe()
13648 struct lpfc_queue *drq, struct lpfc_queue *cq, uint32_t subtype) in lpfc_rq_create() argument
13662 if (!hrq || !drq || !cq) in lpfc_rq_create()
13667 if (hrq->entry_count != drq->entry_count) in lpfc_rq_create()
13824 switch (drq->entry_count) { in lpfc_rq_create()
13828 drq->entry_count); in lpfc_rq_create()
13829 if (drq->entry_count < 512) { in lpfc_rq_create()
13861 drq->page_count); in lpfc_rq_create()
13862 list_for_each_entry(dmabuf, &drq->page_list, list) { in lpfc_rq_create()
13879 drq->queue_id = bf_get(lpfc_mbx_rq_create_q_id, &rq_create->u.response); in lpfc_rq_create()
13880 if (drq->queue_id == 0xFFFF) { in lpfc_rq_create()
13884 drq->type = LPFC_DRQ; in lpfc_rq_create()
13885 drq->assoc_qid = cq->queue_id; in lpfc_rq_create()
13886 drq->subtype = subtype; in lpfc_rq_create()
13887 drq->host_index = 0; in lpfc_rq_create()
13888 drq->hba_index = 0; in lpfc_rq_create()
13892 list_add_tail(&drq->list, &cq->child_list); in lpfc_rq_create()
14130 struct lpfc_queue *drq) in lpfc_rq_destroy() argument
14138 if (!hrq || !drq) in lpfc_rq_destroy()
14168 drq->queue_id); in lpfc_rq_destroy()
14169 rc = lpfc_sli_issue_mbox(drq->phba, mbox, MBX_POLL); in lpfc_rq_destroy()
14182 list_del_init(&drq->list); in lpfc_rq_destroy()