Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20669241rwd; Thu, 29 Jun 2023 05:40:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7pHzV/QnyydP3yEQd+Jkkb6ozcVSeTBc8N1p0ix81mEu2Sm3db2DwSHwjvNvIIHOVVq2iU X-Received: by 2002:a05:6830:10ca:b0:6b8:85c0:1b9a with SMTP id z10-20020a05683010ca00b006b885c01b9amr3246608oto.9.1688042410157; Thu, 29 Jun 2023 05:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688042410; cv=none; d=google.com; s=arc-20160816; b=0z3R+1RVVT9CUwI0d9r0gQXJbedjIP4o0FUR0rzzc+6kiaSIoQaN/f/v+y/aZNx1Z3 5RVnZCITYs1OUyZOEeYCMT5Yk60l2h6/YedqcurOXzMdNI2FKnDSJ/JT8ao/8o2dFFyO DS2WIAl1b6PoOd+iUXpYT8s6ZeRFrO2vxBY+eYzr1wZ/xVupQY2rOYL4vL64OMbgPqvm 5metgg3sWepuWCX/zVteRJg2Hfo25KXPzlyCJA4OpVbktV7/1m7rwco9TCOJDKQXAac9 oXrh29AF+YZRxzctoFbowluJE1KtXLIMqVnbBOp0OmP3n9WxPA9MX4SvG76p78E/NujA ceSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=lKUH0S0w28bkNr/phN4PL7GSXdBXwOj3huBewXtJjxg=; fh=NW7R7T2dQldW+cTla8aF6XLF4vE0OgAaGbODYuf6ORw=; b=R4SgIILM0XtQnjTdSlG6CugDftfb7VR03eURqLI7WUtScprgLI3cnqh0yGu8Ei6Du8 0zEfj+Ib4BDboOIUC5e0JXFoEpPmhzhlmv0b6NIYAOnQZe3+YWMTscYpFoF2vj+Sgqd7 iTdNPviqOCpU+R7ftj412gh2iLhiBwtX8nRY1Lg53q2ML6uWAWyqgGcHFCfSpgZTP3HZ HW0y9kpZoerQdz1YFLIfzbLObxEWRYjQ1foxcPQNqs5E1sSlVweXbemdf2g5B75IXZGq r+TyrXJAmeKf1cJS9471f0kq4HMbDGDQ+YKpBFkRztiwgVWb5ukRaDgSoz80UruEKKlk 8nIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aQD8uGeW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l13-20020a6542cd000000b0053b8f80c63dsi10926152pgp.734.2023.06.29.05.39.57; Thu, 29 Jun 2023 05:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aQD8uGeW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231653AbjF2Mgb (ORCPT + 99 others); Thu, 29 Jun 2023 08:36:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231543AbjF2MgY (ORCPT ); Thu, 29 Jun 2023 08:36:24 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61C931719; Thu, 29 Jun 2023 05:36:23 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3141c3a7547so322438f8f.2; Thu, 29 Jun 2023 05:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688042181; x=1690634181; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=lKUH0S0w28bkNr/phN4PL7GSXdBXwOj3huBewXtJjxg=; b=aQD8uGeW4GkxU7IWOfw7meHAcgJJesTOtsGIHP1F7AASR09TA2urUiSX8KSYYpcB9j UNW02WQUi1mcuwEx0hnhXrTMgmtQadAELc6X70xng7Nrtp59jAlyh2eUI4kIQ4eaDI0i V1WSs2gaGqbFa/mAa8Dkt3fPzZZ6PXa0vIQDJPqm0txEHixwnDGtQ3YZpM1bYznjkGQo LnBZj+hxyjZzakSy8ExRiC412XKVCgyXNa92GZGVOe+J2PkCIAibIh/D9AtWpWM6JgXy kjp81eYEqKmzKlAK7l9nJNua0scmR8udqXzuevg+CzNx2es5e5EQxxp8ET7V7TaGl7zd iB5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688042181; x=1690634181; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lKUH0S0w28bkNr/phN4PL7GSXdBXwOj3huBewXtJjxg=; b=TYFZbtqP0IWyjENgPhdFzLJTWKzYk3iIbiTD9MfZGmjBZQ98WkFoOkmr+yLKmHRnQV i7h9yCzBirfWmN4mUYHxmdwStuOH7wvV8g40Ees3pt96xEDM5oe+y2OvmViYT0D64flh cmT44Ehh4swK167W6ZKyezSH5T9llQtPdkHEkKg44SVvL68vPBtT95qm+2wggw2Jj64S NTbN5hnk1IUXmZuMLJUZR+S3pRDjkfINs16AV1qXmZxZEN0qIgq37ZfzpKSBmMqrC+Y0 lqhKUWPrIRMVlVTNutaPq0t15YanOr4KNbItN4WGa5pPY2sJkhgS/JZG3r61Ao62Wx71 ehng== X-Gm-Message-State: ABy/qLYzVbpUL6KOzYIFym4+odDMSgiuWNIgZEf6IjmLFwJMrgB2AYkk oT3wUZ2L84qP1JPcyajImJg= X-Received: by 2002:adf:fd4e:0:b0:314:1318:18b7 with SMTP id h14-20020adffd4e000000b00314131818b7mr1943643wrs.19.1688042180855; Thu, 29 Jun 2023 05:36:20 -0700 (PDT) Received: from debian ([89.238.191.199]) by smtp.gmail.com with ESMTPSA id f2-20020a5d5682000000b00313ec7dd652sm12930949wrv.44.2023.06.29.05.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 05:36:20 -0700 (PDT) Date: Thu, 29 Jun 2023 14:36:02 +0200 From: Richard Gobert To: Gal Pressman Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, aleksander.lobakin@intel.com, lixiaoyan@google.com, lucien.xin@gmail.com, alexanderduyck@fb.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/1] gro: decrease size of CB Message-ID: <20230629123559.GA12573@debian> References: <20230601160924.GA9194@debian> <20230601161407.GA9253@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 01/06/2023 19:14, Richard Gobert wrote: > > The GRO control block (NAPI_GRO_CB) is currently at its maximum size. > > This commit reduces its size by putting two groups of fields that are > > used only at different times into a union. > > > > Specifically, the fields frag0 and frag0_len are the fields that make up > > the frag0 optimisation mechanism, which is used during the initial > > parsing of the SKB. > > > > The fields last and age are used after the initial parsing, while the > > SKB is stored in the GRO list, waiting for other packets to arrive. > > > > There was one location in dev_gro_receive that modified the frag0 fields > > after setting last and age. I changed this accordingly without altering > > the code behaviour. > > > > Signed-off-by: Richard Gobert > > Hello Richard, > > I believe this commit broke gro over udp tunnels. > I'm running iperf tcp traffic over geneve interfaces and the bandwidth > is pretty much zero. > > Turning off gro on the receiving side (or reverting this commit) > resolves the issue. Sorry for the late response. I am starting to look into it right now. Can you please share more details about your setup? - I'd like to see the output of these commands: ethtool -k sysctl net - The iperf command - Your network topology