Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6642078rdb; Tue, 2 Jan 2024 08:23:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIlGtHtI6aX5c/6wKIWeY+S+FEMThPFjT6qX68NcE6ITILD31V2amGsygqJR3KtadjEuSP X-Received: by 2002:a05:6a00:3920:b0:6da:147d:dfe8 with SMTP id fh32-20020a056a00392000b006da147ddfe8mr4385600pfb.1.1704212588692; Tue, 02 Jan 2024 08:23:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704212588; cv=none; d=google.com; s=arc-20160816; b=pnNF0T0Wl3XLttZAH7fwgbsluJTcpI+giWFvmxb+JJJI2pYVzmHNS2zEvYAX2utokt n34Db+dqWoa+ylHyBsKwxKb6M8X4FSQWf7FIyIIhtJjLrmjIBY2yNDngKDl0hGjRLo04 xvSpTya7t9hgaxBvSWQuz0O7B2Et/+R3y2qMg+wVPMMj+6pizvX3t95JrNtFbdDpY6C9 0UNkabYC5XnuAWP+qqMxzzgjvcM08gAYmbEs5eCbBucjeAQK25M1UjerxLTfweC3wvRT /4ERnBRI8SBOyGfVDK4RywtQE4VHkSL7LeTlon5c7xS+BkPYDlMOfCfc14q8lsPACL97 IeEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ZHDDpte4jhaznzjsCjp5r8Eg2Yn2+BY2Q4XUrnjN6hs=; fh=2Zz+4HxEWsnsxbW73Nil5y0b15qq35vXQs2uo3sXVZY=; b=fsaOdR+azS7ip4vcPOwWnJm+ENl9UdDCh8Jg0KTcoFcczBYju3AneWEs0Kc5gTk2Ty LoC2BIZpkuvzYTGKMbu/Z+FZbL3ZGHnFwU5u7wS67HFt8ptctX937IUWAquk2tNxeoCW JkuhQtcobur2ZHUFm7pQ5CWkBQcr35Nw3ZLQ8R3ldiupLv6h3sNUJyaoK9FfCZGsnA0C lrFLJxT5uDhpngItLAIhIU5vLteWQTxz7jeoYiaHEGD653YZ8088KrHLsrIgSqGhlfcv FV2GYJS0P7a/8lRvxOEEmRaX7W/ixQV8mJfwvLvR5/YcBQkQGQk9XIjbVAUOyJfWIBis pmNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PARIRRPY; spf=pass (google.com: domain of linux-kernel+bounces-14597-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14597-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bz11-20020a056a02060b00b005ce19c6867bsi10492471pgb.507.2024.01.02.08.23.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 08:23:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14597-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PARIRRPY; spf=pass (google.com: domain of linux-kernel+bounces-14597-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14597-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AA6CDB2211D for ; Tue, 2 Jan 2024 16:23:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B3D214F86; Tue, 2 Jan 2024 16:22:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PARIRRPY" X-Original-To: linux-kernel@vger.kernel.org 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 4833714F62; Tue, 2 Jan 2024 16:22:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 653D0C433C8; Tue, 2 Jan 2024 16:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704212575; bh=gG7U8wfsqJspOQsKTYrud7yfex3Z8KKl5bsvmNjAg0w=; h=Date:Subject:To:References:From:In-Reply-To:From; b=PARIRRPYBxRfsOodJa3PH1YXUIuLMRrPsjXTikeMyJ0DLVSwjopF0hjV+YMdtszYO iErETpkXzoCX4spRW5BL/2unwgX1hi8Lv1GsqE3p+gGZJsZPMEhHdYBMQYfhHMu5gG g/Gp0+nyWsuVHCt7CtlScl1xFDOapMRbEGOOaXJkUruDqbUvQuTOPozIgSuZbYI+K5 27wu7pcf2RygN9MfsIS7Ybx+G/mqk/3R4vyuC6lhF8994V0u+OuMnBhz3UaIPRoC8n n6m5Ar0Z8BHISdSbytdNNgCZiWwiQGIv0NZQ+BqOju50Ym73aMXuqmZHPakfgKFwv5 UCa3XlgcXjbdA== Message-ID: Date: Tue, 2 Jan 2024 09:22:54 -0700 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 net-next v2 1/3] net: gso: add HBH extension header offload support Content-Language: en-US To: Richard Gobert , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, shuah@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <127b8199-1cd4-42d7-9b2b-875abaad93fe@gmail.com> <27d4cc21-1ce5-4417-bd0c-6dd43a92e4aa@gmail.com> From: David Ahern In-Reply-To: <27d4cc21-1ce5-4417-bd0c-6dd43a92e4aa@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/2/24 6:20 AM, Richard Gobert wrote: > This commit adds net_offload to IPv6 Hop-by-Hop extension headers (as it > is done for routing and dstopts) since it is supported in GSO and GRO. > This allows to remove specific HBH conditionals in GSO and GRO when > pulling and parsing an incoming packet. > > Signed-off-by: Richard Gobert > Reviewed-by: Willem de Bruijn > --- > net/ipv6/exthdrs_offload.c | 11 +++++++++++ > net/ipv6/ip6_offload.c | 25 +++++++++++-------------- > 2 files changed, 22 insertions(+), 14 deletions(-) > Reviewed-by: David Ahern