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).

For example:
*node1(on worker 1) => handoff=> node2(on worker 2)*
 node1, node2 are inputs to cli which should setup this flow.

Currently, I was able to handoff between two fixed nodes(using readily
available handoff nodes). I'm now trying to extend this to any two nodes.

Best Regards,
Satish



On Mon, Jun 25, 2018 at 5:25 PM, Dave Barach (dbarach) <dbar...@cisco.com>
wrote:

> 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 <vpp-dev@lists.fd.io> *On Behalf Of *satish
> pitchikala
> *Sent:* Monday, June 25, 2018 2:30 AM
> *To:* vpp-dev@lists.fd.io
> *Subject:* [vpp-dev] Adding a node dynamically between any two nodes
>
>
>
> Hi,
>
> My requirement is to add a node at runtime between any two nodes. Addition
> is to be done via cli.
>
>
>
> eg:* set handoff node1 node2*
>
>
>
> 1. This should create a node by name *node1_handoff_node2.*
>
> 2.* node1_handoff_node2* previous node should be *node1*
>
> 3. *node1_handoff_node2*  next node should be *node2*
>
>
>
> I tried using VLIB_NODE_TYPE_PROCESS to create a node inside cli It
> creates a node but couldn't insert it between node 1 and node 2.
>
>
>
> Request for some pointers in this regard.
>
>
>
> Best Regards,
>
> Satish P
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9689): https://lists.fd.io/g/vpp-dev/message/9689
Mute This Topic: https://lists.fd.io/mt/22674708/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to