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

/linux-master/drivers/scsi/lpfc/
H A Dlpfc_vport.c94 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1);
95 if (vpi > phba->max_vpi)
328 phba->max_vpi);
H A Dlpfc_attr.c2138 u16 rsrc_ext_cnt, rsrc_ext_size, max_vpi; local
2184 max_vpi = max_cfg_param->max_vpi;
2187 if (max_vpi > LPFC_MAX_VPI)
2188 max_vpi = LPFC_MAX_VPI;
2189 *mvpi = max_vpi;
2225 max_vpi = rsrc_ext_cnt * rsrc_ext_size;
2228 if (max_vpi > LPFC_MAX_VPI)
2229 max_vpi = LPFC_MAX_VPI;
2230 *mvpi = max_vpi;
[all...]
H A Dlpfc_mbox.c1355 if (phba->max_vpi && phba->cfg_enable_npiv &&
1357 mb->un.varCfgPort.max_vpi = LPFC_MAX_VPI;
1360 mb->un.varCfgPort.max_vpi = phba->max_vpi = 0;
2150 if (phba->max_vpi && phba->cfg_enable_npiv)
H A Dlpfc_sli4.h472 uint16_t max_vpi; member in struct:lpfc_max_cfg_param
H A Dlpfc.h1314 uint16_t max_vpi; /* Maximum virtual nports */ member in struct:lpfc_hba
1318 * For IOV HBAs max_vpi can change
1321 * be greater than max_vpi.
H A Dlpfc_hw.h2623 uint32_t max_vpi; member in struct:__anon127
3525 uint32_t max_vpi : 16; /* Max number of virt N-Ports */ member in struct:__anon153
3527 uint32_t max_vpi : 16; /* Max number of virt N-Ports */ member in struct:__anon153
H A Dlpfc_init.c478 fc_host_max_npiv_vports(shost) = phba->max_vpi;
5045 fc_host_max_npiv_vports(shost) = phba->max_vpi;
7838 phba->max_vpi = LPFC_MAX_VPI;
7984 phba->max_vpi = LPFC_MAX_VPI;
10002 phba->sli4_hba.max_cfg_param.max_vpi =
10005 if (phba->sli4_hba.max_cfg_param.max_vpi > LPFC_MAX_VPORTS)
10006 phba->sli4_hba.max_cfg_param.max_vpi = LPFC_MAX_VPORTS;
10031 phba->max_vpi = (phba->sli4_hba.max_cfg_param.max_vpi > 0) ?
10032 (phba->sli4_hba.max_cfg_param.max_vpi
[all...]
H A Dlpfc_sli.c5654 if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) {
5656 phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi;
5657 phba->max_vports = (phba->max_vpi > phba->max_vports) ?
5658 phba->max_vpi : phba->max_vports;
5661 phba->max_vpi = 0;
5682 phba->max_vpi = 0;
5730 phba->sli_rev, phba->max_vpi);
5744 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG;
5753 phba->vpi_ids = kcalloc(phba->max_vpi
[all...]
H A Dlpfc_hbadisc.c3311 if (vports[i]->vpi > phba->max_vpi) {
3535 if (phba->cfg_enable_npiv && phba->max_vpi)
3585 if (phba->max_vpi && phba->cfg_enable_npiv &&
6504 for (i = 0; i <= phba->max_vpi; i++) {
6509 if (i > phba->max_vpi) {
H A Dlpfc_bsg.c1667 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {
1709 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) {

Completed in 478 milliseconds