summaryrefslogtreecommitdiff
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2016-02-12 17:43:56 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-17 04:21:48 +0300
commit0c1d70af924b966cc71e9e48920b2b635441aa50 (patch)
treecda34c2cd7eb589e64e0c50b8673b0437c48ae6c /include/net/vxlan.h
parente09acddf873bf775b208b452a4c3a3fd26fa9427 (diff)
downloadlinux-0c1d70af924b966cc71e9e48920b2b635441aa50.tar.xz
net: use dst_cache for vxlan device
In case of UDP traffic with datagram length below MTU this give about 3% performance increase when tunneling over ipv4 and about 70% when tunneling over ipv6. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Suggested-and-acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
-rw-r--r--include/net/vxlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 25bd919c9ef0..b314e4af89c5 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -148,6 +148,7 @@ struct vxlan_rdst {
u32 remote_ifindex;
struct list_head list;
struct rcu_head rcu;
+ struct dst_cache dst_cache;
};
struct vxlan_config {