Re: [PATCH ipsec-next v1 1/5] xfrm: delay initialization of offload path till its actually requested
From: Sabrina Dubroca <sd@queasysnail.net>
Date: 2025-06-05 13:09:25
From: Sabrina Dubroca <sd@queasysnail.net>
Date: 2025-06-05 13:09:25
Hello, I think we need to revert this patch. It causes a severe performance regression for SW IPsec (around 40-50%). 2025-02-19, 15:50:57 +0200, Leon Romanovsky wrote:
From: Leon Romanovsky <leonro@nvidia.com> XFRM offload path is probed even if offload isn't needed at all. Let's make sure that x->type_offload pointer stays NULL for such path to reduce ambiguity.
x->type_offload is used for GRO with SW IPsec, not just for HW offload. -- Sabrina