Home
last modified time | relevance | path

Searched refs:max_npiv_vports (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_mid.c38 vp_id = find_first_zero_bit(ha->vp_idx_map, ha->max_npiv_vports + 1); in qla24xx_allocate_vp_id()
39 if (vp_id > ha->max_npiv_vports) { in qla24xx_allocate_vp_id()
42 vp_id, ha->max_npiv_vports); in qla24xx_allocate_vp_id()
432 if (ha->num_vhosts > ha->max_npiv_vports) { in qla24xx_vport_create_req_sanity_check()
436 ha->num_vhosts, ha->max_npiv_vports); in qla24xx_vport_create_req_sanity_check()
467 if (vha->vp_idx > ha->max_npiv_vports) { in qla24xx_create_vhost()
Dqla_init.c1858 if ((!ha->max_npiv_vports) || in qla2x00_setup_chip()
1859 ((ha->max_npiv_vports + 1) % in qla2x00_setup_chip()
1861 ha->max_npiv_vports = in qla2x00_setup_chip()
1866 &ha->max_npiv_vports, NULL); in qla2x00_setup_chip()
2246 ha->max_npiv_vports = MIN_MULTI_ID_FABRIC - 1; in qla2x00_init_rings()
2247 mid_init_cb->count = cpu_to_le16(ha->max_npiv_vports); in qla2x00_init_rings()
Dqla_mbx.c2379 uint16_t *orig_iocb_cnt, uint16_t *max_npiv_vports, uint16_t *max_fcfs) in qla2x00_get_resource_cnts() argument
2416 if (vha->hw->flags.npiv_supported && max_npiv_vports) in qla2x00_get_resource_cnts()
2417 *max_npiv_vports = mcp->mb[11]; in qla2x00_get_resource_cnts()
3530 if (vp_index == 0 || vp_index >= ha->max_npiv_vports) in qla24xx_control_vp()
Dqla_attr.c2298 fc_host_max_npiv_vports(vha->host) = ha->max_npiv_vports; in qla2x00_init_host_attr()
Dqla_def.h3404 uint16_t max_npiv_vports; /* 63 or 125 per topoloty */ member
/linux-4.1.27/include/scsi/
Dscsi_transport_fc.h505 u16 max_npiv_vports; member
566 (((struct fc_host_attrs *)(x)->shost_data)->max_npiv_vports)
/linux-4.1.27/Documentation/scsi/
Dscsi_fc_transport.txt164 max_npiv_vports: Read_Only
297 transport, it should set the max_npiv_vports attribute to indicate the
314 can support another vport (e.g. max_npiv_vports > npiv_vports_inuse).
/linux-4.1.27/drivers/scsi/
Dscsi_transport_fc.c403 fc_host->max_npiv_vports = 0; in fc_host_setup()
1528 fc_private_host_rd_attr(max_npiv_vports, "%u\n", 20);
2246 SETUP_HOST_ATTRIBUTE_RD_NS(max_npiv_vports); in fc_attach_transport()
3378 if (fc_host->npiv_vports_inuse >= fc_host->max_npiv_vports) { in fc_vport_setup()