]> git.karo-electronics.de Git - linux-beck.git/commit
geneve: add dst caching support
authorPaolo Abeni <pabeni@redhat.com>
Fri, 12 Feb 2016 14:43:58 +0000 (15:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 01:21:49 +0000 (20:21 -0500)
commit468dfffcd762cbb2777ec5a76bc21e3748ebf47e
tree8b0c3cf0bd20c3bb712563b20523f7002a00f16a
parentd71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8
geneve: add dst caching support

use generic dst implementation for both plain geneve devices and
lwtunnels.

In case of UDP traffic with datagram length below MTU this give
about 2% performance increase for plain geneve tunnel over ipv4,
about 65% performance increase for ipv6 tunnel.

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/geneve.c