Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1228286lqm; Thu, 2 May 2024 08:35:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTS7HesiKVZd6xcz/H4g4yr0EkCRNb4607PWi/o+e09j4hqtMOixbHIOQttA9yiKZqyEe4PIYtXo/7i23i/MYO9Ffsp+GcUuP6boMJtA== X-Google-Smtp-Source: AGHT+IHcIgp1PZfKTvrhyIH4mQjtkPLu+mPrIwlJRqHkmvKqRqJhxx2CHRly3jt3GEAZbVvwyCmy X-Received: by 2002:a05:6a00:10c7:b0:6f3:e9fc:bc2c with SMTP id d7-20020a056a0010c700b006f3e9fcbc2cmr6777604pfu.11.1714664130190; Thu, 02 May 2024 08:35:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714664130; cv=pass; d=google.com; s=arc-20160816; b=o1waGMMwbEiu/a8uGhSz8hm1zYaNmMn7J7GeZAMHIlOY8jgsTGhIsf5dr5eIb6bx1l /WZ7W8eDBD9yA+kR6D8MdnNWIBO9cZ5car/xSrDfnK46dy39FT6tuUOyeTxbHFkKw8HH LxCILRBC/h9cYk3L7N2ahwt/zsf6r5ALwPfCQDbFLzjm/tePJdfzLnLJGLMu3+arKOxC vEYmjXzz68lhAfkF3iIAi0WRlMQEQ6XkcKv0QOeP5PKIka3+xvJe/QkYYa1iXObPkG1k WfXzB/6YcvAeuH/678s1WZ+42bfTh3b8KBwVqC/VXdyqa41NO9cdLPFCR0q+UUPwYNwS DICA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=rIdpRBsMr2HXLhOzwTzRsnvPCPX1TbKvfsCecOq/Pok=; fh=fVyg/8A8yToMl5etEkQs93jOfj3BNO35vEv4qAnmMB8=; b=RvIAFrXcwYl3w4/Yb/GHveMu/cT7HhTkF1IducG7XJnc83w1SFga4LNjSdPe/SV3Uh SF0SZYwyg2RpMUDDJYGr2HLm0ZW8QVfADLDFeIw7/uyYcNH2aSQhg4DGY0iyaR+atYPF AIVb9mGoAs4QFjw0V128Ew0lhb2sBtW173+MJgc0lZFGHdDISh64Rn/DnDpDJWItFhGT SNbUbLZ2HlK2ohy4QJAkACldQo72YAebxVlH4pPcoBwliBewaFgyboB5rRvPFhenWd00 4ont0chghH8pNXwecvcB/j0WzG3QbvZ8uESCcxw/XKvRBdAEIdKUFcxSbmPa6j7CmYLN JxyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="R/sDTOpW"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ko6-20020a056a00460600b006f3eca5bf33si1283542pfb.99.2024.05.02.08.35.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 08:35:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="R/sDTOpW"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 323132825DB for ; Thu, 2 May 2024 15:33:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A925515E217; Thu, 2 May 2024 15:32:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R/sDTOpW" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF87515B578; Thu, 2 May 2024 15:32:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714663976; cv=none; b=ejW9wDghCKwx4M+o3OwzCDSYK1OyAVJU03YTrjle5CIMWmuRmBwj/tVbeFaIfBIxEgIBYOjxSSWXr9oiGQtg0vEtaJvdm28wF9FKt3KRgeggNfoKfzxqZdeJ7CmpDAot8uqNNU82aRcSOEIdzGU8xaiM2ujwUN0JSIPtKeWtcnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714663976; c=relaxed/simple; bh=fDqnVxGodJqzUEp4Z+La2f6PfFMp+/vl3kBOgroRkPc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Kai/NGZCO5w168CpRfIvku3v06Jospa2rpVbtVB82XumiGwJbJ4c1tT2RS4l6hFGVP02vL56BXi1FL/2qDp6KEhvPk6HYPSVbh/q6EIyLawIvVzfoUufBOsvDqgqGODGCQkpMSUcHv6l0agOccZnZQM90t0s4TJHbwQvEE+xt2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R/sDTOpW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAEE7C32789; Thu, 2 May 2024 15:32:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714663976; bh=fDqnVxGodJqzUEp4Z+La2f6PfFMp+/vl3kBOgroRkPc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=R/sDTOpW4FXuZkaqrmfShZy0FT+c3ZXt92OttendTIuKGlvM7CmZI0s05syV38qXx 6ePCc6oz4IFvjlYoNXU8WKL6F96jPTCuCLk4kBcyWPNlEHyZxWHyi+h3uO4SPRY/xB avIhjBzbU18FQh21V3n0SlY95HT9wp+R0VkXNjbJ94kK5SJwHaZy4eY8E2esrLOuFl VY9oE+krsAUolzETEWXZ+jgN+2gTyDmD0JncEXT8gVFc/JKd7LLS6vTwAL1aEcmK8y A02uk7Jf2TKVzbuOpFlkzQlEBS72kGnSNS1vuwKbzyi/NNDMp4q3T6GDvV/V4VE1B8 z8aduofQBkHdA== Message-ID: <544298db-3772-4064-a012-9d7ba8867cf3@kernel.org> Date: Thu, 2 May 2024 09:32:55 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 net-next v5 4/6] net: create tcp_gro_lookup helper function Content-Language: en-US To: Felix Fietkau , netdev@vger.kernel.org, Eric Dumazet , "David S. Miller" , Jakub Kicinski , Paolo Abeni Cc: willemdebruijn.kernel@gmail.com, linux-kernel@vger.kernel.org References: <20240502084450.44009-1-nbd@nbd.name> <20240502084450.44009-5-nbd@nbd.name> From: David Ahern In-Reply-To: <20240502084450.44009-5-nbd@nbd.name> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/2/24 2:44 AM, Felix Fietkau wrote: > This pulls the flow port matching out of tcp_gro_receive, so that it can be > reused for the next change, which adds the TCP fraglist GRO heuristic. > > Acked-by: Paolo Abeni > Reviewed-by: Eric Dumazet > Signed-off-by: Felix Fietkau > --- > include/net/tcp.h | 1 + > net/ipv4/tcp_offload.c | 41 +++++++++++++++++++++++++---------------- > 2 files changed, 26 insertions(+), 16 deletions(-) > Reviewed-by: David Ahern