Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Sergio Gonzalez Monroy
Hi, So I gather that: 1. DPDK and the SW crypto libraries are building without errors 2. Only OpenSUSE displays this behavior. Only thing I can think of is that configure has different default libdir directory in OpenSUSE? Could you show the output of the following command: grep "libdir:" bu

Re: [vpp-dev] VPP compile error building vpp ipsec on Fed 26

2017-08-14 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
Same happens on arch. At some point of time, openssl dropped the definitions of some structures which vpp uses directly and made them opaque to user, so instead of embedding them, application has to hold pointers and use the suplied XXX_Init-like functions... Regards, Klement Quoting Thomas F Her

Re: [vpp-dev] VPP compile error building vpp ipsec on Fed 26

2017-08-14 Thread Sergio Gonzalez Monroy
Hi Tom, Some APIs currently used in VPP have been deprecated in OpenSSL 1.1, it would require some rework . It seems there is already a Jira ticket for it VPP-569 Thanks, Sergio On 13/08/2017 22:45, Thomas F Herbert wrote: I am getting a compile error

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Marco Varlese
>>> Sergio Gonzalez Monroy 08/14/17 9:17 AM >>> >>> > Hi, > > So I gather that: > 1. DPDK and the SW crypto libraries are building without errors > 2. Only OpenSUSE displays this behavior. > > Only thing I can think of is that configure has different default libdir > directory in OpenSUSE? >

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Marco Varlese
Hi Sergio, I tried on a different machine and I got this: libdir: ${exec_prefix}/lib64 Thanks, Marco >>> Marco Varlese 08/14/17 10:04 AM >>> >>> Sergio Gonzalez Monroy 08/14/17 9:17 AM >>> >>> > Hi, > > So I gather that: > 1. DPDK and the SW crypto libraries are building without e

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Sergio Gonzalez Monroy
On 14/08/2017 09:04, Marco Varlese wrote: Sergio Gonzalez Monroy 08/14/17 9:17 AM >>> Hi, So I gather that: 1. DPDK and the SW crypto libraries are building without errors 2. Only OpenSUSE displays this behavior. Only thing I can think of is that configure has different default libdir dire

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Marco Varlese
Hi Dave, It is not missing (see my prev email). It's being placed in .../lib64 (I suppose correctly) when being built but then is looked into .../lib at cp (install?) time. By doing some manual magic I can get it to work but I can't find the place to fix this properly Regards, Marco

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Sergio Gonzalez Monroy
On 14/08/2017 09:11, Marco Varlese wrote: Hi Sergio, I tried on a different machine and I got this: libdir: ${exec_prefix}/lib64 That confirms that ./configure is setting a different libdir in OpenSUSE than RHEL/Ubuntu. I'll fix that by forcing libdir to always be ${exec_prefix}/li

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Marco Varlese
On Mon, 2017-08-14 at 08:17 +0100, Sergio Gonzalez Monroy wrote: > > Hi, > >    > >   So I gather that: > >   1. DPDK and the SW crypto libraries are building without errors > >   2. Only OpenSUSE displays this behavior. > >    > >   Only thing I can think of is t

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Sergio Gonzalez Monroy
On 14/08/2017 09:25, Marco Varlese wrote: On Mon, 2017-08-14 at 08:17 +0100, Sergio Gonzalez Monroy wrote: Hi, So I gather that: 1. DPDK and the SW crypto libraries are building without errors 2. Only OpenSUSE displays this behavior. Only thing I can think of is that configure has different de

[vpp-dev] Do we have any plan to support DNAT

2017-08-14 Thread Ni, Hongjun
Hey guys, Do we have any plan to support DNAT feature? Thanks, Hongjun ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Marco Varlese
On Mon, 2017-08-14 at 09:37 +0100, Sergio Gonzalez Monroy wrote: > > On 14/08/2017 09:25, Marco Varlese >   wrote: > > > > >    > >   On Mon, 2017-08-14 at 08:17 +0100, Sergio Gonzalez Monroy > > wrote: > > > > > Hi, > > > > > >    > > > > > >

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Sergio Gonzalez Monroy
On 14/08/2017 09:46, Marco Varlese wrote: On Mon, 2017-08-14 at 09:37 +0100, Sergio Gonzalez Monroy wrote: On 14/08/2017 09:25, Marco Varlese wrote: On Mon, 2017-08-14 at 08:17 +0100, Sergio Gonzalez Monroy wrote: Hi, So I gather that: 1. DPDK and the SW crypto libraries are building without

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Marco Varlese
On Mon, 2017-08-14 at 09:50 +0100, Sergio Gonzalez Monroy wrote: > > On 14/08/2017 09:46, Marco Varlese >   wrote: > > > > >    > >   On Mon, 2017-08-14 at 09:37 +0100, Sergio Gonzalez Monroy > > wrote: > > > > > On 14/08/2017 09:25, Marco Varlese > > >

[vpp-dev] Missing libvppsocketwrapper library

2017-08-14 Thread Tomáš Jančiga
Hi all, I'd like to test the host stack implemented in VPP using the LD_PRELOAD trick. It's used also by test/scripts/socket_test.sh but it uses wrapper library libvppsocketwrapper which is missing in VPP sources. I'd like to ask you if you have some draft changes implementing the wrapper librar

Re: [vpp-dev] VPP compile error building vpp ipsec on Fed 26

2017-08-14 Thread Thomas F Herbert
On 08/14/2017 03:39 AM, Sergio Gonzalez Monroy wrote: Hi Tom, Some APIs currently used in VPP have been deprecated in OpenSSL 1.1, it would require some rework . It seems there is already a Jira ticket for it VPP-569 Thanks. I updated JIRA ticket with i

Re: [vpp-dev] Missing libvppsocketwrapper library

2017-08-14 Thread Dave Wallace
Tomas, The LD_PRELOAD library is under review and will be committed to the vpp sandbox project shortly (...vppsb/vcl-ldpreload). I will be pushing a patch to refactor socket_test.sh to allow setting of an environment variable to point to the correct location of the VCL LD_PRELOAD library onc

[vpp-dev] Host stack TCP

2017-08-14 Thread hamid nak
Hi all, I don't know how to run builtin_server and builtin_client examples. Also don't know how to set LD_PRELOAD to run every native application on top of vpp. Please help! ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Burt Silverman
FYI, I had updated nasm by building from source -- I should have been more clear about that in my earlier note -- openSUSE version of nasm was too old -- after I updated nasm by building and installing it, the errors I saw were the ones Marco you reported. Before that I was seeing other errors. He

Re: [vpp-dev] Missing libvppsocketwrapper library

2017-08-14 Thread Tomáš Jančiga
OK, thank you Dave, Tomas Od: Dave Wallace Odoslané: pondelok, 14. augusta 2017 15:37:29 Komu: vpp-dev@lists.fd.io Predmet: Re: [vpp-dev] Missing libvppsocketwrapper library Tomas, The LD_PRELOAD library is under review and will be committed to the vpp sandbox

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Burt Silverman
Hi Sergio, That seems like poor practice. I use "objdump -x /usr/lib/" and the same under lib64 rather than lib to see that different file formats exist in these two directories -- that appears to be the intended openSUSE design. Your dpdk/Makefile hard codes the use of lib. Shouldn't you be fixi

Re: [vpp-dev] Issues building latest master

2017-08-14 Thread Sergio Gonzalez Monroy
On 14/08/2017 15:43, Burt Silverman wrote: Hi Sergio, That seems like poor practice. I use "objdump -x /usr/lib/" and the same under lib64 rather than lib to see that different file formats exist in these two directories -- that appears to be the intended openSUSE design. Your dpdk/Makefile

Re: [vpp-dev] Host stack TCP

2017-08-14 Thread Dave Wallace
Hamid, The VCL LD_PRELOAD library is under review and will be committed in the VPP Sandbox project shortly (.../vppsb/vcl-ldpreload). It is early in development and is not at a stage where you can run every native socket application on top of vpp. If you are interested in helping achieve th

[vpp-dev] MPLS labels question

2017-08-14 Thread Michael Borokhovich
Hi, I'm adding a label using the following command: ip route add 10.100.2.0/24 table 1 via 10.100.4.12 GigabitEthernet0/6/0 out-label 222 And on the receiving side poping it with: set interface mpls GigabitEthernet0/6/0 enable mpls local-label 222 ip4-lookup-in-table 1 However, this didn't wor

Re: [vpp-dev] Host stack TCP

2017-08-14 Thread Florin Coras
Hi Hamid, To run the builtin client/server do test tcp [server|clients] To see the cli options, just execute the command appended with “?”. The options list not complete right now but this patch [1] fixes that. Hope it helps, Florin [1] https://gerrit.fd.io/r/#/c/8041/

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Алексей Болдырев
А как можно навесить несколько меток на маршрут?14.08.2017, 18:58, "Michael Borokhovich" :Hi,I'm adding a label using the following command: ip route add 10.100.2.0/24 table 1 via 10.100.4.12 GigabitEthernet0/6/0 out-label 222And on the receiving side poping it with: set interface mpls GigabitEth

Re: [vpp-dev] Host stack TCP

2017-08-14 Thread Dave Wallace
[1] has been merged. On 08/14/2017 12:03 PM, Florin Coras wrote: Hi Hamid, To run the builtin client/server do test tcp [server|clients] To see the cli options, just execute the command appended with “?”. The options list not complete right now but this patch [1] fixes that. Hope it helps

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Neale Ranns (nranns)
Hi Michael, ‘add’ is the default. It’s necessary to specify ‘eos’ because it I the end-of-stack entry you are adding and the default (i.e. without ‘eos’) is to add the non-end-of-stack entry. Regards, neale From: on behalf of Michael Borokhovich Date: Monday, 14 August 2017 at 16:58 To: "v

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Neale Ranns (nranns)
On master branch the CLI has changed subtlety to allow one to specify multiple output-labels: ip route add 10.100.2.0/24 table 1 via 10.100.4.12 GigabitEthernet0/6/0 out-labels 222 333 note the change from ‘out-label’ to ‘out-labels’. In older versions passing multiple

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Neale Ranns (nranns)
There is no limit to the number of labels that can be specified. /neale From: on behalf of "Neale Ranns (nranns)" Date: Monday, 14 August 2017 at 18:03 To: Алексей Болдырев , Michael Borokhovich , "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] MPLS labels question On master branch the CLI h

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Michael Borokhovich
I see.. so there is a need to add the "add eos" to the "mpls local-label" command if I want to send the packet to the IP lookup after popping a single (the only) label. Thanks, Neale! On Mon, Aug 14, 2017 at 1:01 PM, Neale Ranns (nranns) wrote: > > > Hi Michael, > > > > ‘add’ is the default. >

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Neale Ranns (nranns)
No, not quite. There’s a need to add ‘eos’ if you want the label entry to match against that label AND against the set EOS bit. An MPLS lookup is really a 21 bit match; 20 bits of label value and 1 bit EOS. It only makes sense to send EOS traffic to IP lookup. Sending non-EOS traffic to a IP lo

Re: [vpp-dev] [csit-dev] about UT test framework for VPP

2017-08-14 Thread Billy McFall
I am trying to run "make test" on a CentOS bare metal server. I'm getting "Exception: Illegal syntax for IP address". What do I need to setup/configure on my server before running "make test"? Thanks, Billy McFall $ make test V=2 make -C /home/bmcfall/dev/2017_08_14_VPP_Master/vpp/build-root PLA

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Michael Borokhovich
Thanks a lot for the explanation, Neale! I actually need that all incoming traffic with label 222 will go to a specific VRF (table 1). So, as I understand, this can be achieved by: mpls local-label add eos 222 ip4-lookup-in-table 1 And in this case, it seems that I always have to use "add eos".

Re: [vpp-dev] Do we have any plan to support DNAT

2017-08-14 Thread Ole Troan
Hongjun, > Do we have any plan to support DNAT feature? Source NAT and Destination NAT are concepts of the Linux iptables implementation. The VPP NAT feature called SNAT. For _Simple_ NAT, was perhaps not the best naming choice. ;-) We did discuss renaming it to just NAT at some point. And ye

[vpp-dev] VPP Packet Generator and pg0 IP address

2017-08-14 Thread Michael Borokhovich
Hi, Is it true that in VPP 1707 we have to give IP to the pg0 interface? In the previous VPP version (1609), the packet generator worked without IP address on pg0, but in 1707 it gives "ip4 adjacency drop" and no packets come out. Configuring pg0 with some fake IP worked. Thanks, Michael. __

[vpp-dev] VPP Performance drop from 17.04 to 17.07

2017-08-14 Thread Billy McFall
In the last VPP call, I reported some internal Red Hat performance testing was showing a significant drop in performance between releases 17.04 to 17.07. This with l2-bridge testing - PVP - 0.002% Drop Rate: VPP-17.04: 256 Flow 7.8 MP/s 10k Flow 7.3 MP/s 1m Flow 5.2 MP/s VPP-17.07: 256 Flow 7

Re: [vpp-dev] MPLS labels question

2017-08-14 Thread Алексей Болдырев
Скажите пожалуйста, умеет ли vpp отображать процесс в трассировке о надивании и снятии MPLS-меток?Как например тут:traceroute to kernel.org (198.145.29.83), 30 hops max, 60 byte packets 1  10.247.1.1 (10.247.1.1)  0.095 ms  0.127 ms  0.122 ms 2  100.64.0.1 (100.64.0.1)  0.765 ms  0.753 ms  0.893 ms

Re: [vpp-dev] Do we have any plan to support DNAT

2017-08-14 Thread Ni, Hongjun
Hi Ole, Thank you for detailed explanation. Will give it a try. -Hongjun -Original Message- From: Ole Troan [mailto:otr...@employees.org] Sent: Tuesday, August 15, 2017 4:24 AM To: Ni, Hongjun Cc: vpp-dev Subject: Re: [vpp-dev] Do we have any plan to support DNAT Hongjun, > Do we h