From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] mlx4: only pull headers into skb head Date: Fri, 05 Sep 2014 22:35:47 -0700 (PDT) Message-ID: <20140905.223547.1067550845666436634.davem@davemloft.net> References: <1409966985.11872.6.camel@edumazet-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, amirv@mellanox.com To: eric.dumazet@gmail.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:60106 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbaIFFfs (ORCPT ); Sat, 6 Sep 2014 01:35:48 -0400 In-Reply-To: <1409966985.11872.6.camel@edumazet-glaptop2.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Fri, 05 Sep 2014 18:29:45 -0700 > From: Eric Dumazet > > Use the new fancy eth_get_headlen() to pull exactly the headers > into skb->head. > > This speeds up GRE traffic (or more generally tunneled traffuc), > as GRO can aggregate up to 17 MSS per GRO packet instead of 8. > > (Pulling too much data was forcing GRO to keep 2 frags per MSS) > > Signed-off-by: Eric Dumazet Looks great, applied, thanks Eric.