rfs: better sizing of dev_flow_table
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 24 Dec 2011 06:56:49 +0000 (06:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Dec 2011 21:13:27 +0000 (16:13 -0500)
Aim of this patch is to provide full range of rps_flow_cnt on 64bit arches.

Theorical limit on number of flows is 2^32

Fix some buggy RPS/RFS macros as well.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Tom Herbert <therbert@google.com>
CC: Xi Wang <xi.wang@gmail.com>
CC: Laurent Chavey <chavey@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found