Home
last modified time | relevance | path

Searched refs:max_vpi (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/scsi/lpfc/
A Dlpfc_vport.c94 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()
330 phba->max_vpi); in lpfc_vport_create()
A Dlpfc_mbox.c1305 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_config_port()
1307 mb->un.varCfgPort.max_vpi = LPFC_MAX_VPI; in lpfc_config_port()
1310 mb->un.varCfgPort.max_vpi = phba->max_vpi = 0; in lpfc_config_port()
2096 if (phba->max_vpi && phba->cfg_enable_npiv) in lpfc_request_features()
A Dlpfc_attr.c2016 uint32_t max_vpi; in lpfc_get_hba_info() local
2067 max_vpi = (bf_get(lpfc_mbx_rd_conf_vpi_count, rd_config) > 0) ? in lpfc_get_hba_info()
2071 if (max_vpi > LPFC_MAX_VPI) in lpfc_get_hba_info()
2072 max_vpi = LPFC_MAX_VPI; in lpfc_get_hba_info()
2074 *mvpi = max_vpi; in lpfc_get_hba_info()
2076 *avpi = max_vpi - phba->sli4_hba.max_cfg_param.vpi_used; in lpfc_get_hba_info()
2087 *mvpi = pmb->un.varRdConfig.max_vpi; in lpfc_get_hba_info()
2093 *avpi = pmb->un.varRdConfig.max_vpi; in lpfc_get_hba_info()
2290 if (!(phba->max_vpi)) in lpfc_npiv_info_show()
2806 static DEVICE_ATTR(max_vpi, S_IRUGO, lpfc_max_vpi_show, NULL);
A Dlpfc_hw.h2575 uint32_t max_vpi; member
3463 uint32_t max_vpi : 16; /* Max number of virt N-Ports */ member
3465 uint32_t max_vpi : 16; /* Max number of virt N-Ports */ member
A Dlpfc_init.c473 fc_host_max_npiv_vports(shost) = phba->max_vpi; in lpfc_config_port_post()
4927 fc_host_max_npiv_vports(shost) = phba->max_vpi; in lpfc_host_attrib_init()
7752 phba->max_vpi = LPFC_MAX_VPI; in lpfc_sli_driver_resource_setup()
7893 phba->max_vpi = LPFC_MAX_VPI; in lpfc_sli4_driver_resource_setup()
9859 phba->sli4_hba.max_cfg_param.max_vpi = in lpfc_sli4_read_config()
9862 if (phba->sli4_hba.max_cfg_param.max_vpi > LPFC_MAX_VPORTS) in lpfc_sli4_read_config()
9863 phba->sli4_hba.max_cfg_param.max_vpi = LPFC_MAX_VPORTS; in lpfc_sli4_read_config()
9888 phba->max_vpi = (phba->sli4_hba.max_cfg_param.max_vpi > 0) ? in lpfc_sli4_read_config()
9889 (phba->sli4_hba.max_cfg_param.max_vpi - 1) : 0; in lpfc_sli4_read_config()
9890 phba->max_vports = phba->max_vpi; in lpfc_sli4_read_config()
[all …]
A Dlpfc_sli4.h473 uint16_t max_vpi; member
A Dlpfc_hbadisc.c3238 if (vports[i]->vpi > phba->max_vpi) { in lpfc_start_fdiscs()
3477 if (phba->cfg_enable_npiv && phba->max_vpi) in lpfc_mbx_process_link_up()
3527 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_mbx_process_link_up()
6528 for (i = 0; i <= phba->max_vpi; i++) { in lpfc_find_vport_by_vpid()
6533 if (i > phba->max_vpi) { in lpfc_find_vport_by_vpid()
A Dlpfc_sli.c5553 if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) { in lpfc_sli_config_port()
5555 phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi; in lpfc_sli_config_port()
5557 phba->max_vpi : phba->max_vports; in lpfc_sli_config_port()
5560 phba->max_vpi = 0; in lpfc_sli_config_port()
5581 phba->max_vpi = 0; in lpfc_sli_config_port()
5648 phba->sli_rev, phba->max_vpi); in lpfc_sli_hba_setup()
5671 phba->vpi_ids = kcalloc(phba->max_vpi + 1, in lpfc_sli_hba_setup()
5679 for (i = 0; i < phba->max_vpi; i++) in lpfc_sli_hba_setup()
7181 count = phba->sli4_hba.max_cfg_param.max_vpi; in lpfc_sli4_alloc_resource_identifiers()
8381 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_sli4_hba_setup()
[all …]
A Dlpfc.h1313 uint16_t max_vpi; /* Maximum virtual nports */ member
A Dlpfc_bsg.c1707 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_bsg_diag_mode_enter()
1749 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_bsg_diag_mode_exit()

Completed in 111 milliseconds