From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shmulik Ladkani Subject: Re: [PATCH net-next 0/4] net: cleanup for UDP tunnel's GRO Date: Fri, 8 Jul 2016 23:17:34 +0300 Message-ID: <20160708231734.6258c00b@halley> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Netdev , "David S. Miller" , Jesse Gross , Tom Herbert , Hannes Frederic Sowa , Jiri Benc To: Alexander Duyck , Paolo Abeni Return-path: Received: from mail-wm0-f52.google.com ([74.125.82.52]:33901 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755427AbcGHURq (ORCPT ); Fri, 8 Jul 2016 16:17:46 -0400 Received: by mail-wm0-f52.google.com with SMTP id p190so4482820wmp.1 for ; Fri, 08 Jul 2016 13:17:45 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 8 Jul 2016 09:21:40 -0700 Alexander Duyck wrote: > On Thu, Jul 7, 2016 at 8:58 AM, Paolo Abeni wrote: > > With udp tunnel offload in place, the kernel can do GRO for some udp tunnels > > at the ingress device level. Currently both the geneve and the vxlan drivers > > implement an additional GRO aggregation point via gro_cells. > > The latter takes effect for tunnels using zero checksum udp packets, which are > > currently explicitly not aggregated by the udp offload layer. > > > > This patch series adapts the udp tunnel offload to process also zero checksum > > udp packets, if the tunnel's socket allow it. Aggregation, if possible is always > > performed at the ingress device level. > > > > Then the gro_cells hooks, in both vxlan and geneve driver are removed. > > I think removing the gro_cells hooks may be taking things one step too far. +1 > I get that there is an impression that it is redundant but there are a > number of paths that could lead to VXLAN or GENEVE frames being > received that are not aggregated via GRO. There's the case where the vxlan/geneve datagrams get IP fragmented, and IP frags are not GROed. GRO aggregation at the vxlan/geneve level is beneficial for this case. Regards, Shmulik