From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C475BC021AF for ; Tue, 18 Feb 2025 20:47:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 73E7B81456; Tue, 18 Feb 2025 20:47:47 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id fWyxQ3CFR_GC; Tue, 18 Feb 2025 20:47:47 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org D742E81CBA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1739911666; bh=jpY7Wp9A5OrP01XjYb8sMlnmyc1nWglgkRg0g+3xUdg=; h=Date:To:Cc:References:From:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=n/Ss6/qNZNAUkA0BLBmiEa3w2VP2V/kG1OikGsfykDXs7i3fSFyI8Y09/lSvdfSbW gfHaYYrPMAkUVVsMrCmi9oOraeOFF1gqONhk6zdMHdzwjl2yrkqLFQKcDhRGDnZyvG 4ZIfcJLmyW/25jhQpqkOLUhwhY7f4HK4TinrxgLYvl4yk+2E0TY+PKSdtAFMR5iq81 KcnMt+pTSajQBogJ3pwy9VZsbtanlskp3Osn+IcMxfkSXMomcxqqJma78H/oyvS92U rJdwMnET6ferhGgI08L5CO+coZCcJBVTwKSM8GZ20md5htQC2w4AdXUPPmCyjJZhcM 6NCQ1Nd+xS3yw== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id D742E81CBA; Tue, 18 Feb 2025 20:47:46 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 53C43968 for ; Tue, 18 Feb 2025 20:47:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 40D2840418 for ; Tue, 18 Feb 2025 20:47:45 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id AoP9wdg9F-dC for ; Tue, 18 Feb 2025 20:47:44 +0000 (UTC) X-Greylist: delayed 469 seconds by postgrey-1.37 at util1.osuosl.org; Tue, 18 Feb 2025 20:47:42 UTC DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org F229840002 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org F229840002 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=91.218.175.176; helo=out-176.mta0.migadu.com; envelope-from=yanjun.zhu@linux.dev; receiver= Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) by smtp2.osuosl.org (Postfix) with ESMTPS id F229840002 for ; Tue, 18 Feb 2025 20:47:42 +0000 (UTC) Message-ID: <0462df14-0aaa-4861-a0a4-dade4cfa727e@linux.dev> Date: Tue, 18 Feb 2025 21:39:44 +0100 MIME-Version: 1.0 To: Leon Romanovsky , Steffen Klassert Cc: Leon Romanovsky , Andrew Lunn , Ayush Sawal , Bharat Bhushan , Eric Dumazet , Geetha sowjanya , hariprasad , Herbert Xu , intel-wired-lan@lists.osuosl.org, Jakub Kicinski , Jay Vosburgh , Jonathan Corbet , linux-doc@vger.kernel.org, linux-rdma@vger.kernel.org, Louis Peens , netdev@vger.kernel.org, oss-drivers@corigine.com, Paolo Abeni , Potnuri Bharat Teja , Przemek Kitszel , Saeed Mahameed , Subbaraya Sundeep , Sunil Goutham , Tariq Toukan , Tony Nguyen , Ilia Lin References: <3de0445fa7bf53af388bb8d05faf60e3deb81dc2.1738778580.git.leon@kernel.org> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: <3de0445fa7bf53af388bb8d05faf60e3deb81dc2.1738778580.git.leon@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1739911190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jpY7Wp9A5OrP01XjYb8sMlnmyc1nWglgkRg0g+3xUdg=; b=tcCAXXONjDT/OngPf2x8vKJiHrWMIUrrugxnILHDOpCXRYu3MBoazO82ZM7VSPkuczGLWw 1KZasNRLocM8fP8QV99JR7+aRscLdZIenUpkrd9/lva1TkO4U0TnNW6Tw38WI5yUEZArgS ayvN642CY1KMmwMmNZSdemceCsQGgaY= X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=linux.dev X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=tcCAXXON Subject: Re: [Intel-wired-lan] [PATCH ipsec-next 3/5] xfrm: rely on XFRM offload X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" 在 2025/2/5 19:20, Leon Romanovsky 写道: > From: Leon Romanovsky > > After change of initialization of x->type_offload pointer to be valid > only for offloaded SAs. There is no need to rely both on x->type_offload ^^^^^^^^ rely on both ?? Thanks a lot. Reviewed-by: Zhu Yanjun Zhu Yanjun > and x->xso.type to determine if SA is offloaded or not. > > Signed-off-by: Leon Romanovsky