diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-03-31 04:17:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-02 06:41:36 +0400 |
commit | d7997fe1f4584da12e9c29fb682c18e9bdc13b73 (patch) | |
tree | c1a5e01d4e9d72dd0a4cc33521a0ad1074afaec2 /drivers/net/bnx2x_main.c | |
parent | ea2dea9dacc256fe927857feb423872051642ae7 (diff) | |
download | linux-d7997fe1f4584da12e9c29fb682c18e9bdc13b73.tar.xz |
flow: structurize flow cache
Group all per-cpu data to one structure instead of having many
globals. Also prepare the internals so that we can have multiple
instances of the flow cache if needed.
Only the kmem_cache is left as a global as all flow caches share
the same element size, and benefit from using a common cache.
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_main.c')
0 files changed, 0 insertions, 0 deletions