diff options
author | Paolo Abeni <[email protected]> | 2015-12-23 16:54:27 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-12-23 22:28:29 -0500 |
commit | 184fc8b5ee601cd83dbbdf3e6cfec5f5b8d3b41a (patch) | |
tree | b76b1cc9e17e1c4178c7c578782be34e9c248b75 /lib/mpi | |
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 <[email protected]>
Acked-by: Hannes Frederic Sowa <[email protected]>
Acked-by: John W. Linville <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions