Lines Matching refs:elsiocb

175 	struct lpfc_iocbq *elsiocb;  in lpfc_prep_els_iocb()  local
184 elsiocb = lpfc_sli_get_iocbq(phba); in lpfc_prep_els_iocb()
185 if (!elsiocb) in lpfc_prep_els_iocb()
199 elsiocb->cmd_flag |= in lpfc_prep_els_iocb()
204 elsiocb->cmd_flag |= in lpfc_prep_els_iocb()
209 elsiocb->cmd_flag |= in lpfc_prep_els_iocb()
215 elsiocb->cmd_flag &= ~LPFC_FIP_ELS_ID_MASK; in lpfc_prep_els_iocb()
263 elsiocb->num_bdes = 2; in lpfc_prep_els_iocb()
271 lpfc_sli_prep_els_req_rsp(phba, elsiocb, vport, bmp, cmd_size, did, in lpfc_prep_els_iocb()
288 elsiocb->cmd_dmabuf = pcmd; in lpfc_prep_els_iocb()
289 elsiocb->bpl_dmabuf = pbuflist; in lpfc_prep_els_iocb()
290 elsiocb->retry = retry; in lpfc_prep_els_iocb()
291 elsiocb->vport = vport; in lpfc_prep_els_iocb()
292 elsiocb->drvrTimeout = (phba->fc_ratov << 1) + LPFC_DRVR_TIMEOUT; in lpfc_prep_els_iocb()
302 elscmd, did, elsiocb->iotag, in lpfc_prep_els_iocb()
311 elscmd, ndlp->nlp_DID, elsiocb->iotag, in lpfc_prep_els_iocb()
316 return elsiocb; in lpfc_prep_els_iocb()
329 lpfc_sli_release_iocbq(phba, elsiocb); in lpfc_prep_els_iocb()
1279 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_flogi() local
1287 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_flogi()
1290 if (!elsiocb) in lpfc_issue_els_flogi()
1293 wqe = &elsiocb->wqe; in lpfc_issue_els_flogi()
1294 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_flogi()
1295 icmd = &elsiocb->iocb; in lpfc_issue_els_flogi()
1366 elsiocb->cmd_cmpl = lpfc_cmpl_els_flogi; in lpfc_issue_els_flogi()
1372 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_flogi()
1373 if (!elsiocb->ndlp) { in lpfc_issue_els_flogi()
1374 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_flogi()
1382 rc = lpfc_issue_fabric_iocb(phba, elsiocb); in lpfc_issue_els_flogi()
1386 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_flogi()
2202 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_plogi() local
2232 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, did, in lpfc_issue_els_plogi()
2234 if (!elsiocb) in lpfc_issue_els_plogi()
2237 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_plogi()
2285 elsiocb->cmd_cmpl = lpfc_cmpl_els_plogi; in lpfc_issue_els_plogi()
2290 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_plogi()
2291 if (!elsiocb->ndlp) { in lpfc_issue_els_plogi()
2292 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_plogi()
2296 ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_plogi()
2298 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_plogi()
2476 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_prli() local
2530 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_prli()
2532 if (!elsiocb) in lpfc_issue_els_prli()
2535 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_prli()
2567 elsiocb->cmd_flag |= LPFC_PRLI_FCP_REQ; in lpfc_issue_els_prli()
2601 elsiocb->cmd_flag |= LPFC_PRLI_NVME_REQ; in lpfc_issue_els_prli()
2608 elsiocb->cmd_cmpl = lpfc_cmpl_els_prli; in lpfc_issue_els_prli()
2613 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_prli()
2614 if (!elsiocb->ndlp) { in lpfc_issue_els_prli()
2615 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_prli()
2619 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_prli()
2621 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_prli()
2916 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_adisc() local
2921 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_adisc()
2923 if (!elsiocb) in lpfc_issue_els_adisc()
2926 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_adisc()
2940 elsiocb->cmd_cmpl = lpfc_cmpl_els_adisc; in lpfc_issue_els_adisc()
2944 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_adisc()
2945 if (!elsiocb->ndlp) { in lpfc_issue_els_adisc()
2946 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_adisc()
2954 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_adisc()
2956 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_adisc()
3154 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_logo() local
3167 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_logo()
3169 if (!elsiocb) in lpfc_issue_els_logo()
3172 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_logo()
3182 elsiocb->cmd_cmpl = lpfc_cmpl_els_logo; in lpfc_issue_els_logo()
3187 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_logo()
3188 if (!elsiocb->ndlp) { in lpfc_issue_els_logo()
3189 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_logo()
3197 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_logo()
3199 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_logo()
3504 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_scr() local
3519 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_scr()
3521 if (!elsiocb) in lpfc_issue_els_scr()
3527 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_scr()
3534 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_scr()
3548 elsiocb->cmd_cmpl = lpfc_cmpl_els_disc_cmd; in lpfc_issue_els_scr()
3549 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_scr()
3550 if (!elsiocb->ndlp) { in lpfc_issue_els_scr()
3551 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_scr()
3559 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_scr()
3561 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_scr()
3593 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_rscn() local
3625 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_rscn()
3628 if (!elsiocb) in lpfc_issue_els_rscn()
3631 event = elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_rscn()
3645 elsiocb->cmd_cmpl = lpfc_cmpl_els_cmd; in lpfc_issue_els_rscn()
3646 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_rscn()
3647 if (!elsiocb->ndlp) { in lpfc_issue_els_rscn()
3648 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rscn()
3656 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_rscn()
3658 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rscn()
3692 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_farpr() local
3710 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_farpr()
3712 if (!elsiocb) in lpfc_issue_els_farpr()
3715 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_farpr()
3744 elsiocb->cmd_cmpl = lpfc_cmpl_els_cmd; in lpfc_issue_els_farpr()
3745 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_farpr()
3746 if (!elsiocb->ndlp) { in lpfc_issue_els_farpr()
3747 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_farpr()
3751 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_farpr()
3757 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_farpr()
3788 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_rdf() local
3808 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_rdf()
3810 if (!elsiocb) in lpfc_issue_els_rdf()
3814 prdf = (struct lpfc_els_rdf_req *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_rdf()
3834 elsiocb->cmd_cmpl = lpfc_cmpl_els_disc_cmd; in lpfc_issue_els_rdf()
3835 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_rdf()
3836 if (!elsiocb->ndlp) { in lpfc_issue_els_rdf()
3837 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rdf()
3845 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_rdf()
3847 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rdf()
4287 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_edc() local
4314 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, in lpfc_issue_els_edc()
4316 if (!elsiocb) in lpfc_issue_els_edc()
4320 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_edc()
4342 elsiocb->cmd_cmpl = lpfc_cmpl_els_disc_cmd; in lpfc_issue_els_edc()
4343 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_edc()
4344 if (!elsiocb->ndlp) { in lpfc_issue_els_edc()
4345 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc()
4352 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_edc()
4358 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc()
5163 lpfc_els_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *elsiocb) in lpfc_els_free_iocb() argument
5168 elsiocb->ndlp = NULL; in lpfc_els_free_iocb()
5171 if (elsiocb->cmd_dmabuf) { in lpfc_els_free_iocb()
5172 if (elsiocb->cmd_flag & LPFC_DELAY_MEM_FREE) { in lpfc_els_free_iocb()
5177 elsiocb->cmd_flag &= ~LPFC_DELAY_MEM_FREE; in lpfc_els_free_iocb()
5178 buf_ptr = elsiocb->cmd_dmabuf; in lpfc_els_free_iocb()
5179 elsiocb->cmd_dmabuf = NULL; in lpfc_els_free_iocb()
5198 buf_ptr1 = elsiocb->cmd_dmabuf; in lpfc_els_free_iocb()
5200 elsiocb->cmd_dmabuf = NULL; in lpfc_els_free_iocb()
5204 if (elsiocb->bpl_dmabuf) { in lpfc_els_free_iocb()
5205 buf_ptr = elsiocb->bpl_dmabuf; in lpfc_els_free_iocb()
5207 elsiocb->bpl_dmabuf = NULL; in lpfc_els_free_iocb()
5209 lpfc_sli_release_iocbq(phba, elsiocb); in lpfc_els_free_iocb()
5529 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_acc() local
5540 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5542 if (!elsiocb) { in lpfc_els_rsp_acc()
5550 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5561 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5568 pcmd = elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5579 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5581 if (!elsiocb) in lpfc_els_rsp_acc()
5585 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5596 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5603 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5606 elsiocb->context_un.mbox = mbox; in lpfc_els_rsp_acc()
5657 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5659 if (!elsiocb) in lpfc_els_rsp_acc()
5663 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5674 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5681 pcmd = (u8 *) elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5695 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, in lpfc_els_rsp_acc()
5697 if (!elsiocb) in lpfc_els_rsp_acc()
5701 wqe = &elsiocb->wqe; in lpfc_els_rsp_acc()
5712 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5719 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_acc()
5741 elsiocb->cmd_cmpl = lpfc_cmpl_els_logo_acc; in lpfc_els_rsp_acc()
5743 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_acc()
5747 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_acc()
5748 if (!elsiocb->ndlp) { in lpfc_els_rsp_acc()
5749 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_acc()
5753 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_acc()
5755 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_acc()
5765 rc, elsiocb->iotag, elsiocb->sli4_xritag, in lpfc_els_rsp_acc()
5803 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_reject() local
5808 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_reject()
5810 if (!elsiocb) in lpfc_els_rsp_reject()
5814 wqe = &elsiocb->wqe; in lpfc_els_rsp_reject()
5820 icmd = &elsiocb->iocb; in lpfc_els_rsp_reject()
5826 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_reject()
5833 elsiocb->context_un.mbox = mbox; in lpfc_els_rsp_reject()
5840 rejectError, elsiocb->iotag, in lpfc_els_rsp_reject()
5841 get_job_ulpcontext(phba, elsiocb), ndlp->nlp_DID, in lpfc_els_rsp_reject()
5848 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_reject()
5849 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_reject()
5850 if (!elsiocb->ndlp) { in lpfc_els_rsp_reject()
5851 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_reject()
5867 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_reject()
5869 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_reject()
5898 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_edc_rsp() local
5911 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, cmdiocb->retry, in lpfc_issue_els_edc_rsp()
5913 if (!elsiocb) in lpfc_issue_els_edc_rsp()
5917 wqe = &elsiocb->wqe; in lpfc_issue_els_edc_rsp()
5923 icmd = &elsiocb->iocb; in lpfc_issue_els_edc_rsp()
5929 pcmd = elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_edc_rsp()
5950 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_issue_els_edc_rsp()
5953 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_edc_rsp()
5954 if (!elsiocb->ndlp) { in lpfc_issue_els_edc_rsp()
5955 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc_rsp()
5959 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_edc_rsp()
5961 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_edc_rsp()
5971 rc, elsiocb->iotag, elsiocb->sli4_xritag, in lpfc_issue_els_edc_rsp()
6005 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_adisc_acc() local
6012 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_adisc_acc()
6014 if (!elsiocb) in lpfc_els_rsp_adisc_acc()
6018 wqe = &elsiocb->wqe; in lpfc_els_rsp_adisc_acc()
6022 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_adisc_acc()
6027 icmd = &elsiocb->iocb; in lpfc_els_rsp_adisc_acc()
6030 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_adisc_acc()
6039 elsiocb->iotag, ulp_context, in lpfc_els_rsp_adisc_acc()
6042 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_adisc_acc()
6058 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_adisc_acc()
6059 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_adisc_acc()
6060 if (!elsiocb->ndlp) { in lpfc_els_rsp_adisc_acc()
6061 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_adisc_acc()
6065 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_adisc_acc()
6067 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_adisc_acc()
6105 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_prli_acc() local
6136 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_prli_acc()
6138 if (!elsiocb) in lpfc_els_rsp_prli_acc()
6142 wqe = &elsiocb->wqe; in lpfc_els_rsp_prli_acc()
6145 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_prli_acc()
6149 icmd = &elsiocb->iocb; in lpfc_els_rsp_prli_acc()
6152 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_prli_acc()
6161 elsiocb->iotag, ulp_context, in lpfc_els_rsp_prli_acc()
6164 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_prli_acc()
6250 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_prli_acc()
6251 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_prli_acc()
6252 if (!elsiocb->ndlp) { in lpfc_els_rsp_prli_acc()
6253 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_prli_acc()
6257 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_prli_acc()
6259 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_prli_acc()
6295 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_rnid_acc() local
6306 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_rnid_acc()
6308 if (!elsiocb) in lpfc_els_rsp_rnid_acc()
6312 wqe = &elsiocb->wqe; in lpfc_els_rsp_rnid_acc()
6315 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_rnid_acc()
6319 icmd = &elsiocb->iocb; in lpfc_els_rsp_rnid_acc()
6322 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_rnid_acc()
6330 elsiocb->iotag, ulp_context); in lpfc_els_rsp_rnid_acc()
6331 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_rnid_acc()
6364 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_rnid_acc()
6365 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_rnid_acc()
6366 if (!elsiocb->ndlp) { in lpfc_els_rsp_rnid_acc()
6367 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rnid_acc()
6371 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_rnid_acc()
6373 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rnid_acc()
6447 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_echo_acc() local
6463 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_echo_acc()
6465 if (!elsiocb) in lpfc_els_rsp_echo_acc()
6469 wqe = &elsiocb->wqe; in lpfc_els_rsp_echo_acc()
6472 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_echo_acc()
6476 icmd = &elsiocb->iocb; in lpfc_els_rsp_echo_acc()
6479 ulp_context = elsiocb->iocb.ulpContext; in lpfc_els_rsp_echo_acc()
6487 elsiocb->iotag, ulp_context); in lpfc_els_rsp_echo_acc()
6488 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_echo_acc()
6498 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_echo_acc()
6499 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_echo_acc()
6500 if (!elsiocb->ndlp) { in lpfc_els_rsp_echo_acc()
6501 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_echo_acc()
6505 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_echo_acc()
6507 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_echo_acc()
7067 struct lpfc_iocbq *elsiocb; in lpfc_els_rdp_cmpl() local
7085 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, in lpfc_els_rdp_cmpl()
7088 if (!elsiocb) in lpfc_els_rdp_cmpl()
7091 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rdp_cmpl()
7093 wqe = &elsiocb->wqe; in lpfc_els_rdp_cmpl()
7100 icmd = &elsiocb->iocb; in lpfc_els_rdp_cmpl()
7108 elsiocb->iotag, ulp_context, in lpfc_els_rdp_cmpl()
7111 rdp_res = (struct fc_rdp_res_frame *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rdp_cmpl()
7112 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rdp_cmpl()
7160 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rdp_cmpl()
7163 bpl = (struct ulp_bde64 *)elsiocb->bpl_dmabuf->virt; in lpfc_els_rdp_cmpl()
7169 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rdp_cmpl()
7170 if (!elsiocb->ndlp) { in lpfc_els_rdp_cmpl()
7171 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7175 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rdp_cmpl()
7177 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7185 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, lpfc_max_els_tries, in lpfc_els_rdp_cmpl()
7187 if (!elsiocb) in lpfc_els_rdp_cmpl()
7191 wqe = &elsiocb->wqe; in lpfc_els_rdp_cmpl()
7199 icmd = &elsiocb->iocb; in lpfc_els_rdp_cmpl()
7204 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rdp_cmpl()
7211 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rdp_cmpl()
7212 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rdp_cmpl()
7213 if (!elsiocb->ndlp) { in lpfc_els_rdp_cmpl()
7214 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7218 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rdp_cmpl()
7220 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rdp_cmpl()
7505 struct lpfc_iocbq *elsiocb; in lpfc_els_lcb_rsp() local
7540 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_lcb_rsp()
7547 if (!elsiocb) in lpfc_els_lcb_rsp()
7550 lcb_res = (struct fc_lcb_res_frame *)elsiocb->cmd_dmabuf->virt; in lpfc_els_lcb_rsp()
7555 wqe = &elsiocb->wqe; in lpfc_els_lcb_rsp()
7560 icmd = &elsiocb->iocb; in lpfc_els_lcb_rsp()
7565 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_lcb_rsp()
7572 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_lcb_rsp()
7575 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_lcb_rsp()
7576 if (!elsiocb->ndlp) { in lpfc_els_lcb_rsp()
7577 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
7581 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_lcb_rsp()
7583 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
7592 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_lcb_rsp()
7596 if (!elsiocb) in lpfc_els_lcb_rsp()
7600 wqe = &elsiocb->wqe; in lpfc_els_lcb_rsp()
7605 icmd = &elsiocb->iocb; in lpfc_els_lcb_rsp()
7610 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_lcb_rsp()
7619 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_lcb_rsp()
7621 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_lcb_rsp()
7622 if (!elsiocb->ndlp) { in lpfc_els_lcb_rsp()
7623 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
7627 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_lcb_rsp()
7629 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_lcb_rsp()
8650 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_rls_acc() local
8671 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_rsp_rls_acc()
8678 if (!elsiocb) { in lpfc_els_rsp_rls_acc()
8683 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_rls_acc()
8685 wqe = &elsiocb->wqe; in lpfc_els_rsp_rls_acc()
8690 icmd = &elsiocb->iocb; in lpfc_els_rsp_rls_acc()
8695 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_rls_acc()
8711 elsiocb->iotag, ulp_context, in lpfc_els_rsp_rls_acc()
8714 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_rls_acc()
8716 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_rls_acc()
8717 if (!elsiocb->ndlp) { in lpfc_els_rsp_rls_acc()
8718 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rls_acc()
8722 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_rls_acc()
8724 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rls_acc()
8825 struct lpfc_iocbq *elsiocb; in lpfc_els_rcv_rtv() local
8835 elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize, in lpfc_els_rcv_rtv()
8839 if (!elsiocb) in lpfc_els_rcv_rtv()
8842 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_els_rcv_rtv()
8846 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rcv_rtv()
8849 wqe = &elsiocb->wqe; in lpfc_els_rcv_rtv()
8855 icmd = &elsiocb->iocb; in lpfc_els_rcv_rtv()
8874 elsiocb->iotag, ulp_context, in lpfc_els_rcv_rtv()
8878 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rcv_rtv()
8880 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rcv_rtv()
8881 if (!elsiocb->ndlp) { in lpfc_els_rcv_rtv()
8882 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rcv_rtv()
8886 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rcv_rtv()
8888 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rcv_rtv()
8922 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_rrq() local
8932 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, did, in lpfc_issue_els_rrq()
8934 if (!elsiocb) in lpfc_issue_els_rrq()
8937 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_rrq()
8954 elsiocb->context_un.rrq = rrq; in lpfc_issue_els_rrq()
8955 elsiocb->cmd_cmpl = lpfc_cmpl_els_rrq; in lpfc_issue_els_rrq()
8957 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_rrq()
8958 if (!elsiocb->ndlp) in lpfc_issue_els_rrq()
8961 ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_rrq()
8969 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_rrq()
9028 struct lpfc_iocbq *elsiocb; in lpfc_els_rsp_rpl_acc() local
9032 elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp, in lpfc_els_rsp_rpl_acc()
9035 if (!elsiocb) in lpfc_els_rsp_rpl_acc()
9038 ulp_context = get_job_ulpcontext(phba, elsiocb); in lpfc_els_rsp_rpl_acc()
9040 wqe = &elsiocb->wqe; in lpfc_els_rsp_rpl_acc()
9047 icmd = &elsiocb->iocb; in lpfc_els_rsp_rpl_acc()
9052 pcmd = elsiocb->cmd_dmabuf->virt; in lpfc_els_rsp_rpl_acc()
9071 elsiocb->iotag, ulp_context, in lpfc_els_rsp_rpl_acc()
9074 elsiocb->cmd_cmpl = lpfc_cmpl_els_rsp; in lpfc_els_rsp_rpl_acc()
9076 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rsp_rpl_acc()
9077 if (!elsiocb->ndlp) { in lpfc_els_rsp_rpl_acc()
9078 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rpl_acc()
9082 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_els_rsp_rpl_acc()
9084 lpfc_els_free_iocb(phba, elsiocb); in lpfc_els_rsp_rpl_acc()
10347 struct lpfc_vport *vport, struct lpfc_iocbq *elsiocb) in lpfc_els_unsol_buffer() argument
10357 if (!vport || !elsiocb->cmd_dmabuf) in lpfc_els_unsol_buffer()
10361 wcqe_cmpl = &elsiocb->wcqe_cmpl; in lpfc_els_unsol_buffer()
10362 payload = elsiocb->cmd_dmabuf->virt; in lpfc_els_unsol_buffer()
10366 payload_len = elsiocb->iocb.unsli3.rcvsli3.acc_len; in lpfc_els_unsol_buffer()
10367 status = get_job_ulpstatus(phba, elsiocb); in lpfc_els_unsol_buffer()
10372 did = get_job_els_rsp64_did(phba, elsiocb); in lpfc_els_unsol_buffer()
10376 status, get_job_word4(phba, elsiocb), did); in lpfc_els_unsol_buffer()
10423 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_unsol_buffer()
10424 if (!elsiocb->ndlp) in lpfc_els_unsol_buffer()
10426 elsiocb->vport = vport; in lpfc_els_unsol_buffer()
10464 &elsiocb->wqe.xmit_els_rsp); in lpfc_els_unsol_buffer()
10493 lpfc_disc_state_machine(vport, ndlp, elsiocb, in lpfc_els_unsol_buffer()
10516 lpfc_els_rcv_flogi(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10536 lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_LOGO); in lpfc_els_unsol_buffer()
10553 lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_PRLO); in lpfc_els_unsol_buffer()
10557 lpfc_els_rcv_lcb(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10561 lpfc_els_rcv_rdp(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10565 lpfc_els_rcv_rscn(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10582 lpfc_disc_state_machine(vport, ndlp, elsiocb, in lpfc_els_unsol_buffer()
10596 lpfc_disc_state_machine(vport, ndlp, elsiocb, in lpfc_els_unsol_buffer()
10605 lpfc_els_rcv_farpr(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10613 lpfc_els_rcv_farp(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10621 lpfc_els_rcv_fan(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10636 lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_PRLI); in lpfc_els_unsol_buffer()
10644 lpfc_els_rcv_lirr(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10655 lpfc_els_rcv_rls(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10666 lpfc_els_rcv_rpl(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10677 lpfc_els_rcv_rnid(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10687 lpfc_els_rcv_rtv(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10698 lpfc_els_rcv_rrq(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10709 lpfc_els_rcv_echo(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10730 lpfc_els_rcv_edc(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10744 lpfc_els_rcv_rdf(vport, elsiocb, ndlp); in lpfc_els_unsol_buffer()
10771 lpfc_els_rsp_reject(vport, stat.un.lsRjtError, elsiocb, ndlp, in lpfc_els_unsol_buffer()
10780 lpfc_nlp_put(elsiocb->ndlp); in lpfc_els_unsol_buffer()
10781 elsiocb->ndlp = NULL; in lpfc_els_unsol_buffer()
10810 cmd, status, get_job_word4(phba, elsiocb), did); in lpfc_els_unsol_buffer()
10829 struct lpfc_iocbq *elsiocb) in lpfc_els_unsol_event() argument
10831 struct lpfc_vport *vport = elsiocb->vport; in lpfc_els_unsol_event()
10835 struct lpfc_dmabuf *bdeBuf1 = elsiocb->cmd_dmabuf; in lpfc_els_unsol_event()
10836 struct lpfc_dmabuf *bdeBuf2 = elsiocb->bpl_dmabuf; in lpfc_els_unsol_event()
10839 elsiocb->cmd_dmabuf = NULL; in lpfc_els_unsol_event()
10840 elsiocb->rsp_dmabuf = NULL; in lpfc_els_unsol_event()
10841 elsiocb->bpl_dmabuf = NULL; in lpfc_els_unsol_event()
10843 wcqe_cmpl = &elsiocb->wcqe_cmpl; in lpfc_els_unsol_event()
10844 ulp_command = get_job_cmnd(phba, elsiocb); in lpfc_els_unsol_event()
10845 status = get_job_ulpstatus(phba, elsiocb); in lpfc_els_unsol_event()
10846 parameter = get_job_word4(phba, elsiocb); in lpfc_els_unsol_event()
10850 bde_count = elsiocb->iocb.ulpBdeCount; in lpfc_els_unsol_event()
10865 icmd = &elsiocb->iocb; in lpfc_els_unsol_event()
10885 elsiocb->cmd_dmabuf = bdeBuf1; in lpfc_els_unsol_event()
10887 elsiocb->bpl_dmabuf = bdeBuf2; in lpfc_els_unsol_event()
10889 icmd = &elsiocb->iocb; in lpfc_els_unsol_event()
10892 elsiocb->cmd_dmabuf = lpfc_sli_ringpostbuf_get(phba, pring, in lpfc_els_unsol_event()
10897 elsiocb->bpl_dmabuf = lpfc_sli_ringpostbuf_get(phba, in lpfc_els_unsol_event()
10903 lpfc_els_unsol_buffer(phba, pring, vport, elsiocb); in lpfc_els_unsol_event()
10908 if (elsiocb->cmd_dmabuf) { in lpfc_els_unsol_event()
10909 lpfc_in_buf_free(phba, elsiocb->cmd_dmabuf); in lpfc_els_unsol_event()
10910 elsiocb->cmd_dmabuf = NULL; in lpfc_els_unsol_event()
10913 if (elsiocb->bpl_dmabuf) { in lpfc_els_unsol_event()
10914 lpfc_in_buf_free(phba, elsiocb->bpl_dmabuf); in lpfc_els_unsol_event()
10915 elsiocb->bpl_dmabuf = NULL; in lpfc_els_unsol_event()
11441 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_fdisc() local
11451 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, did, in lpfc_issue_els_fdisc()
11453 if (!elsiocb) { in lpfc_issue_els_fdisc()
11461 wqe = &elsiocb->wqe; in lpfc_issue_els_fdisc()
11465 icmd = &elsiocb->iocb; in lpfc_issue_els_fdisc()
11472 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_fdisc()
11498 elsiocb->cmd_cmpl = lpfc_cmpl_els_fdisc; in lpfc_issue_els_fdisc()
11504 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_fdisc()
11505 if (!elsiocb->ndlp) in lpfc_issue_els_fdisc()
11508 rc = lpfc_issue_fabric_iocb(phba, elsiocb); in lpfc_issue_els_fdisc()
11518 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_fdisc()
11616 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_npiv_logo() local
11621 elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, ndlp->nlp_DID, in lpfc_issue_els_npiv_logo()
11623 if (!elsiocb) in lpfc_issue_els_npiv_logo()
11626 pcmd = (uint8_t *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_npiv_logo()
11639 elsiocb->cmd_cmpl = lpfc_cmpl_els_npiv_logo; in lpfc_issue_els_npiv_logo()
11643 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_npiv_logo()
11644 if (!elsiocb->ndlp) { in lpfc_issue_els_npiv_logo()
11645 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_npiv_logo()
11649 rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_issue_els_npiv_logo()
11651 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_npiv_logo()
12291 struct lpfc_iocbq *elsiocb; in lpfc_issue_els_qfpa() local
12299 elsiocb = lpfc_prep_els_iocb(vport, 1, LPFC_QFPA_SIZE, 2, ndlp, in lpfc_issue_els_qfpa()
12301 if (!elsiocb) in lpfc_issue_els_qfpa()
12304 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_issue_els_qfpa()
12309 elsiocb->cmd_cmpl = lpfc_cmpl_els_qfpa; in lpfc_issue_els_qfpa()
12311 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_issue_els_qfpa()
12312 if (!elsiocb->ndlp) { in lpfc_issue_els_qfpa()
12313 lpfc_els_free_iocb(vport->phba, elsiocb); in lpfc_issue_els_qfpa()
12317 ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 2); in lpfc_issue_els_qfpa()
12319 lpfc_els_free_iocb(phba, elsiocb); in lpfc_issue_els_qfpa()
12333 struct lpfc_iocbq *elsiocb; in lpfc_vmid_uvem() local
12347 elsiocb = lpfc_prep_els_iocb(vport, 1, LPFC_UVEM_SIZE, 2, in lpfc_vmid_uvem()
12349 if (!elsiocb) in lpfc_vmid_uvem()
12358 elsiocb->vmid_tag.vmid_context = vmid_context; in lpfc_vmid_uvem()
12359 pcmd = (u8 *)elsiocb->cmd_dmabuf->virt; in lpfc_vmid_uvem()
12393 elsiocb->cmd_cmpl = lpfc_cmpl_els_uvem; in lpfc_vmid_uvem()
12395 elsiocb->ndlp = lpfc_nlp_get(ndlp); in lpfc_vmid_uvem()
12396 if (!elsiocb->ndlp) { in lpfc_vmid_uvem()
12397 lpfc_els_free_iocb(vport->phba, elsiocb); in lpfc_vmid_uvem()
12401 ret = lpfc_sli_issue_iocb(vport->phba, LPFC_ELS_RING, elsiocb, 0); in lpfc_vmid_uvem()
12403 lpfc_els_free_iocb(vport->phba, elsiocb); in lpfc_vmid_uvem()