diff options
author | Paolo Abeni <pabeni@redhat.com> | 2015-12-23 16:54:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-23 22:28:29 -0500 |
commit | 184fc8b5ee601cd83dbbdf3e6cfec5f5b8d3b41a (patch) | |
tree | b76b1cc9e17e1c4178c7c578782be34e9c248b75 /drivers/watchdog/it8712f_wdt.c | |
parent | c1a9a291cee0890eb0f435243f3fb84fefb04348 (diff) |
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 'drivers/watchdog/it8712f_wdt.c')
0 files changed, 0 insertions, 0 deletions