Searched refs:max_npiv_vports (Results 1 – 8 of 8) sorted by relevance
38 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()
1858 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()
2379 uint16_t *orig_iocb_cnt, uint16_t *max_npiv_vports, uint16_t *max_fcfs) in qla2x00_get_resource_cnts() argument2416 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()
2298 fc_host_max_npiv_vports(vha->host) = ha->max_npiv_vports; in qla2x00_init_host_attr()
3404 uint16_t max_npiv_vports; /* 63 or 125 per topoloty */ member
505 u16 max_npiv_vports; member566 (((struct fc_host_attrs *)(x)->shost_data)->max_npiv_vports)
164 max_npiv_vports: Read_Only297 transport, it should set the max_npiv_vports attribute to indicate the314 can support another vport (e.g. max_npiv_vports > npiv_vports_inuse).
403 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()