Lines Matching refs:elsiocb

169 	struct lpfc_iocbq *elsiocb;  in lpfc_prep_els_iocb()  local
178 elsiocb = lpfc_sli_get_iocbq(phba); in lpfc_prep_els_iocb()
179 if (!elsiocb) in lpfc_prep_els_iocb()
193 elsiocb->cmd_flag |= in lpfc_prep_els_iocb()
198 elsiocb->cmd_flag |= in lpfc_prep_els_iocb()
203 elsiocb->cmd_flag |= in lpfc_prep_els_iocb()
209 elsiocb->cmd_flag &= ~LPFC_FIP_ELS_ID_MASK; in lpfc_prep_els_iocb()
257 elsiocb->num_bdes = 2; in lpfc_prep_els_iocb()
265 lpfc_sli_prep_els_req_rsp(phba, elsiocb, vport, bmp, cmd_size, did, in lpfc_prep_els_iocb()
282 elsiocb->cmd_dmabuf = pcmd; in lpfc_prep_els_iocb()
283 elsiocb->bpl_dmabuf = pbuflist; in lpfc_prep_els_iocb()
284 elsiocb->retry = retry; in lpfc_prep_els_iocb()
285 elsiocb->vport = vport; in lpfc_prep_els_iocb()
286 elsiocb->drvrTimeout = (phba->fc_ratov << 1) + LPFC_DRVR_TIMEOUT; in lpfc_prep_els_iocb()
296 elscmd, did, elsiocb->iotag, in lpfc_prep_els_iocb()
305 elscmd, ndlp->nlp_DID, elsiocb->iotag, in lpfc_prep_els_iocb()
310 return elsiocb; in lpfc_prep_els_iocb()
323 lpfc_sli_release_iocbq(phba, elsiocb); in lpfc_prep_els_iocb()
1270 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_flogi() local
1278 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_flogi()
1281 if (!elsiocb) in lpfc_issue_els_flogi()
1284 wqe = &elsiocb->wqe; in lpfc_issue_els_flogi()
1285 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_flogi()
1286 icmd = &elsiocb->iocb; in lpfc_issue_els_flogi()
1356 elsiocb->cmd_cmpl = lpfc_cmpl_els_flogi; in lpfc_issue_els_flogi()
1362 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_flogi()
1363 if (!elsiocb->ndlp) { in lpfc_issue_els_flogi()
1364 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_flogi()
1368 rc = lpfc_issue_fabric_iocb(phba, elsiocb); in lpfc_issue_els_flogi()
1370 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_flogi()
2168 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_plogi() local
2197 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, did, in lpfc_issue_els_plogi()
2199 if (!elsiocb) in lpfc_issue_els_plogi()
2206 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_plogi()
2253 elsiocb->cmd_cmpl = lpfc_cmpl_els_plogi; in lpfc_issue_els_plogi()
2258 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_plogi()
2259 if (!elsiocb->ndlp) { in lpfc_issue_els_plogi()
2260 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_plogi()
2264 ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_plogi()
2266 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_plogi()
2430 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_prli() local
2484 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_prli()
2486 if (!elsiocb) in lpfc_issue_els_prli()
2489 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_prli()
2521 elsiocb->cmd_flag |= LPFC_PRLI_FCP_REQ; in lpfc_issue_els_prli()
2555 elsiocb->cmd_flag |= LPFC_PRLI_NVME_REQ; in lpfc_issue_els_prli()
2562 elsiocb->cmd_cmpl = lpfc_cmpl_els_prli; in lpfc_issue_els_prli()
2567 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_prli()
2568 if (!elsiocb->ndlp) { in lpfc_issue_els_prli()
2569 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_prli()
2573 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_prli()
2575 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_prli()
2868 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_adisc() local
2873 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_adisc()
2875 if (!elsiocb) in lpfc_issue_els_adisc()
2878 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_adisc()
2892 elsiocb->cmd_cmpl = lpfc_cmpl_els_adisc; in lpfc_issue_els_adisc()
2896 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_adisc()
2897 if (!elsiocb->ndlp) { in lpfc_issue_els_adisc()
2898 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_adisc()
2906 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_adisc()
2908 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_adisc()
3101 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_logo() local
3114 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_logo()
3116 if (!elsiocb) in lpfc_issue_els_logo()
3119 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_logo()
3129 elsiocb->cmd_cmpl = lpfc_cmpl_els_logo; in lpfc_issue_els_logo()
3134 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_logo()
3135 if (!elsiocb->ndlp) { in lpfc_issue_els_logo()
3136 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_logo()
3144 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_logo()
3146 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_logo()
3449 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_scr() local
3464 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_scr()
3466 if (!elsiocb) in lpfc_issue_els_scr()
3472 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_scr()
3479 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_scr()
3493 elsiocb->cmd_cmpl = lpfc_cmpl_els_disc_cmd; in lpfc_issue_els_scr()
3494 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_scr()
3495 if (!elsiocb->ndlp) { in lpfc_issue_els_scr()
3496 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_scr()
3504 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_scr()
3506 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_scr()
3538 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_rscn() local
3570 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_rscn()
3573 if (!elsiocb) in lpfc_issue_els_rscn()
3576 event = elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_rscn()
3590 elsiocb->cmd_cmpl = lpfc_cmpl_els_cmd; in lpfc_issue_els_rscn()
3591 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_rscn()
3592 if (!elsiocb->ndlp) { in lpfc_issue_els_rscn()
3593 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rscn()
3601 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_rscn()
3603 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rscn()
3637 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_farpr() local
3655 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_farpr()
3657 if (!elsiocb) in lpfc_issue_els_farpr()
3660 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_farpr()
3689 elsiocb->cmd_cmpl = lpfc_cmpl_els_cmd; in lpfc_issue_els_farpr()
3690 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_farpr()
3691 if (!elsiocb->ndlp) { in lpfc_issue_els_farpr()
3692 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_farpr()
3696 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_farpr()
3702 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_farpr()
3733 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_rdf() local
3753 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_rdf()
3755 if (!elsiocb) in lpfc_issue_els_rdf()
3759 prdf = (struct lpfc_els_rdf_req *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_rdf()
3779 elsiocb->cmd_cmpl = lpfc_cmpl_els_disc_cmd; in lpfc_issue_els_rdf()
3780 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_rdf()
3781 if (!elsiocb->ndlp) { in lpfc_issue_els_rdf()
3782 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rdf()
3790 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_rdf()
3792 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rdf()
4193 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_edc() local
4216 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_edc()
4218 if (!elsiocb) in lpfc_issue_els_edc()
4222 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_edc()
4240 elsiocb->cmd_cmpl = lpfc_cmpl_els_disc_cmd; in lpfc_issue_els_edc()
4241 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_edc()
4242 if (!elsiocb->ndlp) { in lpfc_issue_els_edc()
4243 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc()
4250 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_edc()
4256 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc()
5063 lpfc_els_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *elsiocb) in lpfc_els_free_iocb() argument
5068 elsiocb->ndlp = NULL; in lpfc_els_free_iocb()
5071 if (elsiocb->cmd_dmabuf) { in lpfc_els_free_iocb()
5072 if (elsiocb->cmd_flag & LPFC_DELAY_MEM_FREE) { in lpfc_els_free_iocb()
5077 elsiocb->cmd_flag &= ~LPFC_DELAY_MEM_FREE; in lpfc_els_free_iocb()
5078 buf_ptr = elsiocb->cmd_dmabuf; in lpfc_els_free_iocb()
5079 elsiocb->cmd_dmabuf = NULL; in lpfc_els_free_iocb()
5098 buf_ptr1 = elsiocb->cmd_dmabuf; in lpfc_els_free_iocb()
5100 elsiocb->cmd_dmabuf = NULL; in lpfc_els_free_iocb()
5104 if (elsiocb->bpl_dmabuf) { in lpfc_els_free_iocb()
5105 buf_ptr = elsiocb->bpl_dmabuf; in lpfc_els_free_iocb()
5107 elsiocb->bpl_dmabuf = NULL; in lpfc_els_free_iocb()
5109 lpfc_sli_release_iocbq(phba, elsiocb); in lpfc_els_free_iocb()
5428 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_acc() local
5439 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5441 if (!elsiocb) { in lpfc_els_rsp_acc()
5449 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5460 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5467 pcmd = elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5478 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5480 if (!elsiocb) in lpfc_els_rsp_acc()
5484 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5495 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5502 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5505 elsiocb->context_un.mbox = mbox; in lpfc_els_rsp_acc()
5556 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5558 if (!elsiocb) in lpfc_els_rsp_acc()
5562 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5573 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5580 pcmd = (u8 *) elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5594 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5596 if (!elsiocb) in lpfc_els_rsp_acc()
5600 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5611 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5618 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5640 elsiocb->cmd_cmpl = lpfc_cmpl_els_logo_acc; in lpfc_els_rsp_acc()
5642 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_acc()
5646 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_acc()
5647 if (!elsiocb->ndlp) { in lpfc_els_rsp_acc()
5648 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_acc()
5652 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_acc()
5654 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_acc()
5664 rc, elsiocb->iotag, elsiocb->sli4_xritag, in lpfc_els_rsp_acc()
5702 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_reject() local
5707 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_reject()
5709 if (!elsiocb) in lpfc_els_rsp_reject()
5713 wqe = &elsiocb->wqe; in lpfc_els_rsp_reject()
5719 icmd = &elsiocb->iocb; in lpfc_els_rsp_reject()
5725 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_reject()
5732 elsiocb->context_un.mbox = mbox; in lpfc_els_rsp_reject()
5739 rejectError, elsiocb->iotag, in lpfc_els_rsp_reject()
5740 get_job_ulpcontext(phba, elsiocb), ndlp->nlp_DID, in lpfc_els_rsp_reject()
5747 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_reject()
5748 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_reject()
5749 if (!elsiocb->ndlp) { in lpfc_els_rsp_reject()
5750 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_reject()
5766 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_reject()
5768 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_reject()
5796 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_edc_rsp() local
5803 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, cmdiocb->retry, in lpfc_issue_els_edc_rsp()
5805 if (!elsiocb) in lpfc_issue_els_edc_rsp()
5809 wqe = &elsiocb->wqe; in lpfc_issue_els_edc_rsp()
5815 icmd = &elsiocb->iocb; in lpfc_issue_els_edc_rsp()
5821 pcmd = elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_edc_rsp()
5838 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_issue_els_edc_rsp()
5841 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_edc_rsp()
5842 if (!elsiocb->ndlp) { in lpfc_issue_els_edc_rsp()
5843 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc_rsp()
5847 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_edc_rsp()
5849 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc_rsp()
5859 rc, elsiocb->iotag, elsiocb->sli4_xritag, in lpfc_issue_els_edc_rsp()
5893 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_adisc_acc() local
5900 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_adisc_acc()
5902 if (!elsiocb) in lpfc_els_rsp_adisc_acc()
5906 wqe = &elsiocb->wqe; in lpfc_els_rsp_adisc_acc()
5910 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_adisc_acc()
5915 icmd = &elsiocb->iocb; in lpfc_els_rsp_adisc_acc()
5918 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_adisc_acc()
5927 elsiocb->iotag, ulp_context, in lpfc_els_rsp_adisc_acc()
5930 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_adisc_acc()
5946 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_adisc_acc()
5947 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_adisc_acc()
5948 if (!elsiocb->ndlp) { in lpfc_els_rsp_adisc_acc()
5949 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_adisc_acc()
5953 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_adisc_acc()
5955 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_adisc_acc()
5993 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_prli_acc() local
6024 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_prli_acc()
6026 if (!elsiocb) in lpfc_els_rsp_prli_acc()
6030 wqe = &elsiocb->wqe; in lpfc_els_rsp_prli_acc()
6033 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_prli_acc()
6037 icmd = &elsiocb->iocb; in lpfc_els_rsp_prli_acc()
6040 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_prli_acc()
6049 elsiocb->iotag, ulp_context, in lpfc_els_rsp_prli_acc()
6052 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_prli_acc()
6124 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_prli_acc()
6125 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_prli_acc()
6126 if (!elsiocb->ndlp) { in lpfc_els_rsp_prli_acc()
6127 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_prli_acc()
6131 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_prli_acc()
6133 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_prli_acc()
6169 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_rnid_acc() local
6180 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_rnid_acc()
6182 if (!elsiocb) in lpfc_els_rsp_rnid_acc()
6186 wqe = &elsiocb->wqe; in lpfc_els_rsp_rnid_acc()
6189 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_rnid_acc()
6193 icmd = &elsiocb->iocb; in lpfc_els_rsp_rnid_acc()
6196 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_rnid_acc()
6204 elsiocb->iotag, ulp_context); in lpfc_els_rsp_rnid_acc()
6205 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_rnid_acc()
6238 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_rnid_acc()
6239 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_rnid_acc()
6240 if (!elsiocb->ndlp) { in lpfc_els_rsp_rnid_acc()
6241 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rnid_acc()
6245 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_rnid_acc()
6247 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rnid_acc()
6321 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_echo_acc() local
6337 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_echo_acc()
6339 if (!elsiocb) in lpfc_els_rsp_echo_acc()
6343 wqe = &elsiocb->wqe; in lpfc_els_rsp_echo_acc()
6346 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_echo_acc()
6350 icmd = &elsiocb->iocb; in lpfc_els_rsp_echo_acc()
6353 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_echo_acc()
6361 elsiocb->iotag, ulp_context); in lpfc_els_rsp_echo_acc()
6362 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_echo_acc()
6372 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_echo_acc()
6373 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_echo_acc()
6374 if (!elsiocb->ndlp) { in lpfc_els_rsp_echo_acc()
6375 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_echo_acc()
6379 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_echo_acc()
6381 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_echo_acc()
6954 struct lpfc_iocbq *elsiocb; in lpfc_els_rdp_cmpl() local
6972 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, in lpfc_els_rdp_cmpl()
6975 if (!elsiocb) in lpfc_els_rdp_cmpl()
6978 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rdp_cmpl()
6980 wqe = &elsiocb->wqe; in lpfc_els_rdp_cmpl()
6987 icmd = &elsiocb->iocb; in lpfc_els_rdp_cmpl()
6995 elsiocb->iotag, ulp_context, in lpfc_els_rdp_cmpl()
6998 rdp_res = (struct fc_rdp_res_frame *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rdp_cmpl()
6999 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rdp_cmpl()
7047 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rdp_cmpl()
7050 bpl = (struct ulp_bde64 *)elsiocb->bpl_dmabuf->virt; in lpfc_els_rdp_cmpl()
7056 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rdp_cmpl()
7057 if (!elsiocb->ndlp) { in lpfc_els_rdp_cmpl()
7058 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7062 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rdp_cmpl()
7064 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7072 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, lpfc_max_els_tries, in lpfc_els_rdp_cmpl()
7074 if (!elsiocb) in lpfc_els_rdp_cmpl()
7078 wqe = &elsiocb->wqe; in lpfc_els_rdp_cmpl()
7086 icmd = &elsiocb->iocb; in lpfc_els_rdp_cmpl()
7091 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rdp_cmpl()
7098 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rdp_cmpl()
7099 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rdp_cmpl()
7100 if (!elsiocb->ndlp) { in lpfc_els_rdp_cmpl()
7101 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7105 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rdp_cmpl()
7107 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7260 struct lpfc_iocbq *elsiocb; in lpfc_els_lcb_rsp() local
7295 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_lcb_rsp()
7302 if (!elsiocb) in lpfc_els_lcb_rsp()
7305 lcb_res = (struct fc_lcb_res_frame *)elsiocb->cmd_dmabuf->virt; in lpfc_els_lcb_rsp()
7310 wqe = &elsiocb->wqe; in lpfc_els_lcb_rsp()
7315 icmd = &elsiocb->iocb; in lpfc_els_lcb_rsp()
7320 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_lcb_rsp()
7327 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_lcb_rsp()
7330 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_lcb_rsp()
7331 if (!elsiocb->ndlp) { in lpfc_els_lcb_rsp()
7332 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
7336 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_lcb_rsp()
7338 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
7347 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_lcb_rsp()
7351 if (!elsiocb) in lpfc_els_lcb_rsp()
7355 wqe = &elsiocb->wqe; in lpfc_els_lcb_rsp()
7360 icmd = &elsiocb->iocb; in lpfc_els_lcb_rsp()
7365 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_lcb_rsp()
7374 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_lcb_rsp()
7376 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_lcb_rsp()
7377 if (!elsiocb->ndlp) { in lpfc_els_lcb_rsp()
7378 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
7382 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_lcb_rsp()
7384 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
8404 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_rls_acc() local
8425 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_rsp_rls_acc()
8432 if (!elsiocb) { in lpfc_els_rsp_rls_acc()
8437 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_rls_acc()
8439 wqe = &elsiocb->wqe; in lpfc_els_rsp_rls_acc()
8444 icmd = &elsiocb->iocb; in lpfc_els_rsp_rls_acc()
8449 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_rls_acc()
8465 elsiocb->iotag, ulp_context, in lpfc_els_rsp_rls_acc()
8468 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_rls_acc()
8470 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_rls_acc()
8471 if (!elsiocb->ndlp) { in lpfc_els_rsp_rls_acc()
8472 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rls_acc()
8476 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_rls_acc()
8478 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rls_acc()
8580 struct lpfc_iocbq *elsiocb; in lpfc_els_rcv_rtv() local
8590 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_rcv_rtv()
8594 if (!elsiocb) in lpfc_els_rcv_rtv()
8597 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rcv_rtv()
8601 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rcv_rtv()
8604 wqe = &elsiocb->wqe; in lpfc_els_rcv_rtv()
8610 icmd = &elsiocb->iocb; in lpfc_els_rcv_rtv()
8629 elsiocb->iotag, ulp_context, in lpfc_els_rcv_rtv()
8633 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rcv_rtv()
8635 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rcv_rtv()
8636 if (!elsiocb->ndlp) { in lpfc_els_rcv_rtv()
8637 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rcv_rtv()
8641 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rcv_rtv()
8643 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rcv_rtv()
8677 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_rrq() local
8687 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, did, in lpfc_issue_els_rrq()
8689 if (!elsiocb) in lpfc_issue_els_rrq()
8692 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_rrq()
8709 elsiocb->context_un.rrq = rrq; in lpfc_issue_els_rrq()
8710 elsiocb->cmd_cmpl = lpfc_cmpl_els_rrq; in lpfc_issue_els_rrq()
8712 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_rrq()
8713 if (!elsiocb->ndlp) in lpfc_issue_els_rrq()
8716 ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_rrq()
8724 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rrq()
8783 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_rpl_acc() local
8787 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_rpl_acc()
8790 if (!elsiocb) in lpfc_els_rsp_rpl_acc()
8793 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_rpl_acc()
8795 wqe = &elsiocb->wqe; in lpfc_els_rsp_rpl_acc()
8802 icmd = &elsiocb->iocb; in lpfc_els_rsp_rpl_acc()
8807 pcmd = elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_rpl_acc()
8826 elsiocb->iotag, ulp_context, in lpfc_els_rsp_rpl_acc()
8829 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_rpl_acc()
8831 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_rpl_acc()
8832 if (!elsiocb->ndlp) { in lpfc_els_rsp_rpl_acc()
8833 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rpl_acc()
8837 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_rpl_acc()
8839 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rpl_acc()
10079 struct lpfc_vport *vport, struct lpfc_iocbq *elsiocb) in lpfc_els_unsol_buffer() argument
10089 if (!vport || !elsiocb->cmd_dmabuf) in lpfc_els_unsol_buffer()
10093 wcqe_cmpl = &elsiocb->wcqe_cmpl; in lpfc_els_unsol_buffer()
10094 payload = elsiocb->cmd_dmabuf->virt; in lpfc_els_unsol_buffer()
10098 payload_len = elsiocb->iocb.unsli3.rcvsli3.acc_len; in lpfc_els_unsol_buffer()
10099 status = get_job_ulpstatus(phba, elsiocb); in lpfc_els_unsol_buffer()
10104 did = get_job_els_rsp64_did(phba, elsiocb); in lpfc_els_unsol_buffer()
10108 status, get_job_word4(phba, elsiocb), did); in lpfc_els_unsol_buffer()
10155 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_unsol_buffer()
10156 if (!elsiocb->ndlp) in lpfc_els_unsol_buffer()
10158 elsiocb->vport = vport; in lpfc_els_unsol_buffer()
10196 &elsiocb->wqe.xmit_els_rsp); in lpfc_els_unsol_buffer()
10225 lpfc_disc_state_machine(vport, ndlp, elsiocb, in lpfc_els_unsol_buffer()
10248 lpfc_els_rcv_flogi(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10268 lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_LOGO); in lpfc_els_unsol_buffer()
10285 lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_PRLO); in lpfc_els_unsol_buffer()
10289 lpfc_els_rcv_lcb(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10293 lpfc_els_rcv_rdp(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10297 lpfc_els_rcv_rscn(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10314 lpfc_disc_state_machine(vport, ndlp, elsiocb, in lpfc_els_unsol_buffer()
10328 lpfc_disc_state_machine(vport, ndlp, elsiocb, in lpfc_els_unsol_buffer()
10337 lpfc_els_rcv_farpr(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10345 lpfc_els_rcv_farp(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10353 lpfc_els_rcv_fan(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10368 lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_PRLI); in lpfc_els_unsol_buffer()
10376 lpfc_els_rcv_lirr(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10387 lpfc_els_rcv_rls(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10398 lpfc_els_rcv_rpl(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10409 lpfc_els_rcv_rnid(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10419 lpfc_els_rcv_rtv(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10430 lpfc_els_rcv_rrq(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10441 lpfc_els_rcv_echo(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10462 lpfc_els_rcv_edc(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10476 lpfc_els_rcv_rdf(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10503 lpfc_els_rsp_reject(vport, stat.un.lsRjtError, elsiocb, ndlp, in lpfc_els_unsol_buffer()
10512 lpfc_nlp_put(elsiocb->ndlp); in lpfc_els_unsol_buffer()
10513 elsiocb->ndlp = NULL; in lpfc_els_unsol_buffer()
10542 cmd, status, get_job_word4(phba, elsiocb), did); in lpfc_els_unsol_buffer()
10561 struct lpfc_iocbq *elsiocb) in lpfc_els_unsol_event() argument
10563 struct lpfc_vport *vport = elsiocb->vport; in lpfc_els_unsol_event()
10567 struct lpfc_dmabuf *bdeBuf1 = elsiocb->cmd_dmabuf; in lpfc_els_unsol_event()
10568 struct lpfc_dmabuf *bdeBuf2 = elsiocb->bpl_dmabuf; in lpfc_els_unsol_event()
10571 elsiocb->cmd_dmabuf = NULL; in lpfc_els_unsol_event()
10572 elsiocb->rsp_dmabuf = NULL; in lpfc_els_unsol_event()
10573 elsiocb->bpl_dmabuf = NULL; in lpfc_els_unsol_event()
10575 wcqe_cmpl = &elsiocb->wcqe_cmpl; in lpfc_els_unsol_event()
10576 ulp_command = get_job_cmnd(phba, elsiocb); in lpfc_els_unsol_event()
10577 status = get_job_ulpstatus(phba, elsiocb); in lpfc_els_unsol_event()
10578 parameter = get_job_word4(phba, elsiocb); in lpfc_els_unsol_event()
10582 bde_count = elsiocb->iocb.ulpBdeCount; in lpfc_els_unsol_event()
10597 icmd = &elsiocb->iocb; in lpfc_els_unsol_event()
10617 elsiocb->cmd_dmabuf = bdeBuf1; in lpfc_els_unsol_event()
10619 elsiocb->bpl_dmabuf = bdeBuf2; in lpfc_els_unsol_event()
10621 icmd = &elsiocb->iocb; in lpfc_els_unsol_event()
10624 elsiocb->cmd_dmabuf = lpfc_sli_ringpostbuf_get(phba, pring, in lpfc_els_unsol_event()
10629 elsiocb->bpl_dmabuf = lpfc_sli_ringpostbuf_get(phba, in lpfc_els_unsol_event()
10635 lpfc_els_unsol_buffer(phba, pring, vport, elsiocb); in lpfc_els_unsol_event()
10640 if (elsiocb->cmd_dmabuf) { in lpfc_els_unsol_event()
10641 lpfc_in_buf_free(phba, elsiocb->cmd_dmabuf); in lpfc_els_unsol_event()
10642 elsiocb->cmd_dmabuf = NULL; in lpfc_els_unsol_event()
10645 if (elsiocb->bpl_dmabuf) { in lpfc_els_unsol_event()
10646 lpfc_in_buf_free(phba, elsiocb->bpl_dmabuf); in lpfc_els_unsol_event()
10647 elsiocb->bpl_dmabuf = NULL; in lpfc_els_unsol_event()
11181 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_fdisc() local
11191 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, did, in lpfc_issue_els_fdisc()
11193 if (!elsiocb) { in lpfc_issue_els_fdisc()
11201 wqe = &elsiocb->wqe; in lpfc_issue_els_fdisc()
11205 icmd = &elsiocb->iocb; in lpfc_issue_els_fdisc()
11212 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_fdisc()
11238 elsiocb->cmd_cmpl = lpfc_cmpl_els_fdisc; in lpfc_issue_els_fdisc()
11244 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_fdisc()
11245 if (!elsiocb->ndlp) in lpfc_issue_els_fdisc()
11248 rc = lpfc_issue_fabric_iocb(phba, elsiocb); in lpfc_issue_els_fdisc()
11258 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_fdisc()
11359 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_npiv_logo() local
11364 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, ndlp->nlp_DID, in lpfc_issue_els_npiv_logo()
11366 if (!elsiocb) in lpfc_issue_els_npiv_logo()
11369 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_npiv_logo()
11382 elsiocb->cmd_cmpl = lpfc_cmpl_els_npiv_logo; in lpfc_issue_els_npiv_logo()
11386 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_npiv_logo()
11387 if (!elsiocb->ndlp) { in lpfc_issue_els_npiv_logo()
11388 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_npiv_logo()
11392 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_npiv_logo()
11394 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_npiv_logo()
12034 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_qfpa() local
12042 elsiocb = lpfc_prep_els_iocb(vport, 1, LPFC_QFPA_SIZE, 2, ndlp, in lpfc_issue_els_qfpa()
12044 if (!elsiocb) in lpfc_issue_els_qfpa()
12047 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_qfpa()
12052 elsiocb->cmd_cmpl = lpfc_cmpl_els_qfpa; in lpfc_issue_els_qfpa()
12054 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_qfpa()
12055 if (!elsiocb->ndlp) { in lpfc_issue_els_qfpa()
12056 lpfc_els_free_iocb(vport->phba, elsiocb); in lpfc_issue_els_qfpa()
12060 ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 2); in lpfc_issue_els_qfpa()
12062 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_qfpa()
12076 struct lpfc_iocbq *elsiocb; in lpfc_vmid_uvem() local
12090 elsiocb = lpfc_prep_els_iocb(vport, 1, LPFC_UVEM_SIZE, 2, in lpfc_vmid_uvem()
12092 if (!elsiocb) in lpfc_vmid_uvem()
12101 elsiocb->vmid_tag.vmid_context = vmid_context; in lpfc_vmid_uvem()
12102 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_vmid_uvem()
12135 elsiocb->cmd_cmpl = lpfc_cmpl_els_uvem; in lpfc_vmid_uvem()
12137 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_vmid_uvem()
12138 if (!elsiocb->ndlp) { in lpfc_vmid_uvem()
12139 lpfc_els_free_iocb(vport->phba, elsiocb); in lpfc_vmid_uvem()
12143 ret = lpfc_sli_issue_iocb(vport->phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_vmid_uvem()
12145 lpfc_els_free_iocb(vport->phba, elsiocb); in lpfc_vmid_uvem()