net: add dst_cache to ovs vxlan lwtunnel
authorPaolo Abeni <pabeni@redhat.com>
Fri, 12 Feb 2016 14:43:57 +0000 (15:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 01:21:48 +0000 (20:21 -0500)
commitd71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8
tree142081880ca68e3f066df14ecfb2371b229e76fd
parent0c1d70af924b966cc71e9e48920b2b635441aa50
net: add dst_cache to ovs vxlan lwtunnel

In case of UDP traffic with datagram length
below MTU this give about 2% performance increase
when tunneling over ipv4 and about 60% 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>
drivers/net/vxlan.c
include/net/dst_metadata.h
include/net/ip_tunnels.h
net/core/dst.c
net/openvswitch/Kconfig
net/openvswitch/flow_netlink.c