Lines Matching refs:max_vpi
5649 if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) { in lpfc_sli_config_port()
5651 phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi; in lpfc_sli_config_port()
5652 phba->max_vports = (phba->max_vpi > phba->max_vports) ? in lpfc_sli_config_port()
5653 phba->max_vpi : phba->max_vports; in lpfc_sli_config_port()
5656 phba->max_vpi = 0; in lpfc_sli_config_port()
5677 phba->max_vpi = 0; in lpfc_sli_config_port()
5725 phba->sli_rev, phba->max_vpi); in lpfc_sli_hba_setup()
5739 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup()
5748 phba->vpi_ids = kcalloc(phba->max_vpi + 1, in lpfc_sli_hba_setup()
5756 for (i = 0; i < phba->max_vpi; i++) in lpfc_sli_hba_setup()
7264 count = phba->sli4_hba.max_cfg_param.max_vpi; in lpfc_sli4_alloc_resource_identifiers()
8697 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_sli4_hba_setup()
8706 phba->cfg_enable_npiv, phba->max_vpi); in lpfc_sli4_hba_setup()
18557 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_fc_frame_to_vport()