[PATCH net v2] geneve: initialize needed_headroom

2015-12-23 Thread Paolo Abeni
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

Re: [PATCH net v2] geneve: initialize needed_headroom

2015-12-23 Thread John W. Linville
On Wed, Dec 23, 2015 at 04:54:27PM +0100, Paolo Abeni wrote: > 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

Re: [PATCH net v2] geneve: initialize needed_headroom

2015-12-23 Thread David Miller
From: Paolo Abeni Date: Wed, 23 Dec 2015 16:54:27 +0100 > 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