From patchwork Wed May 31 14:18:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Gobert X-Patchwork-Id: 10108 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp459504rwl; Wed, 31 May 2023 07:42:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ55wml8nedsXxBQYIgaUPYtpZopdpV8OtJfd61Bp1Vd4VdjH61vIShNPjOYxzWoKhwkMnkB X-Received: by 2002:aa7:88cf:0:b0:64f:7c9d:9c01 with SMTP id k15-20020aa788cf000000b0064f7c9d9c01mr5902420pff.30.1685544122915; Wed, 31 May 2023 07:42:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685544122; cv=none; d=google.com; s=arc-20160816; b=QArnuqlSIPv8d0R0DA8ykhoNnQEKkWP1i1HuKpDqzkSK035GS0fyMOVTOjps6ub5ed hDw6KpfHJne2NyvJpH1IoIlXOxJ4ZNYDKYxMYoXgirDq6mWHxvQXr+BlXIjxvmj4heZi 07mCr0qHgvlYaUAV2GFBKT7Tg/Ac6VzhUwwE3IxyK/K0XHPSd+O4qMgPJmC68avB5bUi RiIuHa6QIycf6Vu0ilA+4MUjGOXBPPGKxnIuwdQCMVPFwjuJA6CHUDbIDs/8pD36kckh Gd3feVAS+g3KwpD3Z3Tndd3m15RUFCVHG6vR5kd0ZpvyByCosBXmWucPWaldQrS4Fp37 GxFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:to:from:date:dkim-signature; bh=uKt10d33GLS918xBYr9ig6gEIvplOafeyOdPT52Gvtw=; b=GQH4Ds6TKp3LUZZVbKFVv+LXs0FYwpcuO5clBDLHcZAgCO+y9nyguz24nLDlPPR2Wt r/HK7MQ9JVWgRomob2eL1suCYdW30drPzVoapceCvDN0loq3NMhjiX1vGbXRZBUMmUZj 3eiqS8knKqWg14/67H9Bv95TYXszwXJa7huOGLKiYCVmtJjKBYmmv3X3HTdT1AMUJtN6 ZWfXJW6+QwhyfFlYj7n6Snz1MrEMB3WGCOBCw5LvkAx59dPidCcZpzTi3qPqbtWgM3ii ZdFOrTqlI4FSyWupFa+C3QWolcbN7AIo9mgscFxdK6rEgU+28crSyighLE4PKQuPiNJc p9QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=sxE1PVz6; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a056a00004200b0064f33d8954csi3774578pfk.203.2023.05.31.07.41.48; Wed, 31 May 2023 07:42:02 -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=sxE1PVz6; 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 S237243AbjEaOU0 (ORCPT + 99 others); Wed, 31 May 2023 10:20:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237717AbjEaOUA (ORCPT ); Wed, 31 May 2023 10:20:00 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2874CE61; Wed, 31 May 2023 07:18:57 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-30ac4e7f37bso4180466f8f.2; Wed, 31 May 2023 07:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685542735; x=1688134735; h=user-agent:content-disposition:mime-version:message-id:subject:to :from:date:from:to:cc:subject:date:message-id:reply-to; bh=uKt10d33GLS918xBYr9ig6gEIvplOafeyOdPT52Gvtw=; b=sxE1PVz6gliaJYtzEHuOV9OFdJsIWQmxrcN2RzTCBl6xgBpaV+4DSBJ1Rt1GowfS5R RAUGn5w4hHgkH0CCjEqbEQklBQCpzJ9cNYNAr/YEzwJbdFLTHndGS7oHrtRD3l9aacEL 2ZgUiv7Ji+72vFINTlh8gYig5I46mK4HqA4Y+aILY/s9TNt2VWalLbiAXNF8L0LVr5oI CiYRo9XGI2otaq2KXrFSZDtFZ5IvkuHQ1XOe9+ejkraTGFX1RnjBNi3LiqOgULCBgDgW 7ZQAE2fYIE/HccGHsns7jH7dN/QbmC+WaOcHTTaATEOEGvVI1iUuO77JoBd2/4fllD9/ royA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685542735; x=1688134735; h=user-agent:content-disposition:mime-version:message-id:subject:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uKt10d33GLS918xBYr9ig6gEIvplOafeyOdPT52Gvtw=; b=V2OKj4gSSiKVDYsiLUUsGQr++uraWVsbiGEt1mFU/+qVGQX9w7AjhQCjFGy5j+wqUw /NI9w1SFb/OlZzVN6HwdteRmoHUJD/+owjsu4sZB7MvxMLQ8FBMYPIHqVWyERbS89DSg +bmUPxqWkLBWBvLruYvB1ya2wuOM0/QL+vaAmlegJ0UEFRUDCTL9iy6oHGIRQxyASA/2 SiW9UVfmO0SbE/oWBA4ickDiay2soJPf2h0ne6hr6Yk0srub0bdtYGf8aRsn8MwXB+gc b6FExyvKamPzJl5+AIONUBrLQBvtUtWGHQYO1xNomlDBm0Lt0tHfzUsZAPXWASKoYe91 Qe2Q== X-Gm-Message-State: AC+VfDwYWelu8efXmTGn5YtG9t7M13vCjUSm7hhr1dtwnzePARXvV5fc T77RcIY8ARMDq2UCjr+/FN0= X-Received: by 2002:adf:e6cd:0:b0:2cb:2775:6e6 with SMTP id y13-20020adfe6cd000000b002cb277506e6mr4179103wrm.45.1685542735351; Wed, 31 May 2023 07:18:55 -0700 (PDT) Received: from debian ([89.238.191.199]) by smtp.gmail.com with ESMTPSA id k16-20020a5d66d0000000b0030ae6432504sm6940337wrw.38.2023.05.31.07.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 07:18:54 -0700 (PDT) Date: Wed, 31 May 2023 16:18:36 +0200 From: Richard Gobert To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, lixiaoyan@google.com, alexanderduyck@fb.com, lucien.xin@gmail.com, linyunsheng@huawei.com, richardbgobert@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/1] gro: decrease size of CB Message-ID: <20230531141825.GA8095@debian> MIME-Version: 1.0 Content-Disposition: inline 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767421114281709511?= X-GMAIL-MSGID: =?utf-8?q?1767421114281709511?= This patch frees up space in the GRO CB, which is currently at its maximum size. This patch was submitted and reviewed previously in a patch series, but is now reposted as a standalone patch, as suggested by Paolo. (https://lore.kernel.org/netdev/889f2dc5e646992033e0d9b0951d5a42f1907e07.camel@redhat.com/) Changelog: v1 -> v2: * remove inline keyword Richard Gobert (1): gro: decrease size of CB include/net/gro.h | 26 ++++++++++++++++---------- net/core/gro.c | 18 +++++++++++------- 2 files changed, 27 insertions(+), 17 deletions(-)