Really depends on what you need it to do, which I may have missed. Why do you need any synchronization at all?
Chris From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of satish amara <satishkam...@gmail.com> Date: Monday, July 12, 2021 at 23:59 To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> Subject: Re: [EXTERNAL] Re: [vpp-dev] Multi-threading locks and synchronization Thank you for your explanation. What is recommended way if a custom plugin is working on multiple threads. Direct the packet in the same flow to the same thread or use spinlocks for synchronization. It looks like for IPSEC VPP code is trying the process the packets on the same flow on the same thread.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19754): https://lists.fd.io/g/vpp-dev/message/19754 Mute This Topic: https://lists.fd.io/mt/84165477/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-