]> 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)
commit23b9f87d8d6d6f31085468563853a869a11594be
treeecae42cc8809809287e10007643370eaed7e3055
parent61267086c9384f365b93339d8e21378815bda31f
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