Searched refs:max_vpi (Results 1 – 10 of 10) sorted by relevance
94 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); in lpfc_alloc_vpi()95 if (vpi > phba->max_vpi) in lpfc_alloc_vpi()328 phba->max_vpi); in lpfc_vport_create()
2146 u16 rsrc_ext_cnt, rsrc_ext_size, max_vpi; in lpfc_get_hba_info() local2192 max_vpi = max_cfg_param->max_vpi; in lpfc_get_hba_info()2195 if (max_vpi > LPFC_MAX_VPI) in lpfc_get_hba_info()2196 max_vpi = LPFC_MAX_VPI; in lpfc_get_hba_info()2197 *mvpi = max_vpi; in lpfc_get_hba_info()2236 if (max_vpi > LPFC_MAX_VPI) in lpfc_get_hba_info()2237 max_vpi = LPFC_MAX_VPI; in lpfc_get_hba_info()2238 *mvpi = max_vpi; in lpfc_get_hba_info()2251 *mvpi = pmb->un.varRdConfig.max_vpi; in lpfc_get_hba_info()2257 *avpi = pmb->un.varRdConfig.max_vpi; in lpfc_get_hba_info()[all …]
1355 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_config_port()1357 mb->un.varCfgPort.max_vpi = LPFC_MAX_VPI; in lpfc_config_port()1360 mb->un.varCfgPort.max_vpi = phba->max_vpi = 0; in lpfc_config_port()2150 if (phba->max_vpi && phba->cfg_enable_npiv) in lpfc_request_features()
2645 uint32_t max_vpi; member3547 uint32_t max_vpi : 16; /* Max number of virt N-Ports */ member3549 uint32_t max_vpi : 16; /* Max number of virt N-Ports */ member
478 fc_host_max_npiv_vports(shost) = phba->max_vpi; in lpfc_config_port_post()5036 fc_host_max_npiv_vports(shost) = phba->max_vpi; in lpfc_host_attrib_init()7823 phba->max_vpi = LPFC_MAX_VPI; in lpfc_sli_driver_resource_setup()7968 phba->max_vpi = LPFC_MAX_VPI; in lpfc_sli4_driver_resource_setup()9983 phba->sli4_hba.max_cfg_param.max_vpi = in lpfc_sli4_read_config()9986 if (phba->sli4_hba.max_cfg_param.max_vpi > LPFC_MAX_VPORTS) in lpfc_sli4_read_config()9987 phba->sli4_hba.max_cfg_param.max_vpi = LPFC_MAX_VPORTS; in lpfc_sli4_read_config()10012 phba->max_vpi = (phba->sli4_hba.max_cfg_param.max_vpi > 0) ? in lpfc_sli4_read_config()10013 (phba->sli4_hba.max_cfg_param.max_vpi - 1) : 0; in lpfc_sli4_read_config()10014 phba->max_vports = phba->max_vpi; in lpfc_sli4_read_config()[all …]
472 uint16_t max_vpi; member
3318 if (vports[i]->vpi > phba->max_vpi) { in lpfc_start_fdiscs()3542 if (phba->cfg_enable_npiv && phba->max_vpi) in lpfc_mbx_process_link_up()3592 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_mbx_process_link_up()6467 for (i = 0; i <= phba->max_vpi; i++) { in lpfc_find_vport_by_vpid()6472 if (i > phba->max_vpi) { in lpfc_find_vport_by_vpid()
5651 if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) { in lpfc_sli_config_port()5653 phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi; in lpfc_sli_config_port()5655 phba->max_vpi : phba->max_vports; in lpfc_sli_config_port()5658 phba->max_vpi = 0; in lpfc_sli_config_port()5679 phba->max_vpi = 0; in lpfc_sli_config_port()5727 phba->sli_rev, phba->max_vpi); in lpfc_sli_hba_setup()5750 phba->vpi_ids = kcalloc(phba->max_vpi + 1, in lpfc_sli_hba_setup()5758 for (i = 0; i < phba->max_vpi; i++) in lpfc_sli_hba_setup()7266 count = phba->sli4_hba.max_cfg_param.max_vpi; in lpfc_sli4_alloc_resource_identifiers()8698 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_sli4_hba_setup()[all …]
1325 uint16_t max_vpi; /* Maximum virtual nports */ member
1681 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_bsg_diag_mode_enter()1723 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_bsg_diag_mode_exit()