Lines Matching refs:nvmewqe

1489 	struct lpfc_iocbq *nvmewqe;  in lpfc_nvmet_setup_io_context()  local
1587 nvmewqe = ctx_buf->iocbq; in lpfc_nvmet_setup_io_context()
1588 wqe = &nvmewqe->wqe; in lpfc_nvmet_setup_io_context()
2586 struct lpfc_iocbq *nvmewqe; in lpfc_nvmet_prep_ls_wqe() local
2598 nvmewqe = lpfc_sli_get_iocbq(phba); in lpfc_nvmet_prep_ls_wqe()
2599 if (nvmewqe == NULL) { in lpfc_nvmet_prep_ls_wqe()
2617 ctxp->wqeq = nvmewqe; in lpfc_nvmet_prep_ls_wqe()
2620 nvmewqe->ndlp = lpfc_nlp_get(ndlp); in lpfc_nvmet_prep_ls_wqe()
2621 if (!nvmewqe->ndlp) in lpfc_nvmet_prep_ls_wqe()
2623 nvmewqe->context_un.axchg = ctxp; in lpfc_nvmet_prep_ls_wqe()
2625 wqe = &nvmewqe->wqe; in lpfc_nvmet_prep_ls_wqe()
2648 bf_set(wqe_xri_tag, &wqe->xmit_sequence.wqe_com, nvmewqe->sli4_xritag); in lpfc_nvmet_prep_ls_wqe()
2658 wqe->xmit_sequence.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_ls_wqe()
2661 bf_set(wqe_reqtag, &wqe->xmit_sequence.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_ls_wqe()
2681 nvmewqe->retry = 1; in lpfc_nvmet_prep_ls_wqe()
2682 nvmewqe->vport = phba->pport; in lpfc_nvmet_prep_ls_wqe()
2683 nvmewqe->drvrTimeout = (phba->fc_ratov * 3) + LPFC_DRVR_TIMEOUT; in lpfc_nvmet_prep_ls_wqe()
2684 nvmewqe->cmd_flag |= LPFC_IO_NVME_LS; in lpfc_nvmet_prep_ls_wqe()
2690 ndlp->nlp_DID, nvmewqe->iotag, ctxp->oxid, in lpfc_nvmet_prep_ls_wqe()
2692 return nvmewqe; in lpfc_nvmet_prep_ls_wqe()
2695 nvmewqe->context_un.axchg = NULL; in lpfc_nvmet_prep_ls_wqe()
2696 nvmewqe->ndlp = NULL; in lpfc_nvmet_prep_ls_wqe()
2697 nvmewqe->bpl_dmabuf = NULL; in lpfc_nvmet_prep_ls_wqe()
2698 lpfc_sli_release_iocbq(phba, nvmewqe); in lpfc_nvmet_prep_ls_wqe()
2711 struct lpfc_iocbq *nvmewqe; in lpfc_nvmet_prep_fcp_wqe() local
2750 nvmewqe = ctxp->wqeq; in lpfc_nvmet_prep_fcp_wqe()
2751 if (nvmewqe == NULL) { in lpfc_nvmet_prep_fcp_wqe()
2753 nvmewqe = ctxp->ctxbuf->iocbq; in lpfc_nvmet_prep_fcp_wqe()
2754 if (nvmewqe == NULL) { in lpfc_nvmet_prep_fcp_wqe()
2761 ctxp->wqeq = nvmewqe; in lpfc_nvmet_prep_fcp_wqe()
2763 nvmewqe->sli4_lxritag = NO_XRI; in lpfc_nvmet_prep_fcp_wqe()
2764 nvmewqe->sli4_xritag = NO_XRI; in lpfc_nvmet_prep_fcp_wqe()
2771 wqe = &nvmewqe->wqe; in lpfc_nvmet_prep_fcp_wqe()
2810 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2815 wqe->fcp_tsend.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2818 bf_set(wqe_reqtag, &wqe->fcp_tsend.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2887 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2892 wqe->fcp_treceive.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2895 bf_set(wqe_reqtag, &wqe->fcp_treceive.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2954 nvmewqe->sli4_xritag); in lpfc_nvmet_prep_fcp_wqe()
2959 wqe->fcp_trsp.wqe_com.abort_tag = nvmewqe->iotag; in lpfc_nvmet_prep_fcp_wqe()
2962 bf_set(wqe_reqtag, &wqe->fcp_trsp.wqe_com, nvmewqe->iotag); in lpfc_nvmet_prep_fcp_wqe()
2996 nvmewqe->retry = 1; in lpfc_nvmet_prep_fcp_wqe()
2997 nvmewqe->vport = phba->pport; in lpfc_nvmet_prep_fcp_wqe()
2998 nvmewqe->drvrTimeout = (phba->fc_ratov * 3) + LPFC_DRVR_TIMEOUT; in lpfc_nvmet_prep_fcp_wqe()
2999 nvmewqe->ndlp = ndlp; in lpfc_nvmet_prep_fcp_wqe()
3033 return nvmewqe; in lpfc_nvmet_prep_fcp_wqe()