Lines Matching refs:nvmewqe
1498 struct lpfc_iocbq *nvmewqe; in lpfc_nvmet_setup_io_context() local
1596 nvmewqe = ctx_buf->iocbq; in lpfc_nvmet_setup_io_context()
1597 wqe = &nvmewqe->wqe; in lpfc_nvmet_setup_io_context()
2594 struct lpfc_iocbq *nvmewqe; in lpfc_nvmet_prep_ls_wqe() local
2606 nvmewqe = lpfc_sli_get_iocbq(phba); in lpfc_nvmet_prep_ls_wqe()
2607 if (nvmewqe == NULL) { in lpfc_nvmet_prep_ls_wqe()
2625 ctxp->wqeq = nvmewqe; in lpfc_nvmet_prep_ls_wqe()
2628 nvmewqe->ndlp = lpfc_nlp_get(ndlp); in lpfc_nvmet_prep_ls_wqe()
2629 if (!nvmewqe->ndlp) in lpfc_nvmet_prep_ls_wqe()
2631 nvmewqe->context_un.axchg = ctxp; in lpfc_nvmet_prep_ls_wqe()
2633 wqe = &nvmewqe->wqe; in lpfc_nvmet_prep_ls_wqe()
2656 bf_set(wqe_xri_tag, &wqe->xmit_sequence.wqe_com, nvmewqe->sli4_xritag); in lpfc_nvmet_prep_ls_wqe()
2666 wqe->xmit_sequence.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_ls_wqe()
2669 bf_set(wqe_reqtag, &wqe->xmit_sequence.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_ls_wqe()
2689 nvmewqe->retry = 1; in lpfc_nvmet_prep_ls_wqe()
2690 nvmewqe->vport = phba->pport; in lpfc_nvmet_prep_ls_wqe()
2691 nvmewqe->drvrTimeout = (phba->fc_ratov * 3) + LPFC_DRVR_TIMEOUT; in lpfc_nvmet_prep_ls_wqe()
2692 nvmewqe->cmd_flag |= LPFC_IO_NVME_LS; in lpfc_nvmet_prep_ls_wqe()
2698 ndlp->nlp_DID, nvmewqe->iotag, ctxp->oxid, in lpfc_nvmet_prep_ls_wqe()
2700 return nvmewqe; in lpfc_nvmet_prep_ls_wqe()
2703 nvmewqe->context_un.axchg = NULL; in lpfc_nvmet_prep_ls_wqe()
2704 nvmewqe->ndlp = NULL; in lpfc_nvmet_prep_ls_wqe()
2705 nvmewqe->bpl_dmabuf = NULL; in lpfc_nvmet_prep_ls_wqe()
2706 lpfc_sli_release_iocbq(phba, nvmewqe); in lpfc_nvmet_prep_ls_wqe()
2719 struct lpfc_iocbq *nvmewqe; in lpfc_nvmet_prep_fcp_wqe() local
2758 nvmewqe = ctxp->wqeq; in lpfc_nvmet_prep_fcp_wqe()
2759 if (nvmewqe == NULL) { in lpfc_nvmet_prep_fcp_wqe()
2761 nvmewqe = ctxp->ctxbuf->iocbq; in lpfc_nvmet_prep_fcp_wqe()
2762 if (nvmewqe == NULL) { in lpfc_nvmet_prep_fcp_wqe()
2769 ctxp->wqeq = nvmewqe; in lpfc_nvmet_prep_fcp_wqe()
2771 nvmewqe->sli4_lxritag = NO_XRI; in lpfc_nvmet_prep_fcp_wqe()
2772 nvmewqe->sli4_xritag = NO_XRI; in lpfc_nvmet_prep_fcp_wqe()
2779 wqe = &nvmewqe->wqe; in lpfc_nvmet_prep_fcp_wqe()
2818 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2823 wqe->fcp_tsend.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2826 bf_set(wqe_reqtag, &wqe->fcp_tsend.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2895 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2900 wqe->fcp_treceive.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2903 bf_set(wqe_reqtag, &wqe->fcp_treceive.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2962 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2967 wqe->fcp_trsp.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2970 bf_set(wqe_reqtag, &wqe->fcp_trsp.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
3004 nvmewqe->retry = 1; in lpfc_nvmet_prep_fcp_wqe()
3005 nvmewqe->vport = phba->pport; in lpfc_nvmet_prep_fcp_wqe()
3006 nvmewqe->drvrTimeout = (phba->fc_ratov * 3) + LPFC_DRVR_TIMEOUT; in lpfc_nvmet_prep_fcp_wqe()
3007 nvmewqe->ndlp = ndlp; in lpfc_nvmet_prep_fcp_wqe()
3041 return nvmewqe; in lpfc_nvmet_prep_fcp_wqe()