summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ipv6_route.h
diff options
context:
space:
mode:
authorMartin KaFai Lau2015-05-23 05:56:06 +0200
committerDavid S. Miller2015-05-25 19:25:35 +0200
commitd52d3997f843ffefaa8d8462790ffcaca6c74192 (patch)
treee7ad34bdd077c3af7d75acb6b6de7199c9672091 /include/uapi/linux/ipv6_route.h
parentipv6: Break up ip6_rt_copy() (diff)
downloadkernel-qcow2-linux-d52d3997f843ffefaa8d8462790ffcaca6c74192.tar.gz
kernel-qcow2-linux-d52d3997f843ffefaa8d8462790ffcaca6c74192.tar.xz
kernel-qcow2-linux-d52d3997f843ffefaa8d8462790ffcaca6c74192.zip
ipv6: Create percpu rt6_info
After the patch 'ipv6: Only create RTF_CACHE routes after encountering pmtu exception', we need to compensate the performance hit (bouncing dst->__refcnt). Signed-off-by: Martin KaFai Lau <kafai@fb.com> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/ipv6_route.h')
-rw-r--r--include/uapi/linux/ipv6_route.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ipv6_route.h b/include/uapi/linux/ipv6_route.h
index 2be7bd174751..f6598d1c886e 100644
--- a/include/uapi/linux/ipv6_route.h
+++ b/include/uapi/linux/ipv6_route.h
@@ -34,6 +34,7 @@
#define RTF_PREF(pref) ((pref) << 27)
#define RTF_PREF_MASK 0x18000000
+#define RTF_PCPU 0x40000000
#define RTF_LOCAL 0x80000000