sfc: Move siena_nic_data::ipv6_rss_key to efx_nic::rx_hash_key
We will use this hash key for Toeplitz IPv4 hashing too. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
604f6049ba
commit
5d3a6fca95
@@ -1134,6 +1134,9 @@ static int efx_probe_nic(struct efx_nic *efx)
|
||||
* in MSI-X interrupts. */
|
||||
efx_probe_interrupts(efx);
|
||||
|
||||
if (efx->n_channels > 1)
|
||||
get_random_bytes(&efx->rx_hash_key, sizeof(efx->rx_hash_key));
|
||||
|
||||
efx_set_channels(efx);
|
||||
efx->net_dev->real_num_tx_queues = efx->n_tx_channels;
|
||||
|
||||
|
Reference in New Issue
Block a user