From patchwork Thu Jun 1 16:09:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Gobert X-Patchwork-Id: 10177 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp467274vqr; Thu, 1 Jun 2023 09:43:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4FDMz1lD5bbP9m7rIswWEaSJhZZFQ3ZEP8MHOjDK9xJMM2uJMN0owSrBozp/ZcCbcnGNdm X-Received: by 2002:a17:902:d489:b0:1ae:9105:10a5 with SMTP id c9-20020a170902d48900b001ae910510a5mr3121057plg.2.1685637834277; Thu, 01 Jun 2023 09:43:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685637834; cv=none; d=google.com; s=arc-20160816; b=WwGkzpFst7zvkVjFeyFfvb9F9gTajm9KwoMs0AqvTctiL3P0bkAIXy8A0wn0E/83iX 1WilGGxbyiIYpZ58StUi8Hpq0N2TH/dCTKJSlic0/qEtLJp6Aeg/8k/UESfOKJd1MZ9/ XQbDl+yAqBA7N/OLPDmoZt9+wrbU6O6SGOmfhxTp9O3qHdCtd5nqJnRdzLrak0TpdRy1 kjmhg7DqIEoqMqkTnKONP5vzR3rby6UZSjtyRXo0wE6753HylCgAdVPhYBPFDi0e5vRT 44loH4kBY6Pzkp6JJPm+yVE74/Kd055R2am0GfP3pNpbNHDOTRrZz0kWISullXPRhN9/ iCdw== 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=SJy1XLQe0f69VJ3NGViu08fY1j4ecaxgtIAG9URJ/Bs=; b=QrsNt+NZuAI0FMgnE+GtGUA+lmRHNVj15JAoPqJ37TkimmWEuPHJilEliHRGhnvXod 5v9qGTFzp22J7AEBddA7WtluK4xqsZEdOvV2TIEItPZX0MERI/QtUhX88FRZxDimpc35 UdSMiWvPcffW4pe5ZaXqy1xU1lGWXbe6cQo4T7O4yH7qh6RSLu6TFl2yIaoSqQCu3Jo6 CIZI5JCGUbPjfakB80scGMREghXqDlgIr7k4ojpTiqMrUsJ2YpgaaYN4x2c8wwapaUk0 RkQWuEvr+HkUeh6KihhZCcgj41ftRcN1sJ9vD7H9cq4y+0ZbY3E8Gj3hUemM2ZnkXHqA 6U1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VJFxoPl1; 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 jc9-20020a17090325c900b0019a96849d6dsi2863450plb.605.2023.06.01.09.43.41; Thu, 01 Jun 2023 09:43:54 -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=VJFxoPl1; 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 S234730AbjFAQJy (ORCPT + 99 others); Thu, 1 Jun 2023 12:09:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234817AbjFAQJv (ORCPT ); Thu, 1 Jun 2023 12:09:51 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47080E4; Thu, 1 Jun 2023 09:09:47 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3f623adec61so11094275e9.0; Thu, 01 Jun 2023 09:09:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685635785; x=1688227785; h=user-agent:content-disposition:mime-version:message-id:subject:to :from:date:from:to:cc:subject:date:message-id:reply-to; bh=SJy1XLQe0f69VJ3NGViu08fY1j4ecaxgtIAG9URJ/Bs=; b=VJFxoPl1CmAbELXfEoG8logTM8qe6JOzO30zfRdxMxiWz+idH3tnTWGnBTUDjgOaz0 EdOeANV7bwV+TxZfQzTmV3YjVnhhLjZHYE4lznnExAPdkqmZXXOGdrLHvfc9hnXtLby2 665jwMes+2yKtUxBfXyPl9lWoZt2szSkDtaOduns4p10VsnsKZBs7p7G+g2uxDkZcSar iqIh7gl+zSrKjeYzpeNx9sB/xM/Todela/FZge+RhOXsFE6p4t7yoyhd8Dk3NcEHt9Kp Urp3Kk951wBS4tvhNoNhUsN36+HGP/VgT7+fMmGHhzLRmJs3n6wzhko4pqsInYkuqF22 I7wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685635785; x=1688227785; 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=SJy1XLQe0f69VJ3NGViu08fY1j4ecaxgtIAG9URJ/Bs=; b=f2/m/ODXbe9Ev7T/tyRKe8TPHyh/Tl18rF0eSdFDF47NYXuG+q/jfWIYdh7hcqk/hi zVSY63Zgge7zekRGEPuTfcReM+wRcmTLp9Pa7RE4GkkVY1b3edvg5kbVenZi8WR/unxn y4XmnymUM9O1F8i+DpOLETTF4R8SWxbz1EBbYOhRsa7VYtmX3tlMgV3866rJYJiIIg9k tb1UYiCPECGXpAe5Epl2rq/ayEG5kSpkz59oSdVzsA/BVlGo497XZG19z0jiZtdcLOjZ 7RzZsah+ECgbC3DidTIUb4sIUq1ccTWG1GESlBIrT0dTPQPaCh8s0ZbpzWxI8/F7BnAV HA1g== X-Gm-Message-State: AC+VfDzfyzjOCopQTjoONxGucpVl3mzCub8F7ATEircg5ozwEjFDCiYG 9eD3kIKbz8qnf0zFLVAmQ28= X-Received: by 2002:a1c:721a:0:b0:3f4:f0c2:143 with SMTP id n26-20020a1c721a000000b003f4f0c20143mr1932245wmc.20.1685635785560; Thu, 01 Jun 2023 09:09:45 -0700 (PDT) Received: from debian ([89.238.191.199]) by smtp.gmail.com with ESMTPSA id l18-20020a05600c1d1200b003f61177faffsm9550124wms.0.2023.06.01.09.09.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 09:09:45 -0700 (PDT) Date: Thu, 1 Jun 2023 18:09:28 +0200 From: Richard Gobert To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, aleksander.lobakin@intel.com, lixiaoyan@google.com, lucien.xin@gmail.com, richardbgobert@gmail.com, alexanderduyck@fb.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/1] gro: decrease size of CB Message-ID: <20230601160924.GA9194@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?1767518473267683196?= X-GMAIL-MSGID: =?utf-8?q?1767519378030499151?= 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: v2 -> v3: * add comment v1 -> v2: * remove inline keyword Richard Gobert (1): gro: decrease size of CB include/net/gro.h | 26 ++++++++++++++++---------- net/core/gro.c | 19 ++++++++++++------- 2 files changed, 28 insertions(+), 17 deletions(-)