Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8763990rwb; Thu, 24 Nov 2022 04:06:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf4jGFJf8LZh6qvJLFj6VOwMu4d5O9qHENk5KV7zdZLsJdV7Pm5f3xJbAUKiMLexP0Qy7OOy X-Received: by 2002:a05:6402:2992:b0:460:12ef:cc45 with SMTP id eq18-20020a056402299200b0046012efcc45mr29629720edb.249.1669291587073; Thu, 24 Nov 2022 04:06:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669291587; cv=none; d=google.com; s=arc-20160816; b=q2Q8iwefZB32NBKZdj7IAK4PStmPpTFV7sG3OJoP2QH7AO0xEbFaXUiF8Y6HAAqdu8 d8ERHGN64i3t6lwIIMKVZC3jyjxb4G0B+gpIPmfYLiIvrYR/M2c+2NB6sL6td1qd8UQu D97VnDfYs2wx6oKmNXOqg9x0woCwOX778Zs+Xg2rF7cLmBh+e9cTcUcwJrVN0jKptPuz yewXJRigOcpddXCP+oSIYZ7YfuwbgqbHG4uOBhq7v2UdA4sF+FdSjGzB7qIpykJdgna6 HgPeCxqIuqR5foGzVyPdw8ifAG2cW01ALp9yQ4kcnYGTF5tH7T0ufeh/10N1fEtiJHFy CZAA== 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=rjp+fW1bIQwING6AJlrFaM4AzfZM4MmHMV52VaJCTow=; b=hZUKLvtyy+vonWi8RkT8KQ/oi02zncFbUnMGWL1R4YWVyKqoHCYig3Ie8Itfzrdz8Y 3IJW7Ry8A9PbUiPJbmaE/L2eyUCb/b0tVtf9xLUNBmqHiuKuTQ9ltle3xPF7bM4FHTCZ DslCW2Za1fnGkjNZjnzrDfwhXYVk0nXqdXawvI1CT8SCsA8QkC0Eb6b00dbs7h9e8buC 69A05YbOlQjsKXBoIvQTKqhB6sT+GZYUrAAf8/cP6Fdrjj8B11OftxLUrUC/k6zsKE4l 4pcqXWMPSbTnKNLaZ4nRjhmYfY9JbGFtzBUIf+wnBIxXIn05dmlldO53lef8lG9aZ363 pO2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mYp0E98D; 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 qb37-20020a1709077ea500b007a7fc67c880si789278ejc.71.2022.11.24.04.06.05; Thu, 24 Nov 2022 04:06:27 -0800 (PST) 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=20210112 header.b=mYp0E98D; 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 S229817AbiKXLws (ORCPT + 86 others); Thu, 24 Nov 2022 06:52:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbiKXLwr (ORCPT ); Thu, 24 Nov 2022 06:52:47 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C89D5C778; Thu, 24 Nov 2022 03:52:45 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id r9-20020a1c4409000000b003d02dd48c45so3426603wma.0; Thu, 24 Nov 2022 03:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:content-disposition:mime-version:message-id:subject:to :from:date:from:to:cc:subject:date:message-id:reply-to; bh=rjp+fW1bIQwING6AJlrFaM4AzfZM4MmHMV52VaJCTow=; b=mYp0E98DM64doiO3NHxbAr0gXGaqZqgFBVnA5H1oiRykusbvnaI7OT1XQpsMyuWu0y Rq0ydBmR938KEBoNjYupdZ4McPJpMs8HER0HiHHy8lKkvrIS19o8ttFRb1cJ4l8ZDsWp 6EFTgFc0hBFe700OEuIHBR4C4U36I6N8pajD6qVWRVZwrMw9lnPjMFORSgTmpKSWAunl CQDXKsrbn1lYumgrOhe3Xt41ZvTlZ4rp7Uqt+vH6iolE8qYnb7NFikOkL/aSU89rDG76 Xganf43juGXRyUtaSIUQULTxzLKDNl51qEews99SY9wrnQKlAbvRUJqOfY5R+zwQRT// KsrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=rjp+fW1bIQwING6AJlrFaM4AzfZM4MmHMV52VaJCTow=; b=ySRxT+nebS7XjwriVzGJQMvHBejUcu1LCD1IcjVP36ZEn612bGLNzl9WekNT/PFM02 xpiKk073BcvNk6J6I66OjLWLZ371RtoAMd8JZ04xoTkQzDFyjFCb96i7nsMHU/qk8gbk lFV4x89zHI+IvPK3ShVdWE31VHpChfs3pBwepMI9bgIlUWlf/pgKOBoSbVj52Tb6M1ev ZbrrKfEH8ggCigAwdrsD7oA6eE5PfmdT1bOmQOrQx5nqHxd1jXnN07CN0MHF3Dm6dMGn 7sBbmqp5poC9juVoZgF6cD9BIz4UFPxoEnmL79TFZRetitzZTBYWQZDBOhzb5OnmJpOB VZSA== X-Gm-Message-State: ANoB5pk0g3zfH+a4gYvOnFrh2KgbfFO4WTMT1OCdJHU/1Stx1O2Wq9vv BoXOdpKKXq9A91RRbTpaffM= X-Received: by 2002:a05:600c:a41:b0:3cf:895a:b22b with SMTP id c1-20020a05600c0a4100b003cf895ab22bmr10659070wmq.81.1669290764427; Thu, 24 Nov 2022 03:52:44 -0800 (PST) Received: from debian ([89.238.191.199]) by smtp.gmail.com with ESMTPSA id n12-20020a05600c3b8c00b003cfbbd54178sm12918700wms.2.2022.11.24.03.52.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 03:52:43 -0800 (PST) Date: Thu, 24 Nov 2022 12:52:09 +0100 From: Richard Gobert To: edumazet@google.com, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/2] gro: simplify tcp_gro_receive Message-ID: <20221124115143.GA73639@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 This patch series attempts to make tcp_gro_receive more readable, and easier to understand. The first patch also removes a few unnecessary runtime checks. Richard Gobert (2): gro: simplify flush logic gro: change confusing use of flush variable net/ipv4/tcp_offload.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) -- 2.36.1