SLI_RSRC_FCOE_VPI
ocs_ddump_value(textbuf, "max_vpi", "%d", sli_get_max_rsrc(sli4, SLI_RSRC_FCOE_VPI));
if (sli_resource_free(&hw->sli, SLI_RSRC_FCOE_VPI, sport->indicator)) {
sli_resource_free(&hw->sli, SLI_RSRC_FCOE_VPI, sport->indicator);
sli_resource_free(&hw->sli, SLI_RSRC_FCOE_VPI, sport->indicator);
sli_resource_free(&hw->sli, SLI_RSRC_FCOE_VPI, sport->indicator);
int indicator = sli4->config.extent[SLI_RSRC_FCOE_VPI].base[0] + chan;
*value = sli_get_max_rsrc(&hw->sli, SLI_RSRC_FCOE_VPI);
if (sli_resource_alloc(&hw->sli, SLI_RSRC_FCOE_VPI, &sport->indicator, &index)) {
sli_resource_free(&hw->sli, SLI_RSRC_FCOE_VPI, sport->indicator);
case SLI_RSRC_FCOE_VPI:
sli4->config.extent[SLI_RSRC_FCOE_VPI].base[0] = read_config->vpi_base;
sli4->config.extent[SLI_RSRC_FCOE_VPI].size = read_config->vpi_count;
case SLI_RSRC_FCOE_VPI:
case SLI_RSRC_FCOE_VPI:
case SLI_RSRC_FCOE_VPI: