qlge: bugfix: Fix RX scaling values.
Receive packets were only scaling across 2 of the receive queues. The value was hardcoded to 2 instead of being based on how many rx queues were running. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0d979f74a9
commit
def48b6e32
|
@ -2884,8 +2884,8 @@ static int ql_start_rss(struct ql_adapter *qdev)
|
|||
/*
|
||||
* Fill out the Indirection Table.
|
||||
*/
|
||||
for (i = 0; i < 32; i++)
|
||||
hash_id[i] = i & 1;
|
||||
for (i = 0; i < 256; i++)
|
||||
hash_id[i] = i & (qdev->rss_ring_count - 1);
|
||||
|
||||
/*
|
||||
* Random values for the IPv6 and IPv4 Hash Keys.
|
||||
|
|
Loading…
Reference in New Issue