Re: [vpp-dev] [vpp] does vpp support interface hotplugin?

2016-11-24 Thread Christophe FONTAINE
Hi Yu, Could you give me an example of the requirement of the physical hotplug for NFV ? FYI, vhost-user is already implemented: using VPP as a vswitch already works, so, hotplug of virtual interfaces already works. The way I see this is: - SRIOV/PCI pass thru: vpp is not in the loop,

Re: [vpp-dev] omg,vlan sub-interface seems not working

2016-11-24 Thread Chillance Zen
Hi,Damjan: here is the trace output,it iterates that vpp can not find the ip address which is to be resolved,but I've already configured it on the vlan-sub interface already. 130.140.25.1/24 DBGvpp# trace add dpdk-input 5 DBGvpp# show trace --

Re: [vpp-dev] [dpdk-dev] dpdk/vpp and cross-version migration for vhost

2016-11-24 Thread Kevin Traynor
On 11/24/2016 06:31 AM, Yuanhan Liu wrote: > On Tue, Nov 22, 2016 at 04:53:05PM +0200, Michael S. Tsirkin wrote: You keep assuming that you have the VM started first and figure out things afterwards, but this does not work. Think about a cluster of machines. You want to start a

Re: [vpp-dev] omg,vlan sub-interface seems not working

2016-11-24 Thread Damjan Marion (damarion)
Please use VPP native af_packet implementation. It works in interrupt mode and interfaces can be created during runtime. ``` create host-interface name ``` is all you need. On 24 Nov 2016, at 09:09, Chillance Zen mailto:chillance...@gmail.com>> wrote: Hi,Damjan: here is the trace output,it

[vpp-dev] native vhost-user perf improvements

2016-11-24 Thread Damjan Marion (damarion)
I know that several people are playing with VPP vhost-user implementation so just a heads-up about latest change in master which really helps with NDR performance. We are observing NDR gain of 41% in our testbeds. https://git.fd.io/vpp/commit/?id=4e969f9 Let me know if any issues, or just feed

Re: [vpp-dev] [vpp] does vpp support interface hotplugin?

2016-11-24 Thread Damjan Marion
> On 24 Nov 2016, at 08:51, yu scott wrote: > > Hi Marion, > > Does next release version support hotplugins? > BTW, hotplugins is very importance for VPP used for NFV. I’m not aware of any planned effort to do that, but contributions are welcome… Thanks, Damjan__

Re: [vpp-dev] flowtable plugin

2016-11-24 Thread Damjan Marion
both opaque and opaque2 are shared resource. There is no guarantee that node in the middle will not overwrite it. Is your situation really a case where node A needs to send some information to node C and there is unknown B or many Bs in the middle? > On 23 Nov 2016, at 15:15, gannega wrote:

Re: [vpp-dev] flowtable plugin

2016-11-24 Thread gannega
The flowtable uses the opaque buffer for two things: - it provides a flow id, and a flow state - it provides an opaque buffer to be filled with information external to vpp (which in my case is dpi metadatas, but it could be anything) using the binary API. So the flowtable (node A) alone will provi

Re: [vpp-dev] [dpdk-dev] dpdk/vpp and cross-version migration for vhost

2016-11-24 Thread Yuanhan Liu
On Thu, Nov 24, 2016 at 09:30:49AM +, Kevin Traynor wrote: > On 11/24/2016 06:31 AM, Yuanhan Liu wrote: > > On Tue, Nov 22, 2016 at 04:53:05PM +0200, Michael S. Tsirkin wrote: > You keep assuming that you have the VM started first and > figure out things afterwards, but this does not

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-24 Thread Sreejith Surendran Nair
Hi Christophe, Thanks a lot for the help. I tried reinstalling the VPP package and tried the above steps the compilation worked successfully. Unfortunately after running the VPP start service it did not start properly I got an error with respect to "dpdk not enough free huge pages". Could you

Re: [vpp-dev] [dpdk-dev] dpdk/vpp and cross-version migration for vhost

2016-11-24 Thread Maxime Coquelin
On 11/24/2016 01:33 PM, Yuanhan Liu wrote: On Thu, Nov 24, 2016 at 09:30:49AM +, Kevin Traynor wrote: > On 11/24/2016 06:31 AM, Yuanhan Liu wrote: > > On Tue, Nov 22, 2016 at 04:53:05PM +0200, Michael S. Tsirkin wrote: > You keep assuming that you have the VM started first and > >>>

Re: [vpp-dev] VPP Compilation Issue on Centos

2016-11-24 Thread Dave Barach (dbarach)
Check the number of hugetlb pages: cat /proc/sys/vm/nr_hugepages. Rough guess, repeated compilations have fragmented memory to the point where the minimum number of hugetlb pages is not available. A reboot with the vpp packages installed should cure the problem. Thanks… Dave From: vpp-dev-boun

Re: [vpp-dev] [dpdk-dev] dpdk/vpp and cross-version migration for vhost

2016-11-24 Thread Kevin Traynor
On 11/24/2016 12:47 PM, Maxime Coquelin wrote: > > > On 11/24/2016 01:33 PM, Yuanhan Liu wrote: >> On Thu, Nov 24, 2016 at 09:30:49AM +, Kevin Traynor wrote: >>> > On 11/24/2016 06:31 AM, Yuanhan Liu wrote: > > On Tue, Nov 22, 2016 at 04:53:05PM +0200, Michael S. Tsirkin wrote: >>> >

Re: [vpp-dev] [dpdk-dev] dpdk/vpp and cross-version migration for vhost

2016-11-24 Thread Kavanagh, Mark B
> >On 11/24/2016 12:47 PM, Maxime Coquelin wrote: >> >> >> On 11/24/2016 01:33 PM, Yuanhan Liu wrote: >>> On Thu, Nov 24, 2016 at 09:30:49AM +, Kevin Traynor wrote: > On 11/24/2016 06:31 AM, Yuanhan Liu wrote: > > > On Tue, Nov 22, 2016 at 04:53:05PM +0200, Michael S. Tsirkin wrote: >>

[vpp-dev] How to transfer packets between 2 bridge domains ?

2016-11-24 Thread Christophe FONTAINE
Hi, I’m working on Tap as a Service feature for OpenStack [1], and I hope I just don’t know how to configure VPP to transfer packets between 2 bridge domains. The global setup follows the blueprint [2], but basically, here is what I have : VhostUser0/0/1 | span | loop0 loop1

Re: [vpp-dev] How to transfer packets between 2 bridge domains ?

2016-11-24 Thread Christophe FONTAINE
Continuing my investigation on l2_xcrw, I'm wondering why the L2OUTPUT_FEAT_XCRW is never set, on the contrary of the other output features (CLASSIFY, ACL) ? Also, I don't understand why we need to do a xconnect between the source interface and the xcrw0 ? Wouldn't the next node be set thanks t

Re: [vpp-dev] [vpp] does vpp support interface hotplugin?

2016-11-24 Thread yu scott
Hi Christophe, If run vpp in vm, vm is used as router in openstack vnf ,when create a subnet and the subnet need connect router. the router need hot plugin a interface for the subnet 2016-11-24 16:02 GMT+08:00 Christophe FONTAINE < christophe.fonta...@qosmos.com>: > Hi Yu, > > > > Could you give