[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZD1K1M8TqGdMwDBX@corigine.com>
Date: Mon, 17 Apr 2023 15:34:12 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Leon Romanovsky <leon@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Leon Romanovsky <leonro@...dia.com>,
Steffen Klassert <steffen.klassert@...unet.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
netdev@...r.kernel.org, Saeed Mahameed <saeedm@...dia.com>,
Raed Salem <raeds@...dia.com>, Emeel Hakim <ehakim@...dia.com>
Subject: Re: [PATCH net-next v1 07/10] net/mlx5e: Listen to ARP events to
update IPsec L2 headers in tunnel mode
On Thu, Apr 13, 2023 at 03:29:25PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@...dia.com>
>
> In IPsec packet offload mode all header manipulations are performed by
> hardware, which is responsible to add/remove L2 header with source and
> destinations MACs.
>
> CX-7 devices don't support offload of in-kernel routing functionality,
> as such HW needs external help to fill other side MAC as it isn't
> available for HW.
>
> As a solution, let's listen to neigh ARP updates and reconfigure IPsec
> rules on the fly once new MAC data information arrives.
>
> Signed-off-by: Leon Romanovsky <leonro@...dia.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists