diff options
author | Florian Westphal <fw@strlen.de> | 2017-07-17 13:57:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-18 11:13:41 -0700 |
commit | 09c7570480f7544ffbf8e6db365208b0b0c154c6 (patch) | |
tree | 65c8b2560b2c819b8948244fa707d4fa128b4da9 /include/net/flowcache.h | |
parent | bd45c539bf56650fb8fbab09c36f4b9afcbd4e1c (diff) | |
download | lwn-09c7570480f7544ffbf8e6db365208b0b0c154c6.tar.gz lwn-09c7570480f7544ffbf8e6db365208b0b0c154c6.zip |
xfrm: remove flow cache
After rcu conversions performance degradation in forward tests isn't that
noticeable anymore.
See next patch for some numbers.
A followup patcg could then also remove genid from the policies
as we do not cache bundles anymore.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flowcache.h')
-rw-r--r-- | include/net/flowcache.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/net/flowcache.h b/include/net/flowcache.h deleted file mode 100644 index 51eb971e8973..000000000000 --- a/include/net/flowcache.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef _NET_FLOWCACHE_H -#define _NET_FLOWCACHE_H - -#include <linux/interrupt.h> -#include <linux/types.h> -#include <linux/timer.h> -#include <linux/notifier.h> - -struct flow_cache_percpu { - struct hlist_head *hash_table; - unsigned int hash_count; - u32 hash_rnd; - int hash_rnd_recalc; - struct tasklet_struct flush_tasklet; -}; - -struct flow_cache { - u32 hash_shift; - struct flow_cache_percpu __percpu *percpu; - struct hlist_node node; - unsigned int low_watermark; - unsigned int high_watermark; - struct timer_list rnd_timer; -}; -#endif /* _NET_FLOWCACHE_H */ |