Re: [vpp-dev] R Signal events between graph nodes within different threads

2017-03-08 Thread Xu, Xiyun
Do be a little confusion. AFAIK, the original question from ZTE, key message should be: so we want to transfer some packet to main thread to continue processing Is this right, @ZTE wanghui which kind of scenario you want to pass the pkt from work thread to main thread. Although the pkt is a

Re: [vpp-dev] VPP on raspberry pi & 32 bit compilation

2017-03-08 Thread Burt Silverman
​I thought the RP 3 Model B is a 64 bit machine. - A 1.2GHz 64-bit quad-core ARMv8 CPU Is the build done directly on the RP, or is it done via cross compilation? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-de

Re: [vpp-dev] [csit-dev] VPP receive no tagged packet on Virtio interface

2017-03-08 Thread John Lo (loj)
If adding a sub-interface for VLAN 3 still does not work, try create another dummy sub-interface with, say VLAN 100, and put that sub-interface into a bridge domain. This will force the interface into promiscuous mode. -John From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io]

Re: [vpp-dev] [csit-dev] VPP receive no tagged packet on Virtio interface

2017-03-08 Thread John Lo (loj)
Hi Matej, The difference between having an interface in L2 bridge/xconnect mode is that the interface is put into promiscuous mode. Thus the interface will receive all packets irrespective of its destination MAC address. When an interface is in L3 mode, it will receive packets with DMAC matchin

[vpp-dev] Problem building from source tarball without git

2017-03-08 Thread Thomas F Herbert
I have been working on a patch to build a SRPM for downstream packaging but ran into a problem and need more eyes. This is dependent on my earlier patch for building a dist tarball 20a29c7b4d1b5b68112498bee21ee7f3fe123b13 which encapsulates the version metadata in a .version file in build-root

Re: [vpp-dev] Fwd: [Bug 1422534] vdev->vq[i] .used_idx does not consider the right value for vhostuser

2017-03-08 Thread Steven Luong (sluong)
Maxime, First of all, thank you very much for your detailed analysis and pinpoint the possible problem area. Is it fair for me to ask the question that when the client processes the message VHOST_USER_GET_VRING_BASE, it must respond it with the existing last_avail_idx but not 0? I could not find a

Re: [vpp-dev] [csit-dev] installation issue of release rpm packages from Nexus on centos7 system

2017-03-08 Thread Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco)
Hello Tom, Based on our discussion during today's CSIT call I started the csit semiweekly job - unfortunately still the same conflict reported during installation of VPP RPM packages: jenkins-in@t4-virl2:~$ start-testcase -vv -c double-ring-nested.centos7 -r csit-centos-7.3-1611_2017-02-23_1.4

Re: [vpp-dev] Fwd: [Bug 1422534] vdev->vq[i] .used_idx does not consider the right value for vhostuser

2017-03-08 Thread Maxime Coquelin
Steven, On 03/08/2017 04:44 PM, Steven Luong (sluong) wrote: Maxime, Last I heard csit uses qemu 2.5. Could you please check if the aforementioned patch exists in that qemu version? In upstream QEMU, the patch landed into v2.7.0 tag, so if you are using upstream version then the patch is not t

Re: [vpp-dev] [Dev question on changing the VLIB_FRAME_SIZE]

2017-03-08 Thread Dave Barach (dbarach)
“I don't know if this also affects the shared libraries.” $ ls -l /usr/lib/x86_64-linux-gnu/libvlib.so.0.0.0 to work out whether the installed shared libs are newer or older than your change to node.h... Thanks… Dave From: theleo...@gmail.com [mailto:theleo...@gmail.com] On Behalf Of Leonardo

[vpp-dev] dpdk input-node fixed sleep => low load average on my vpp home gateway

2017-03-08 Thread Dave Barach (dbarach)
FYI, I just pushed a patch to change the units of the dpdk "poll-sleep" parameter from milliseconds to microseconds. Set as shown below, my vpp home gateway runs at a very low load-average: dbarach@vppgate:~$ uptime 10:34:00 up 16 days, 23:41, 1 user, load average: 0.07, 0.25, 0.62 No issues k

Re: [vpp-dev] Fwd: [Bug 1422534] vdev->vq[i] .used_idx does not consider the right value for vhostuser

2017-03-08 Thread Steven Luong (sluong)
Maxime, Last I heard csit uses qemu 2.5. Could you please check if the aforementioned patch exists in that qemu version? Steven On 3/8/17, 7:36 AM, "vpp-dev-boun...@lists.fd.io on behalf of Maxime Coquelin" wrote: >Tom, > >On 03/08/2017 03:59 PM, Thomas F Herbert wrote: >> Maxime, >> >> The >>

Re: [vpp-dev] Fwd: [Bug 1422534] vdev->vq[i] .used_idx does not consider the right value for vhostuser

2017-03-08 Thread Maxime Coquelin
Tom, On 03/08/2017 03:59 PM, Thomas F Herbert wrote: Maxime, The OK. Thanks. I am forwarding this to Pierre as he has been working on vhost-user. I thought we were now using dpdk's vhost-user driver as of 17.01. No it isn't. I would be interested in the reasons not doing the move, and propos

Re: [vpp-dev] [Dev question on changing the VLIB_FRAME_SIZE]

2017-03-08 Thread Leonardo Linguaglossa
Thank you for your reply, I actually re-built everything ( make wipe-release && make build-release ). I don't know if this also affects the shared libraries. The idea is to perform some experiments as a function of the frame size, and in order to do this, I need to modify the VLIB_FRAME_SIZE defi

Re: [vpp-dev] fd.io CSIT vhost-user test scenario implementation priorities

2017-03-08 Thread Maciek Konstantynowicz (mkonstan)
Hi, Suggest we discuss it on the next CSIT project call (today?) if we get all the interested or arrange a separate TWS call. General note: Within CSIT we’re focusing on verifying FD.io VPP capabilities and properties incl. integration with operating environment. More complete solu

[vpp-dev] Fwd: [Bug 1422534] vdev->vq[i] .used_idx does not consider the right value for vhostuser

2017-03-08 Thread Thomas F Herbert
Maxime, The OK. Thanks. I am forwarding this to Pierre as he has been working on vhost-user. I thought we were now using dpdk's vhost-user driver as of 17.01. It is interesting how we haven't seen this in our csit testing and we are testing multi-queue. Also will this manifest only on certa

Re: [vpp-dev] [Dev question on changing the VLIB_FRAME_SIZE]

2017-03-08 Thread Dave Barach (dbarach)
Please make absolutely sure that (a) you’ve compiled the tree from scratch, and (b) that you’re not tripping over previously-installed shared libraries built with a different VLIB_FRAME_SIZE. Why are you interested in changing VLIB_FRAME_SIZE in the first place? Thanks… Dave From: vpp-dev-boun

[vpp-dev] [Dev question on changing the VLIB_FRAME_SIZE]

2017-03-08 Thread Leonardo Linguaglossa
Hello, I am currently working on VPP version 17.04 and I wanted to perform some measurements w.r.t. the VLIB_FRAME_SIZE, defined in VPP_ROOT/src/vlib/node.h. 1. The issue is that when I define a smaller vector size > #define VLIB_FRAME_SIZE 128 > I get an error in the vlib/main.c assertion: >

Re: [vpp-dev] R Signal events between graph nodes within different threads

2017-03-08 Thread Dave Barach (dbarach)
Guys, Oh, you want the main thread to process packets? Why didn’t you simply ask how to do that in the first place? At worst, a few lines’ worth of code - to enable e.g. dpdk-input in thread-0 - might be required. Copying Damjan. Thanks… Dave From: wang.hu...@zte.com.cn [mailto:wang.hu...@zte

Re: [vpp-dev] [csit-dev] VPP receive no tagged packet on Virtio interface

2017-03-08 Thread Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
Hi all, I did some test in virl testbed. I sent following 3 frames to VPP interface from scapy: sendp(iface='ens6', x=Ether(src='02:00:00:00:00:02', dst='fa:16:3e:d0:4a:66')/IP()) sendp(iface='ens6', x=Ether(src='02:00:00:00:00:02', dst='fa:16:3e:d0:4a:66', type=0x8100)/Dot1Q(vlan=10)/IP()) sen

Re: [vpp-dev] VPP on raspberry pi & 32 bit compilation

2017-03-08 Thread Ilan Uriel
Hi Christophe, Have you been able to compile a working VPP on RP 2 or 3 at the end? The existing stable releases seems to be far from providing either a code that can be compiled on any RP, using the PLATOFORM=arm32. Any access available to the patches mentioned in the mail that can be used to

Re: [vpp-dev] raspberrypi builds

2017-03-08 Thread Ilan Uriel
It was done on rp 2 model B and rp 3. Both failed From: Burt Silverman [mailto:bur...@gmail.com] Sent: Wednesday, March 08, 2017 11:02 AM To: Ilan Uriel Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] raspberrypi builds Just for my curiosity, has it been done on RP 3 Model B? On Tue, Mar 7, 2017

Re: [vpp-dev] issues when enable proxy-arp

2017-03-08 Thread Pan, Xiao
Hi, Neale Thanks for help. Below is a script showing how I set up the network: #!/bin/bash # start two busybox containers, with none network docker run -tid --name=con1 --network=none busybox docker run -tid --name=con2 --network=none busybox # remove the existing files [ ! -d /var/run/netns/ ] &

Re: [vpp-dev] raspberrypi builds

2017-03-08 Thread Burt Silverman
Just for my curiosity, has it been done on RP 3 Model B? On Tue, Mar 7, 2017 at 1:04 AM, Ilan Uriel wrote: > I am trying to build VPP on rp 2. > > > > I have tried both arm32 platform and vpp_lite but none would compile. > > > > It appears that there is a lot of work to be done before it can com

Re: [vpp-dev] issues when enable proxy-arp

2017-03-08 Thread Neale Ranns (nranns)
Hi Pan, I see nothing untoward there. Could you please send me instructions on how to re-create your setup. Then I can investigate why VPP restarts. Thanks, neale From: "Pan, Xiao" Date: Wednesday, 8 March 2017 at 02:34 To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" Subject: RE: [vpp-dev

Re: [vpp-dev] Missing lib pneum during build?

2017-03-08 Thread otroan
Jon, > On 8 Mar 2017, at 01:34, Jon Loeliger wrote: > > On Mon, Mar 6, 2017 at 2:57 PM, Jon Loeliger wrote: > > Hi Billy, > > S, despite the Peanut Gallery, I'm not yet crazy... :-) > > Now all we have to do is find the missing dependency in a Makefile! :-) > > Thanks, > jdl > > I may