Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1227362lqm; Thu, 2 May 2024 08:33:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYI2NsbKPwnSWyZDjB9EWSq67+4GwVDrqlihIMLBxNeFUF++JfpuA/QrFAXfs27F53yE00U+I+KZRIbTkRruLtNxPWQ2K/Io/4Fw1dHw== X-Google-Smtp-Source: AGHT+IHe0JEOMdycjmfv3B+BGjeh413wCXGn4HxfXVzoCfhdVpusInbEsZgf0dtAHhAzq+gZfG49 X-Received: by 2002:a17:906:5cd:b0:a58:aaa6:8653 with SMTP id t13-20020a17090605cd00b00a58aaa68653mr4004728ejt.16.1714664037147; Thu, 02 May 2024 08:33:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714664037; cv=pass; d=google.com; s=arc-20160816; b=NokXeGwbmVzm7XAOYKuBFHGmmQEp2/3yOfmsQ2zIdTuLgcmTmxcKbZ4XJ6K5eE8hOF YogT3RGRbdAeNXxT0pCSfXZ+dXE6+zH3dCakCFgOCLbt3TPnfuf2whXnM9nSJeVr4Xc+ 88S8IiBjYsSOQGBZ4NuXO5Mo4uzqubZckkd62SHhp2EZyKydW+x7b30/MbXiVLsxUgcf 0OvqTgJRwDUVUo4V/CIMMIuVJ0Sz5x80bNgJh9m4WMkToGEy/qotofJLBLYrabYpgVgr 1fTxNabILzCI7dO46vahu2x1fSTPOoCuqkHWIqUJremKABT/vYN24M/IXJToer/FO6MB 3kNQ== 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=F6BEhPVoas5Id4jf5Eci8z5YKnPSr0qoVpWU96WRdiA=; fh=fVyg/8A8yToMl5etEkQs93jOfj3BNO35vEv4qAnmMB8=; b=RT3JlVqI/LMVxr2Be1u+1j0rD51t/59RUvZ+csIWJNQiv+UxHEDNUifq74O21/2141 5e7G1IIUrgL02YBUbAvqPXnuIfEG1BkyNBQo0hQZ2MAEWnIcmk9yho0yu9fE41k+zpCr p/8w5/jsMXYzKO78A8a+geZt0CqOVPeT4Zz1tkRAZXUhr9B1AByapLwvxzEs4p9eY4RN ELPufU1sAjhKKPRWyd8LtBzoI+rQuy8JBfvd+ra7/f86YV37zCYTdAcC0vT1Fahq+nVG XbnACCgoome9XlaujghaPM4loRWXQu3LWyxiMFZBTxSxb+AOxW/Frdp3d7bGqqTsijRv 6UHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uDRqRR3g; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166648-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h12-20020a170906718c00b00a58879050cdsi575627ejk.830.2024.05.02.08.33.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 08:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uDRqRR3g; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166648-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 am.mirrors.kernel.org (Postfix) with ESMTPS id DB6961F21E35 for ; Thu, 2 May 2024 15:33:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B61D15E5DD; Thu, 2 May 2024 15:33:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uDRqRR3g" 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 8E29160BB6; Thu, 2 May 2024 15:33:03 +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=1714663983; cv=none; b=IrM5qH0FTWMAnRWS3rguLAxFpfcBIihOX8b8tZko93yM4Vt7eVm1gZBe3rJg+loSwlFIRL1cOjTq7LDXuYCMjdX3+cNV/bSdaDNQNm0F3zKCI1vPP5PCMAc/sFL2OzsiKQRNNB4Z9TWnSyRpNLr9/0SaXxE2RSeCfkkYEKAnZnk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714663983; c=relaxed/simple; bh=SvNzYWg3OB5ebgmGMgm2DEaegoTfAOnWVlSvK2s21aI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GoKAuZyb5/Y9479xnYNQMbD2SMhbv2bjd1WvcYOEvybR1Ml71jej8JOibJsE+Ybr43Egquhu32BsaKCkDrnPu3dmGCImJ9LumpDO6nG2lR/m6JZPGTUbPnYI+w3ouLUQtRTzlPMr+gp925HwYis48axzz5tDxHATku2YxsmEWqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uDRqRR3g; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1AA5C4AF1A; Thu, 2 May 2024 15:33:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714663983; bh=SvNzYWg3OB5ebgmGMgm2DEaegoTfAOnWVlSvK2s21aI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=uDRqRR3gScKRxMoDcvr+YmMF/0orUpek1P1sqT8dVA0QGY4/18k6gqz1X/vQdx0aa aMRLLPllAC0dwX+7gcACn7qzZ5OBbd93874vqvcNcF0a3hB7Ocgup0+i+mLzG1mDIL +cSX3zVvIuEZcFCXniViMMi6REpEQod5s46EwOL5o8WOAj/OQph/sP/VnAWLDPmHw8 +oE1BUyRsUFohDnBIj6q53Ivi8Y921blydky3K1ZzspN77S5QzSw9OaOrtAgi1EsxS 7URymTtCk+23TzT5ZVW5FPZlNdVGWik4BeWGTH6p/IbfewSXNPQGAStj+16K7juJmO Pc/PN1QzcYePQ== Message-ID: <73950ad5-c93d-4f0f-8055-91d483fe5894@kernel.org> Date: Thu, 2 May 2024 09:33:02 -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 5/6] net: create tcp_gro_header_pull 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-6-nbd@nbd.name> From: David Ahern In-Reply-To: <20240502084450.44009-6-nbd@nbd.name> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/2/24 2:44 AM, Felix Fietkau wrote: > Pull the code out of tcp_gro_receive in order to access the tcp header > from tcp4/6_gro_receive. > > Acked-by: Paolo Abeni > Reviewed-by: Eric Dumazet > Signed-off-by: Felix Fietkau > --- > include/net/tcp.h | 4 ++- > net/ipv4/tcp_offload.c | 55 +++++++++++++++++++++++++--------------- > net/ipv6/tcpv6_offload.c | 18 +++++++++---- > 3 files changed, 50 insertions(+), 27 deletions(-) > Reviewed-by: David Ahern