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

2025-04-11 Thread Hangbin Liu
On Fri, Apr 11, 2025 at 10:49:57AM +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 v3 5/6] bonding: Mark active offloaded xfrm_states

2025-04-11 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