sfc: Allocate SRAM between buffer table and descriptor caches at init time
[pandora-kernel.git] / drivers / net / ethernet / sfc / efx.c
index e943ffb..c9c306a 100644 (file)
@@ -1420,6 +1420,8 @@ static int efx_probe_nic(struct efx_nic *efx)
        if (rc)
                goto fail;
 
+       efx->type->dimension_resources(efx);
+
        if (efx->n_channels > 1)
                get_random_bytes(&efx->rx_hash_key, sizeof(efx->rx_hash_key));
        for (i = 0; i < ARRAY_SIZE(efx->rx_indir_table); i++)