[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zs62fyjudeEJvJsQ@gauss3.secunet.de>
Date: Wed, 28 Aug 2024 07:32:47 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Feng Wang <wangfe@...gle.com>
CC: <netdev@...r.kernel.org>, <antony.antony@...unet.com>
Subject: Re: [PATCH] xfrm: add SA information to the offloaded packet
On Thu, Aug 22, 2024 at 01:02:52PM -0700, Feng Wang wrote:
> From: wangfe <wangfe@...gle.com>
>
> 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 <wangfe@...gle.com>
Applied to ipsec-next, thanks Feng!
Powered by blists - more mailing lists