Lines Matching refs:drq
11947 struct lpfc_queue *drq = phba->sli4_hba.dat_rq; in lpfc_sli4_sp_handle_rcqe() local
11953 if (unlikely(!hrq) || unlikely(!drq)) in lpfc_sli4_sp_handle_rcqe()
11970 lpfc_sli4_rq_release(hrq, drq); in lpfc_sli4_sp_handle_rcqe()
13672 struct lpfc_queue *drq, struct lpfc_queue *cq, uint32_t subtype) in lpfc_rq_create() argument
13686 if (!hrq || !drq || !cq) in lpfc_rq_create()
13691 if (hrq->entry_count != drq->entry_count) in lpfc_rq_create()
13848 switch (drq->entry_count) { in lpfc_rq_create()
13852 drq->entry_count); in lpfc_rq_create()
13853 if (drq->entry_count < 512) { in lpfc_rq_create()
13885 drq->page_count); in lpfc_rq_create()
13886 list_for_each_entry(dmabuf, &drq->page_list, list) { in lpfc_rq_create()
13903 drq->queue_id = bf_get(lpfc_mbx_rq_create_q_id, &rq_create->u.response); in lpfc_rq_create()
13904 if (drq->queue_id == 0xFFFF) { in lpfc_rq_create()
13908 drq->type = LPFC_DRQ; in lpfc_rq_create()
13909 drq->assoc_qid = cq->queue_id; in lpfc_rq_create()
13910 drq->subtype = subtype; in lpfc_rq_create()
13911 drq->host_index = 0; in lpfc_rq_create()
13912 drq->hba_index = 0; in lpfc_rq_create()
13916 list_add_tail(&drq->list, &cq->child_list); in lpfc_rq_create()
14154 struct lpfc_queue *drq) in lpfc_rq_destroy() argument
14162 if (!hrq || !drq) in lpfc_rq_destroy()
14192 drq->queue_id); in lpfc_rq_destroy()
14193 rc = lpfc_sli_issue_mbox(drq->phba, mbox, MBX_POLL); in lpfc_rq_destroy()
14206 list_del_init(&drq->list); in lpfc_rq_destroy()