summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2015-12-23 16:54:27 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-23 22:28:29 -0500
commit184fc8b5ee601cd83dbbdf3e6cfec5f5b8d3b41a (patch)
treeb76b1cc9e17e1c4178c7c578782be34e9c248b75 /lib
parentc1a9a291cee0890eb0f435243f3fb84fefb04348 (diff)
downloadlinux-stable-184fc8b5ee601cd83dbbdf3e6cfec5f5b8d3b41a.tar.gz
linux-stable-184fc8b5ee601cd83dbbdf3e6cfec5f5b8d3b41a.tar.bz2
linux-stable-184fc8b5ee601cd83dbbdf3e6cfec5f5b8d3b41a.zip
geneve: initialize needed_headroom
Currently the needed_headroom field for the geneve device is left to the default value. This patch set it to space required for basic geneve encapsulation, so that we can avoid the skb head re-allocation on xmit. This give a 6% speedup for unsegment traffic on geneve tunnel. v1 -> v2: - add ETH_HLEN for the lower device to the needed headroom Signed-off-by: Paolo Abeni <pabeni@redhat.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Acked-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions