Hello everyone, I am currently working on synchronizing session information between two nodes in a High Availability (HA) setup. When the Master node sends session information to the Backup node, it is important that the information is handed off to the corresponding worker thread in order to properly serve the packet with the same 5-tuple. Failure to do so would result in a synchronization issue.
To distribute the packets to the worker threads, I plan to use VLIB handoff code. However, I am unsure how VPP selects the worker thread on the datapath. Specifically, I have the following questions: If each thread has a dedicated rx-queue, can we use dpdk's hash algorithm to select the corresponding rx-queue and determine which threads are attached to it? Are there any examples of this in the VPP codebase? If multiple worker threads are attached to a single rx-queue, how are the packets distributed? Round-robin would not be desirable since it would result in the same 5-tuple session being passed to multiple threads. If dpdk is disabled, would the behavior be different? As someone new to VPP and lower level networking, I would greatly appreciate any comments or suggestions. Thank you for your help. Best regards, Chul-Woong
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22613): https://lists.fd.io/g/vpp-dev/message/22613 Mute This Topic: https://lists.fd.io/mt/97156106/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-