No, we don't have such mechanism as it doesn't make lot of sense. Cost of
core-to-core transfer is just to high to do such kind of offloading.
If you really need to do handover, you typically do it once in the life of
packet inside VPP and based on custom criteria
(i.e. sending over to the core
Hi Damjan,
Thanks for your mail.
While the regular behavior is that all nodes run on same thread, it is
possible to offload some of the nodes to secondary threads via
handoff(*worker_handoff_node,
handoff_dispatch_node*) mechanism.
I did this between two fixed nodes and its working(node1 runs on wo
Dear Satish,
Your question indicates what you are missing basic understanding of how VPP
works (i.e. fact that all nodes are running on the same thread).
I suggest that you go trough series of videos available on the youtube, some of
them are explaining how that works.
Regards,
Damjan
> On 2
Thanks Dave for your reply.
Below is my usecase:
Currently I have a single worker thread processing traffic. To scale the
throughput, I would like to 'handoff' some packet processing to second
worker thread. I would like to do this dynamically(i.e handoff packet from
any node based on a cli command
What you’re describing is at least marginally possible, but before I describe
how one might do such a thing I want to know why you plan to do it. There are
far less invasive techniques already available, e.g. for adding features.
HTH... Dave
From: vpp-dev@lists.fd.io On Behalf Of satish pitchi