--
Regards,
Balaji.


From: <[email protected]> on behalf of Prashanth Fernando 
<[email protected]>
Date: Monday, June 8, 2020 at 10:17 PM
To: "[email protected]" <[email protected]>
Subject: [vpp-dev] Dynamically adding a node between two nodes

Hi,

I am pretty new to VPP and trying to understand few things


  *   Can I add a node in middle of a packet processing graph in runtime.

Eg: In the packet graph mentioned below, if I decide to add packet validation 
in runtime

Packet processing graph from ethernet-input –> ip4-input changed to   
ethernet-input –> packet-validatation -> ip4-input





Yes, you can add in a graph node:
https://fd.io/docs/vpp/master/whatisvpp/extensible.html
https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/add_plugin.html
https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vlib.html







  *   Also can we have core affinity for nodes.

Say I have node-1 running in core-2 and node-2 running in core-3 etc …



Please check the vlib functionality under (Handing off buffers between threads) 
is what u looking for.
https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vlib.html#handing-off-buffers-between-threads

Thanks!
--
Balaji


Request for some pointers in this regard.

Thanks in advance,
Prashanth
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16704): https://lists.fd.io/g/vpp-dev/message/16704
Mute This Topic: https://lists.fd.io/mt/74768525/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to