Searched refs:max_npiv_vports (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 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() 426 if (ha->num_vhosts > ha->max_npiv_vports) { in qla24xx_vport_create_req_sanity_check() 430 ha->num_vhosts, ha->max_npiv_vports); in qla24xx_vport_create_req_sanity_check() 461 if (vha->vp_idx > ha->max_npiv_vports) { in qla24xx_create_vhost()
|
D | qla_fw.h | 1139 (_ha)->max_npiv_vports + 1, 1); \ 1140 _idx <= (_ha)->max_npiv_vports; \ 1142 (_ha)->max_npiv_vports + 1, _idx + 1)) \
|
D | qla_init.c | 1664 if ((!ha->max_npiv_vports) || in qla2x00_setup_chip() 1665 ((ha->max_npiv_vports + 1) % in qla2x00_setup_chip() 1667 ha->max_npiv_vports = in qla2x00_setup_chip() 1672 &ha->max_npiv_vports, NULL); in qla2x00_setup_chip() 2043 ha->max_npiv_vports = MIN_MULTI_ID_FABRIC - 1; in qla2x00_init_rings() 2044 mid_init_cb->count = cpu_to_le16(ha->max_npiv_vports); in qla2x00_init_rings()
|
D | qla_mbx.c | 2330 uint16_t *orig_iocb_cnt, uint16_t *max_npiv_vports, uint16_t *max_fcfs) in qla2x00_get_resource_cnts() argument 2367 if (vha->hw->flags.npiv_supported && max_npiv_vports) in qla2x00_get_resource_cnts() 2368 *max_npiv_vports = mcp->mb[11]; in qla2x00_get_resource_cnts() 3311 if (vp_index == 0 || vp_index >= ha->max_npiv_vports) in qla24xx_control_vp()
|
D | qla_attr.c | 2104 fc_host_max_npiv_vports(vha->host) = ha->max_npiv_vports; in qla2x00_init_host_attr()
|
D | qla_def.h | 3225 uint16_t max_npiv_vports; /* 63 or 125 per topoloty */ member
|
/drivers/scsi/ |
D | scsi_transport_fc.c | 398 fc_host->max_npiv_vports = 0; in fc_host_setup() 1523 fc_private_host_rd_attr(max_npiv_vports, "%u\n", 20); 2241 SETUP_HOST_ATTRIBUTE_RD_NS(max_npiv_vports); in fc_attach_transport() 3383 if (fc_host->npiv_vports_inuse >= fc_host->max_npiv_vports) { in fc_vport_setup()
|