]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71c89c90aeb7b45940b6de6485016d0aec9a8952
treeecae42cc8809809287e10007643370eaed7e3055
parent3d6a9b064fbe1168b258de98278aff312e44a8da
rfs: better sizing of dev_flow_table

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>
include/linux/netdevice.h
net/core/net-sysfs.c