Lines Matching refs:nvmewqe

1480 	struct lpfc_iocbq *nvmewqe;  in lpfc_nvmet_setup_io_context()  local
1578 nvmewqe = ctx_buf->iocbq; in lpfc_nvmet_setup_io_context()
1579 wqe = &nvmewqe->wqe; in lpfc_nvmet_setup_io_context()
2578 struct lpfc_iocbq *nvmewqe; in lpfc_nvmet_prep_ls_wqe() local
2590 nvmewqe = lpfc_sli_get_iocbq(phba); in lpfc_nvmet_prep_ls_wqe()
2591 if (nvmewqe == NULL) { in lpfc_nvmet_prep_ls_wqe()
2609 ctxp->wqeq = nvmewqe; in lpfc_nvmet_prep_ls_wqe()
2612 nvmewqe->context1 = lpfc_nlp_get(ndlp); in lpfc_nvmet_prep_ls_wqe()
2613 if (nvmewqe->context1 == NULL) in lpfc_nvmet_prep_ls_wqe()
2615 nvmewqe->context2 = ctxp; in lpfc_nvmet_prep_ls_wqe()
2617 wqe = &nvmewqe->wqe; in lpfc_nvmet_prep_ls_wqe()
2640 bf_set(wqe_xri_tag, &wqe->xmit_sequence.wqe_com, nvmewqe->sli4_xritag); in lpfc_nvmet_prep_ls_wqe()
2650 wqe->xmit_sequence.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_ls_wqe()
2653 bf_set(wqe_reqtag, &wqe->xmit_sequence.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_ls_wqe()
2673 nvmewqe->retry = 1; in lpfc_nvmet_prep_ls_wqe()
2674 nvmewqe->vport = phba->pport; in lpfc_nvmet_prep_ls_wqe()
2675 nvmewqe->drvrTimeout = (phba->fc_ratov * 3) + LPFC_DRVR_TIMEOUT; in lpfc_nvmet_prep_ls_wqe()
2676 nvmewqe->iocb_flag |= LPFC_IO_NVME_LS; in lpfc_nvmet_prep_ls_wqe()
2682 ndlp->nlp_DID, nvmewqe->iotag, ctxp->oxid, in lpfc_nvmet_prep_ls_wqe()
2684 return nvmewqe; in lpfc_nvmet_prep_ls_wqe()
2687 nvmewqe->context2 = NULL; in lpfc_nvmet_prep_ls_wqe()
2688 nvmewqe->context3 = NULL; in lpfc_nvmet_prep_ls_wqe()
2689 lpfc_sli_release_iocbq(phba, nvmewqe); in lpfc_nvmet_prep_ls_wqe()
2702 struct lpfc_iocbq *nvmewqe; in lpfc_nvmet_prep_fcp_wqe() local
2741 nvmewqe = ctxp->wqeq; in lpfc_nvmet_prep_fcp_wqe()
2742 if (nvmewqe == NULL) { in lpfc_nvmet_prep_fcp_wqe()
2744 nvmewqe = ctxp->ctxbuf->iocbq; in lpfc_nvmet_prep_fcp_wqe()
2745 if (nvmewqe == NULL) { in lpfc_nvmet_prep_fcp_wqe()
2752 ctxp->wqeq = nvmewqe; in lpfc_nvmet_prep_fcp_wqe()
2754 nvmewqe->sli4_lxritag = NO_XRI; in lpfc_nvmet_prep_fcp_wqe()
2755 nvmewqe->sli4_xritag = NO_XRI; in lpfc_nvmet_prep_fcp_wqe()
2762 wqe = &nvmewqe->wqe; in lpfc_nvmet_prep_fcp_wqe()
2801 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2806 wqe->fcp_tsend.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2809 bf_set(wqe_reqtag, &wqe->fcp_tsend.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2881 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2886 wqe->fcp_treceive.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2889 bf_set(wqe_reqtag, &wqe->fcp_treceive.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2947 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2952 wqe->fcp_trsp.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2955 bf_set(wqe_reqtag, &wqe->fcp_trsp.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2990 nvmewqe->retry = 1; in lpfc_nvmet_prep_fcp_wqe()
2991 nvmewqe->vport = phba->pport; in lpfc_nvmet_prep_fcp_wqe()
2992 nvmewqe->drvrTimeout = (phba->fc_ratov * 3) + LPFC_DRVR_TIMEOUT; in lpfc_nvmet_prep_fcp_wqe()
2993 nvmewqe->context1 = ndlp; in lpfc_nvmet_prep_fcp_wqe()
3026 return nvmewqe; in lpfc_nvmet_prep_fcp_wqe()