diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-06-25 03:05:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-26 00:03:31 -0400 |
commit | 5d3a6fca955c18b066f01233f9faeb351c0d966b (patch) | |
tree | 6cc1ea2cf88a058425d003aaa53fbcc2c228f2b2 /drivers/net/sfc/efx.c | |
parent | 604f6049ba2af86fe361d4cc320443d35b232df1 (diff) |
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>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index d68f061a25e9..2a90bf9df913 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -1134,6 +1134,9 @@ static int efx_probe_nic(struct efx_nic *efx) | |||
1134 | * in MSI-X interrupts. */ | 1134 | * in MSI-X interrupts. */ |
1135 | efx_probe_interrupts(efx); | 1135 | efx_probe_interrupts(efx); |
1136 | 1136 | ||
1137 | if (efx->n_channels > 1) | ||
1138 | get_random_bytes(&efx->rx_hash_key, sizeof(efx->rx_hash_key)); | ||
1139 | |||
1137 | efx_set_channels(efx); | 1140 | efx_set_channels(efx); |
1138 | efx->net_dev->real_num_tx_queues = efx->n_tx_channels; | 1141 | efx->net_dev->real_num_tx_queues = efx->n_tx_channels; |
1139 | 1142 | ||