Dear All, I have been reading VPP host stack and saw the example TCP proxy in (src/plugins/hs_apps/proxy.c). I understand that the main thread handles the CLI command and the callbacks are registered for TCP proxy by main thread. Can anyone explain the thread/core ownership during packet processing using sample TCP proxy as example?
1. Is there a flow to worker core mapping or packets of same flow can be processed by different worker cores? In the first case, does the worker core that accepts the incoming TCP connection is set as the owner for the flow? 2. Where do the callback functions run? In the same worker core that triggers the event or in main core? 3. Is it possible to avoid sharing between cores and keep everything in same worker core. i.e. All packets for a given flow as well as callbacks to execute in same worker core.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19044): https://lists.fd.io/g/vpp-dev/message/19044 Mute This Topic: https://lists.fd.io/mt/81698902/21656 Mute #hoststack:https://lists.fd.io/g/vpp-dev/mutehashtag/hoststack Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-