Home
last modified time | relevance | path

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

/Linux-v4.19/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()
455 if (ha->num_vhosts > ha->max_npiv_vports) { in qla24xx_vport_create_req_sanity_check()
459 ha->num_vhosts, ha->max_npiv_vports); in qla24xx_vport_create_req_sanity_check()
490 if (vha->vp_idx > ha->max_npiv_vports) { in qla24xx_create_vhost()
929 if (vp_index == 0 || vp_index >= ha->max_npiv_vports) in qla24xx_control_vp()
Dqla_init.c3550 if ((!ha->max_npiv_vports) || in qla2x00_setup_chip()
3551 ((ha->max_npiv_vports + 1) % in qla2x00_setup_chip()
3553 ha->max_npiv_vports = in qla2x00_setup_chip()
3990 ha->max_npiv_vports = MIN_MULTI_ID_FABRIC - 1; in qla2x00_init_rings()
3991 mid_init_cb->count = cpu_to_le16(ha->max_npiv_vports); in qla2x00_init_rings()
Dqla_attr.c2323 fc_host_max_npiv_vports(vha->host) = ha->max_npiv_vports; in qla2x00_init_host_attr()
Dqla_def.h4110 uint16_t max_npiv_vports; /* 63 or 125 per topoloty */ member
Dqla_mbx.c2868 ha->max_npiv_vports = mcp->mb[11]; in qla2x00_get_resource_cnts()
/Linux-v4.19/include/scsi/
Dscsi_transport_fc.h511 u16 max_npiv_vports; member
572 (((struct fc_host_attrs *)(x)->shost_data)->max_npiv_vports)
/Linux-v4.19/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-v4.19/drivers/scsi/
Dscsi_transport_fc.c407 fc_host->max_npiv_vports = 0; in fc_host_setup()
1532 fc_private_host_rd_attr(max_npiv_vports, "%u\n", 20);
2232 SETUP_HOST_ATTRIBUTE_RD_NS(max_npiv_vports); in fc_attach_transport()
3386 if (fc_host->npiv_vports_inuse >= fc_host->max_npiv_vports) { in fc_vport_setup()