From mboxrd@z Thu Jan 1 00:00:00 1970 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 E75A8524F for ; Sat, 31 Aug 2024 17:39:38 +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=1725125979; cv=none; b=TDVHNPa3UBCWdeFGG0LVURG6M8BW0iL9wzXIhYLHiaVpi8vbR5mWi8HTUrrjEHafsltlgsXJTRDsFMn5HbKG+1bpikc8v1xWDd6EwPMqXXVSkOuavW3Z/dcShzHwJx0746+iyztpuT4mxth4shclOtKPdvMJk7FGqagqgIuhSUg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725125979; c=relaxed/simple; bh=6SMAQxAGQuRTpvcOEwC7QTvR5Nu6tSJG1pUC0/B4WZ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WvNzpAZp4QSB3h06N+kMmDE7/6C0gSdzMzvMCXCaWE1ywt1L1H+zk/i0lY9iYm+lF1x9HlhWIIXLtp7f3gxT1dAaIbC82DDammwMn+sSDTMcc9ya4FLeSYvIUxOvGtDg8QVTBc+kofvUqrym8r+0VA6uEiURrLa63nQxdR5jtec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mADuve5h; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mADuve5h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7DFFC4CEC0; Sat, 31 Aug 2024 17:39:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725125978; bh=6SMAQxAGQuRTpvcOEwC7QTvR5Nu6tSJG1pUC0/B4WZ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mADuve5h9RJTEDMHgRO5u5WIDjU5/hidlImSeZsLKW6m8/nyB7pGZKRVaZckPPSAh SsKAf+9kWt77Nx/iIWweq0Nq+sZnJlB25T8Xgz+XLyGcbRkX4beeQxhFt9HDPbm6xd hpnEIR+DT7X31bYPrQJSamaYQF7GV2ZWAR2wo4D8yIL8V9lIsKP63+aqEmoqeLr5SJ SZOY18pfmJWeGN99NvpEn7vD3NlGkDIS2na+PPTLLHqSDrjEhhY7oX3ffuNUVsjvxx b9UW1zh/KZcvp/1wMQJILZb0cF6ztebepvFcXmdRdLP5MqOudOzbR9Ro2BA/0yWjSv W4qGlzFplcn4A== Date: Sat, 31 Aug 2024 20:39:34 +0300 From: Leon Romanovsky To: Steffen Klassert Cc: Feng Wang , netdev@vger.kernel.org, antony.antony@secunet.com Subject: Re: [PATCH] xfrm: add SA information to the offloaded packet Message-ID: <20240831173934.GC4000@unreal> References: <20240822200252.472298-1-wangfe@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Aug 28, 2024 at 07:32:47AM +0200, Steffen Klassert wrote: > On Thu, Aug 22, 2024 at 01:02:52PM -0700, Feng Wang wrote: > > From: wangfe > > > > In packet offload mode, append Security Association (SA) information > > to each packet, replicating the crypto offload implementation. > > The XFRM_XMIT flag is set to enable packet to be returned immediately > > from the validate_xmit_xfrm function, thus aligning with the existing > > code path for packet offload mode. > > > > This SA info helps HW offload match packets to their correct security > > policies. The XFRM interface ID is included, which is crucial in setups > > with multiple XFRM interfaces where source/destination addresses alone > > can't pinpoint the right policy. > > > > Signed-off-by: wangfe > > Applied to ipsec-next, thanks Feng! Steffen, What is your position on this patch? It is the same patch (logically) as the one that was rejected before? https://lore.kernel.org/all/ZfpnCIv+8eYd7CpO@gauss3.secunet.de/ Thanks