|
@@ -1616,7 +1616,7 @@ static int efx_probe_nic(struct efx_nic *efx)
|
|
|
goto fail2;
|
|
goto fail2;
|
|
|
|
|
|
|
|
if (efx->n_channels > 1)
|
|
if (efx->n_channels > 1)
|
|
|
- get_random_bytes(&efx->rx_hash_key, sizeof(efx->rx_hash_key));
|
|
|
|
|
|
|
+ netdev_rss_key_fill(&efx->rx_hash_key, sizeof(efx->rx_hash_key));
|
|
|
for (i = 0; i < ARRAY_SIZE(efx->rx_indir_table); i++)
|
|
for (i = 0; i < ARRAY_SIZE(efx->rx_indir_table); i++)
|
|
|
efx->rx_indir_table[i] =
|
|
efx->rx_indir_table[i] =
|
|
|
ethtool_rxfh_indir_default(i, efx->rss_spread);
|
|
ethtool_rxfh_indir_default(i, efx->rss_spread);
|