Re: [PATCH net] Bonding: update bond device XFRM features based on current active slave
From: Paolo Abeni
Date: Tue Sep 24 2024 - 09:17:41 EST
On 9/18/24 10:35, Hangbin Liu wrote:
XFRM offload is supported in active-backup mode. However, if the current
active slave does not support it, we should disable it on bond device.
Otherwise, ESP traffic may fail due to the downlink not supporting the
feature.
Why would the excessive features exposed by the bond device will be a
problem? later dev_queue_xmit() on the lower device should take care of
needed xfrm offload in validate_xmit_xfrm(), no?
Let segmentation happening as late as possible is usually a win.
Cheers,
Paolo