From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (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 E21CD1DDC34 for ; Tue, 18 Feb 2025 20:39:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739911195; cv=none; b=dMYqwpvslEdWtVwhxK1eoxg+nwhrtNkDiNRXLfqNPS2WSwKL8dZ0YONVbGgqFJrdpXyxZBrrKqUnWvcCTMwYwbGRGeYeyzUv3al5Kk2xIjkIgNVxVC7oW6wier+MOdbNCPKzqGp73YLJisYVQGgZWE7gNb9KL5FdG6aW6fFcUKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739911195; c=relaxed/simple; bh=7rWpVGk9+3bdZU5vcmZmy7BQEclObTPaZOX1MwmNQfc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MoCki8wKPhm/+yRsjZF0QBXc54jUgPf3p4mIVx1pRFKLih6fUKJaXS1CbAV2avycIv4PJZRzdf2kjlNRvQW3EK0NpVzEDE8gJ+mInNkXl0hBFpT74ZGu2zZFQNXfBz14qRYFn7As2zJs7Qjo3oAcvrtD+27kXyA9Lss4kt/UVkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=tcCAXXON; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="tcCAXXON" Message-ID: <0462df14-0aaa-4861-a0a4-dade4cfa727e@linux.dev> 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= Date: Tue, 18 Feb 2025 21:39:44 +0100 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH ipsec-next 3/5] xfrm: rely on XFRM offload 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 在 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