From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: ipv6_gre: Fix GRO to work on IPv6 over GRE tap Date: Thu, 09 Aug 2018 14:08:10 -0700 (PDT) Message-ID: <20180809.140810.1435534399922642865.davem@davemloft.net> References: <1533717990-25365-1-git-send-email-tariqt@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, eranbe@mellanox.com, mariap@mellanox.com To: tariqt@mellanox.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:36926 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727182AbeHIXer (ORCPT ); Thu, 9 Aug 2018 19:34:47 -0400 In-Reply-To: <1533717990-25365-1-git-send-email-tariqt@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Tariq Toukan Date: Wed, 8 Aug 2018 11:46:30 +0300 > IPv6 GRO over GRE tap is not working while GRO is not set > over the native interface. ... > This patch removes the override of the hard_header_len, and > assigns the calculated value to needed_headroom. > This way, the comparison in gro_list_prepare is really of > the mac headers, and if the packets have the same mac headers > the same_flow will be set to 1. > > Performance testing: 45% higher bandwidth. > Measuring bandwidth of single-stream IPv4 TCP traffic over IPv6 > GRE tap while GRO is not set on the native. > NIC: ConnectX-4LX > Before (GRO not working) : 7.2 Gbits/sec > After (GRO working): 10.5 Gbits/sec > > Signed-off-by: Maria Pasechnik > Signed-off-by: Tariq Toukan Applied, thank you.