Lines Matching refs:max_vpi
5550 if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) { in lpfc_sli_config_port()
5552 phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi; in lpfc_sli_config_port()
5553 phba->max_vports = (phba->max_vpi > phba->max_vports) ? in lpfc_sli_config_port()
5554 phba->max_vpi : phba->max_vports; in lpfc_sli_config_port()
5557 phba->max_vpi = 0; in lpfc_sli_config_port()
5578 phba->max_vpi = 0; in lpfc_sli_config_port()
5645 phba->sli_rev, phba->max_vpi); in lpfc_sli_hba_setup()
5659 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup()
5668 phba->vpi_ids = kcalloc(phba->max_vpi + 1, in lpfc_sli_hba_setup()
5676 for (i = 0; i < phba->max_vpi; i++) in lpfc_sli_hba_setup()
7178 count = phba->sli4_hba.max_cfg_param.max_vpi; in lpfc_sli4_alloc_resource_identifiers()
8382 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_sli4_hba_setup()
8391 phba->cfg_enable_npiv, phba->max_vpi); in lpfc_sli4_hba_setup()
18493 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_fc_frame_to_vport()