Re: [vpp-dev] ACL Plugin: tagged interface

2017-11-28 Thread khers
Dear Andrew Thanks for your attention, Yes of course I pushed to gerrit with id 9615. Regards, Khers On Tue, Nov 28, 2017 at 8:37 PM, Andrew Yourtchenko wrote: > Dear Khers, > > I believe you are right. That might not be all though... “dot1q”/“dot1ad” > mask value constant does not appear to m

Re: [vpp-dev] SR MPLS not effective

2017-11-28 Thread 薛欣颖
Hi Neale, After add the 'mpls local-label add non-eos 33 mpls-lookup-in-table 0 ' on P, the mistake still exist. create host-interface name eth2 mac 00:0c:29:0f:e2:a8 create host-interface name eth3 mac 00:0c:29:0f:e2:b2 set interface state host-eth2 up set interface state host-eth3 up set

[vpp-dev] problem in elog format

2017-11-28 Thread Juan Salmon
I want to use event-log and send string to one of elements of ed struct. but the result is not correct. the sample code: ELOG_TYPE_DECLARE (e) = { .format = "Test LOG: %s", .format_args = "s20", }; struct { u8 * err; } *

Re: [vpp-dev] Jenkins jobs not starting from a "clean" state?

2017-11-28 Thread Ed Kern (ejk)
All the jobs that ive looked at vpp verify’s are still set to ‘single use slave’ So there is no re-use.. if the job is run by jenkins and is either ubuntu or centos it will attempt to pull and install ubuntu: vpp-dpdk-dev vpp-dpdk-dkms centos: vpp-dpdk-devel if running the build of opensuse

Re: [vpp-dev] ACL Plugin: tagged interface

2017-11-28 Thread Andrew Yourtchenko
Dear Khers, I believe you are right. That might not be all though... “dot1q”/“dot1ad” mask value constant does not appear to make sense to me now. They should be “XX XX” to mask out the bits and also should be set accordingly to the proper values during the addition of the sessions. (I suppose

Re: [vpp-dev] How to enable RSS in VPP

2017-11-28 Thread Dave Barach (dbarach)
You are sending traffic with more than one flow, correct? From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Saxena, Nitin Sent: Tuesday, November 28, 2017 11:45 AM To: vpp-dev@lists.fd.io Cc: Athreya, Narayana Prasad Subject: [vpp-dev] How to enable RSS in VPP

[vpp-dev] How to enable RSS in VPP

2017-11-28 Thread Saxena, Nitin
HI, I am using ConnectX-4 NIC which has Rx RSS support however I can see VPP is not using RSS feature with this NIC. NIC is getting traffic from 1 queue only? Is this can be fixed in VPP? If yes how? Output from show hardware detail == UnknownEt

Re: [vpp-dev] Jenkins jobs not starting from a "clean" state?

2017-11-28 Thread Marco Varlese
To add on the reported issue below, similarly, (I think that) the DPDK tarball can be also (always) found in the workspace hence never "freshly" downloaded either. Snipped of the logs below: --- 11:00:48 Finding source for dpdk 11:00:48 Makefile fragment found in /w/workspace/vpp-v

[vpp-dev] Jenkins jobs not starting from a "clean" state?

2017-11-28 Thread Marco Varlese
All, While looking into an issue which Dave raised yesterday, I bumped into something which does not look right to me. The Jenkins jobs executing the VPP builds do not start from a clean-state. I would expect - for instance - not to find the DPDK package already installed on the target host whic

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Marco Varlese
Dear Dave, By the look of it is seemed to have been an hiccup with the download or that something spurious was left on the filesystem... === 12:08:13 Bad Checksum! Please remove /w/workspace/vpp-verify-master- opensuse/dpdk/dpdk-17.08.tar.xz and retry 12:08:13 Makefile:267: recipe for target '/w/w

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Marco Varlese
Dear Dave, By the look of it is seemed to have been an hiccup with the download or that something spurious was left on the filesystem... === 12:08:13 Bad Checksum! Please remove /w/workspace/vpp-verify-master- opensuse/dpdk/dpdk-17.08.tar.xz and retry 12:08:13 Makefile:267: recipe for target '/w/w

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Marco Varlese
Dear Dave, By the look of it is seemed to have been an hiccup with the download or that something spurious was left on the filesystem... === 12:08:13 Bad Checksum! Please remove /w/workspace/vpp-verify-master- opensuse/dpdk/dpdk-17.08.tar.xz and retry 12:08:13 Makefile:267: recipe for target '/w/w

Re: [vpp-dev] Papi usage example

2017-11-28 Thread Ole Troan
Holoo, > I want to do the following vpp command with python api: > ip route add table 1 1.2.3.4/24 10.0.0.2 GigabitEthernet2/0/1 weight 7" > So, how can i know the name and where to find the definition of the > corresponding api? ip_add_del_route in src/vnet/ip/ip.api. Best regards, Ole sign

[vpp-dev] Papi usage example

2017-11-28 Thread Holoo Gulakh
Hi, I want to do the following vpp command with python api: ip route add table 1 1.2.3.4/24 10.0.0.2 GigabitEthernet2/0/1 weight 7" So, how can i know the name and where to find the definition of the corresponding api? Thanks ___ vpp-dev mailing list vpp-

Re: [vpp-dev] SR MPLS not effective

2017-11-28 Thread Neale Ranns (nranns)
Hi Xyxue, Your trace says: 00:01:54:346249: mpls-lookup MPLS: next [0], lookup fib index 0, LB index 26 hash 0 label 33 eos 0 so the packet required an MPLS lookup on label 33 non-eos. Your config has no local-label 33/non-eos configured, so the packet is dropped. /neale From: on behalf of

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Marco Varlese
Hi Gabriel, I just submitted a patch (https://gerrit.fd.io/r/#/c/9597/) to VPP to fix thisissue. I've added you to the review so you can take a look. In order to verify that the new patch fixes the issue, people should first run: $ rpm -e vpp-dpdk-devel && rm dpdk/dpdk-17.08.tar.xz to trigger

[vpp-dev] ACL Plugin: tagged interface

2017-11-28 Thread khers
Dear vpp folks I think following line if function acl_add_vlan_session in acl.c line 635 memset (&match[idx], 0x00, 2); should change to memset (&match[idx], 0xff, 2); because dot1ad_5tuple_mask and dot1q_5tuple_mask must have mask for IPv4/6, so memset to ff reset those mask to default va

Re: [vpp-dev] SR MPLS not effective

2017-11-28 Thread 薛欣颖
Hi Pablo, After hearing your advice, I modified my configuration on P: create host-interface name eth2 mac 00:0c:29:0f:e2:a8 create host-interface name eth3 mac 00:0c:29:0f:e2:b2 set interface state host-eth2 up set interface state host-eth3 up set interface ip address host-eth3 12.1.1.1/24

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Marco Varlese
Hi Gabriel, On Tue, 2017-11-28 at 10:13 +, Gabriel Ganne wrote: > Hi Marco, > > > > > > I believe > http://fast.dpdk.org/rel redirects to > http://static.dpdk.org/rel/ > > > > > > > > I disagree on the md5 hashs. > > I have the following (NOK on 17.08, and OK on 17.11) : > > >

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Gabriel Ganne
Adding dpdk-user ML. I had a look with an older dpdk archive I found. The folder archived has been renamed from *dpdk-17.08* to *dpdk-stable-17.08* This is the only difference, but it is enough to make the md5sum fail. -- Gabriel Ganne From: Gabriel Ganne Se

Re: [vpp-dev] SR MPLS not effective

2017-11-28 Thread Pablo Camarillo (pcamaril)
Hi Xyxue, Could you please explain what you want to achieve with this config? Where do you want to start your SR policy? None of the configs that you described below for P will work. In the case #1 you are creating a SR policy with BSID 33. Then for any packet with incoming label 33 you will pu

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Gabriel Ganne
Hi Marco, I believe http://fast.dpdk.org/rel redirects to http://static.dpdk.org/rel/ I disagree on the md5 hashs. I have the following (NOK on 17.08, and OK on 17.11) : $ wget http://static.dpdk.org/rel/dpdk-17.08.tar.xz $ openssl md5 dpdk-17.08.tar.xz # is 0641f59ea8ea98afefa7cfa2699f6241

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Marco Varlese
Hi Gabriel, On Tue, 2017-11-28 at 09:19 +, Gabriel Ganne wrote: > Hi, > > > > > > I also have this issue on my machine, and I see on > > http://static.dpdk.org/rel/ that dpdk-17.08.tar.xz was written yesterday (27- > Nov-2017 13:00) > > Wouldn't it be possible that the archive was overw

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Gabriel Ganne
Hi, I also have this issue on my machine, and I see on http://static.dpdk.org/rel/ that dpdk-17.08.tar.xz was written yesterday (27-Nov-2017 13:00) Wouldn't it be possible that the archive was overwritten ? In which case, the hash would need to be updated. Also, this would probably not be s

Re: [vpp-dev] vpp-verify-master-opensuse build failure triage

2017-11-28 Thread Marco Varlese
Dear Dave, By the look of it is seemed to have been an hiccup with the download or that something spurious was left on the filesystem... === 12:08:13 Bad Checksum! Please remove /w/workspace/vpp-verify-master- opensuse/dpdk/dpdk-17.08.tar.xz and retry 12:08:13 Makefile:267: recipe for target '/w/w