[vpp-dev] Accessing a deleted sw_if_index in ip6_neighbor_process_timer_event?

2016-10-18 Thread Nagaprabhanjan Bellaru
Hi, I created a sub interface and configured IP6 address on it. After I deleted the sub interface, the timer event function kicked in and tried to access the sw interface and got aborted. Am I doing something wrong here? Or should there be a defensive check in the timer event? Thanks, -nagp

Re: [vpp-dev] [csit-dev] DO_NOT_MERGE

2016-10-18 Thread Peter Mikus -X (pmikus - PANTHEON TECHNOLOGIES at Cisco)
Hello, This is more about democracy/autocracy rather than mechanics of gerrit. I’ve put -1 (with comments) in past and it was merged anyway by someone who put +2 ☺. As contributors have no -2 the only option is to respect voting and gently ask (by all available communication channels) for expla

Re: [vpp-dev] about snat limit bandwidth for snat address

2016-10-18 Thread yu scott
Hi Ole, Thanks for your reply ;-) My ideas is if a user want to access outside via 1:1 static snat mapping, it should be limited to use the bandwidth and outside access inside via 1:1 static dnat mapping also be limited.The static mapping address bandwidth should be respectively limited in the

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Burt Silverman
Interesting this DSA vs RSA. It looks like openssl folks did a patch in November 2011 that would fix a bug that showed up when using DSA keys longer than 1024 (meaning 2048 or 3072 like per FIPS 186-3 from 2009.) But openssh never caught on, and their ssh-keygen may barf on keys longer than 1024 wh

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Keith Burns
Its my xenial server. Oddly enough Im asking cos we couldnt get VPP to build on another Centos box so I thought we would try the "tried and true" method... vagrant. So far not so good. I dont have any issues pulling code from the host so seems like something has changed ... On Tue, Oct 18, 2016,

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Edward Warnicke
New theory... are you by chance running this VM on a Mac that is running Mac OS X Sierra? I ask, because Siera apparently handles loading keys into ssh-agent differently, and so your personal ssh keys may not propogate into your Vagrant. To fix it, try: ssh-add -A in Mac OS X Sierra before doin

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Edward Warnicke
In which case my theory is likely incorrect ;) Ed On Tue, Oct 18, 2016 at 5:23 PM, Keith Burns wrote: > But aren't these RSA keys ? > > alagalah@thing1:~ $ cd .ssh > alagalah@thing1:.ssh $ ll > total 20K > -rw--- 1 alagalah alagalah 1.6K May 31 04:49 authorized_keys > -rw--- 1 alagalah

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Keith Burns
But aren't these RSA keys ? alagalah@thing1:~ $ cd .ssh alagalah@thing1:.ssh $ ll total 20K -rw--- 1 alagalah alagalah 1.6K May 31 04:49 authorized_keys -rw--- 1 alagalah alagalah 3.2K Mar 8 2016 id_rsa -rw-r--r-- 1 alagalah alagalah 744 Mar 8 2016 id_rsa.pub On Tue, Oct 18, 2016 a

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Edward Warnicke
I didn't read to closely on it... but I suspect that over time it will likely mean that everywhere you use DSA (not RSA) keys you will need to replace (presuming I am correct... but replacing my old DSA keys with new RSA keys did fix this issue for me in fd.io and in ODL). Ed On Tue, Oct 18, 201

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Keith Burns
Oooops, spoke to soon. Well Dang and Blast ... I do use RSA keys ... Does this mean that every place I have my public key I will need to change ? On Tue, Oct 18, 2016 at 5:15 PM Keith Burns wrote: > But Trusty works fine ... as in > > export VPP_VAGRANT_DISTRO="centos7" > vagrant up > (bang)

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Keith Burns
But Trusty works fine ... as in export VPP_VAGRANT_DISTRO="centos7" vagrant up (bang) vagrant destroy -f unset VPP_VAGRANT_DISTRO vagrant up profit. On Tue, Oct 18, 2016 at 5:02 PM Edward Warnicke wrote: > At a guess... here's what I think is happening (because it bit me). DSA > keys have re

Re: [vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Edward Warnicke
At a guess... here's what I think is happening (because it bit me). DSA keys have recently been deprecated. You may need to create a new RSA key and add it to your keys in gerrit. Ed On Tue, Oct 18, 2016 at 4:56 PM, Keith Burns wrote: > https://gist.github.com/aef7978ee4bbfc5848f0bdb775342eb8

[vpp-dev] Can't build Centos Vagrant Master

2016-10-18 Thread Keith Burns
https://gist.github.com/aef7978ee4bbfc5848f0bdb775342eb8 Trusty works fine even though the above complains about Gerrit keys. Is this a problem with Gerrit or with the Vagrant system? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mail

[vpp-dev] Is there a way to change the MAC address in VPP 1609?

2016-10-18 Thread WANG, CHENGWEI (CHENGWEI)
Hi VPP developers, As far as I know, the VPP 1609 version does not have "Set interface mac address" command line. I know the latest VPP has this command line but If I use VPP 1609, is there any other way to change the mac address of an interface? Thanks Chengwei ___

[vpp-dev] vpp-csit-verify-virl-master failing on vpp grerrit patches

2016-10-18 Thread John Lo (loj)
It seems vpp-csit-verify-virl-master has been failing for recently submitted vpp patches. I was looking at this one: https://gerrit.fd.io/r/#/c/3467/ Patch set 4 actually passed fine. With patch 5 which just updated commit message with no code change, it is now failing. I submitted recheck twice

Re: [vpp-dev] Does the latest VPP from gerrit support honeycomb?

2016-10-18 Thread Edward Warnicke
How were you trying to install HC? Ed On Tue, Oct 18, 2016 at 9:36 AM, WANG, CHENGWEI (CHENGWEI) < flin...@research.att.com> wrote: > Hi VPP developers, > > Does the latest VPP support honeycomb? We could not install honeycomb with > the latest VPP, so we thought it might be a version issue. We

Re: [vpp-dev] Does the latest VPP from gerrit support honeycomb?

2016-10-18 Thread Luke, Chris
It's possible that with the big changes in VPP since the most recent release that HC's use of the API is now incompatible. They will of course catch up. You could perhaps ask the HC folks. Chris. > -Original Message- > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.i

Re: [vpp-dev] [csit-dev] DO_NOT_MERGE

2016-10-18 Thread Keith Burns
But if the contributor -1 it then I'm ok putting -2 on it as a lock if I'm a committer on that project. You can make drafts public but all that will do is force folks who like that feature (private draft) to go to github where we don't get our CSIT/verify jobs. (Drafts are an easy way to check fo

Re: [vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Dave Wallace
Yep. Engineering the process to prevent faults is a good thing. -daw- On 10/18/16 1:51 PM, Damjan Marion (damarion) wrote: Hey Dave, It can happen to anybody. I’m the first one who will do the same. That’s why I’m suggesting that we stop that practice. “-2” is hard lock which will prevent m

Re: [vpp-dev] [csit-dev] DO_NOT_MERGE

2016-10-18 Thread Edward Warnicke
I'm fine with -2, except for the problem that a contributor who is not a committer cannot -2 their patch (only committers have -2 or +2). Ed On Tue, Oct 18, 2016 at 11:11 AM, Maciek Konstantynowicz (mkonstan) < mkons...@cisco.com> wrote: > +csit-dev > > And I asked for this merge :( > Agree that

Re: [vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Maciek Konstantynowicz (mkonstan)
+csit-dev And I asked for this merge :( Agree that -2 is best way forward. Will ask csit-dev folks to follow this practice too from now onwards. -Maciek > On 18 Oct 2016, at 18:51, Damjan Marion (damarion) wrote: > > > Hey Dave, > > It can happen to anybody. I’m the first one who will do th

Re: [vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Edward Warnicke
Yep... -2 stays... but -2 is only available to committers on a project, normal non-committer contributors can only mark -1 (at least by default, perhaps it can be configured to stay). Ed On Tue, Oct 18, 2016 at 10:19 AM, Damjan Marion (damarion) < damar...@cisco.com> wrote: > -2 stays... > > On

Re: [vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Damjan Marion (damarion)
Hey Dave, It can happen to anybody. I’m the first one who will do the same. That’s why I’m suggesting that we stop that practice. “-2” is hard lock which will prevent merging it in until reviewer revokes it. D. > On 18 Oct 2016, at 19:29, Dave Wallace wrote: > > Damjan, > > My bad -- sorry

Re: [vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Dave Wallace
Damjan, My bad -- sorry 'bout that. Not my best day at multi-tasking :-( For those patches like the csit operational testing patch that I just merged, I prefer -2 so everyone can see the status of tests and help out if possible. I agree with Ed, that transparency is very important for commun

Re: [vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Damjan Marion (damarion)
-2 stays... On 18 Oct 2016, at 19:17, Edward Warnicke mailto:hagb...@gmail.com>> wrote: I'm fine with -2, but please note that -1 gets cleared with each new patch set (and I believe this is also true for -2), meaning that its easy to 'loose' the -2. I'd be OK with Drafts, except that Drafts a

Re: [vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Edward Warnicke
I'm fine with -2, but please note that -1 gets cleared with each new patch set (and I believe this is also true for -2), meaning that its easy to 'loose' the -2. I'd be OK with Drafts, except that Drafts are not public. We *can* switch to having gerrit make Drafts public (I'd be fine with that).

[vpp-dev] DO_NOT_MERGE

2016-10-18 Thread Damjan Marion (damarion)
Folks, We just got 1st DO_NOT_MERGE patch merged in. Can we going forward stop this practice, and use “-2” or Drafts instead? Thanks, Damjan ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Does the latest VPP from gerrit support honeycomb?

2016-10-18 Thread WANG, CHENGWEI (CHENGWEI)
Hi VPP developers, Does the latest VPP support honeycomb? We could not install honeycomb with the latest VPP, so we thought it might be a version issue. We can be wrong. Thanks for enlightening. Chengwei ___ vpp-dev mailing list vpp-dev@lists.fd.io ht

Re: [vpp-dev] Vpp_main running at 100% CPU

2016-10-18 Thread Kinsella, Ray
Hi Miguel, Most your time is being spent in dpdk_input and vhost_user_input. Are you running VPP in a VM or on the host? I ask because vhost_user_input suggests you are running on the host? If you are running in a VM and you are using software interfaces (no PCI passhrough) you might try using

Re: [vpp-dev] Vpp_main running at 100% CPU

2016-10-18 Thread Miguel Angel Muñoz Gonzalez
Hi, It is running in a CentOS 7 VM, no PCI passthrough. I think I left the vhost interface created during some play test. I can try vpp_lite and see how it performs in this scenario. Thank you very much for your suggestion! Best Regards, Miguel Ángel. -Original Message- From: Dave Bara

Re: [vpp-dev] Vpp_main running at 100% CPU

2016-10-18 Thread Dave Barach (dbarach)
+1, thanks Ray... -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Kinsella, Ray Sent: Tuesday, October 18, 2016 10:17 AM To: Miguel Angel Muñoz Gonzalez ; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Vpp_main running at 100% CPU Hi M

Re: [vpp-dev] Vpp_main running at 100% CPU

2016-10-18 Thread Miguel Angel Muñoz Gonzalez
Thanks Ray. Yes, in startup.conf I set: dpdk { dev :00:08.0 uio-driver uio_pci_generic } And this is the output of 'show run' though to be honest I'm not very familiar with it yet: Time 228.9, average vectors/node 1.19, last 128 main loops 0.00 per node 0.00 vector rates in 4.4491e1

Re: [vpp-dev] Vpp_main running at 100% CPU

2016-10-18 Thread Kinsella, Ray
Hi Miguel, If you are using DPDK - it would be my expectation yes. Can you do a 'show run' in vppctl to see where time is being spent. Ray K On 18/10/2016 09:02, Miguel Angel Muñoz Gonzalez wrote: Hi, In SFC project from ODL we are trying to use VPP to run a simple scenario with basic service

Re: [vpp-dev] Quad loop ip4-lookup

2016-10-18 Thread Maciek Konstantynowicz (mkonstan)
25% gain - This sounds cool !! Any chance you can send the patch, so that I can try it out in scaled up setup? It would be awesome if quad-loop gets applied to the most common set of graph nodes involved in IP forwarding, as you say. I also get the point that it is not always obvious which VPP no

[vpp-dev] Vpp_main running at 100% CPU

2016-10-18 Thread Miguel Angel Muñoz Gonzalez
Hi, In SFC project from ODL we are trying to use VPP to run a simple scenario with basic service chain setup. At the moment I'm running vpp 1609 with honeycomb in Centos7, as a VirtualBox VM. Once VPP is started, 'top' command shows vpp_main process taking 100% CPU in one of the cores and never

Re: [vpp-dev] about snat limit bandwidth for snat address

2016-10-18 Thread otroan
Yu, > I want to use the limit bandwidth for snat address, I do some work to > > find whether this function is already done or not . But I don't find the > function in vpp . > Does my result is right?Does community has the plan to develop it ? > If community don't have enough free time to develo