Re: [vpp-dev] Using VPP as a library

2018-04-15 Thread Damjan Marion
Dear A, Actually VPP is small application which consumes different libraries like vppinfra, vlib and vnet. So it is possible to write another one which uses same libs and such thing was already done in the past. I.e. for complete different use case than networking, you can simply use vlib to le

Re: [vpp-dev] VPP dpdk interface placement from startup.conf

2018-04-15 Thread Damjan Marion
Dear Rogan, Long time ago I wrote a code to do exactly that, an code is still there, but i will not put my left hand into fire that it still works. syntax is: dpdk { dev :02:00.1 { num-rx-queues 2 workers 4,5 } } Let us know if it works...

Re: [vpp-dev] integrating ARP and l2-rewrite nodes

2018-04-15 Thread Damjan Marion
Dear Sara, It is perfectly fine to send all ARP packets (identified by ethertype) to arp-inut node from my-forwarder-plugin. I'm just afraid that if you go that route that this is just a start of problems Can you describe your use case in more details, we may come up with better solution.

[vpp-dev] integrating ARP and l2-rewrite nodes

2018-04-15 Thread Sara Gittlin
Hi my VPP contains a customized forwarder plugin the graph is looking like : device-input--> my-forwarder-plugin --> ethernet-output (or error drop) this is good as long as the traversed traffic is within the same subnet but if not - i need to integrate/reuse VPP ARP/NDP nodes and the node wh