Re: [PATCH net-next v2 5/6] bonding: Mark active offloaded xfrm_states

2025-04-09 Thread Hangbin Liu
On Wed, Apr 09, 2025 at 05:41:32PM +0300, Cosmin Ratiu wrote: > When the active link is changed for a bond device, the existing xfrm > states need to be migrated over to the new link. This is done with: > - bond_ipsec_del_sa_all() goes through the offloaded states list and > removes all of them f

[PATCH net-next v2 5/6] bonding: Mark active offloaded xfrm_states

2025-04-09 Thread Cosmin Ratiu
When the active link is changed for a bond device, the existing xfrm states need to be migrated over to the new link. This is done with: - bond_ipsec_del_sa_all() goes through the offloaded states list and removes all of them from hw. - bond_ipsec_add_sa_all() re-offloads all states to the new de