Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Burt Silverman
My bad, again. I commented stuff out and forgot to go back and try to fix this file the way I did rtnl.c. This compiles -- not tested burts@burtvb:~/vppsb/router/router$ git diff . diff --git a/router/router/tap_inject_tap.c b/router/router/tap_inject_tap.c index 9650323..a3ec9ff 100644 ---

Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Burt Silverman
My bad. I forgot to say that I had eliminated the testrtnl_plugin.la from the Makefile.am; I assumed it was not needed. I guess that was laziness on my part. Burt On Wed, Sep 27, 2017 at 5:17 PM, Paweł Staszewski wrote: > ok added > > vnet/fib/ip4_fib.h > >

Re: [vpp-dev] Stable branch for 17.10 pulled

2017-09-27 Thread Luke, Chris
Great work, Florin! Cheers, Chris. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Florin Coras Sent: Wednesday, September 27, 2017 21:46 To: vpp-dev Subject: [vpp-dev] Stable branch for 17.10 pulled Folks, The release branch,

[vpp-dev] How to get event using event api by C?

2017-09-27 Thread ????????
Hi, I write a simple event client by C. But the program is not all right. Can anyone tell me the step is right? main.c Description: Binary data Makefile Description: Binary data ___ vpp-dev mailing list vpp-dev@lists.fd.io

[vpp-dev] Stable branch for 17.10 pulled

2017-09-27 Thread Florin Coras
Folks, The release branch, stable/1710, for VPP 17.10 has now been pulled and tags have been laid. As a result, master is yet again open for all changes. From this point onward, up until the release date on October 25th [1], we need to be disciplined with respect to bugfixes. Here is the

[vpp-dev] ?????? ?????? ?????? How to get interface stats using C api?

2017-09-27 Thread ????????
Thank you very much! After reading this email, I understand the calling event api process. But in the step 3, i do not know call which function and how to call? In the test/ext/vapi_c_test.c, i can not find the function proto which in using. Can you write a simple client which get stat event by

Re: [vpp-dev] mprove Performance of Kube-proxy and GTP-U using VPP

2017-09-27 Thread Ni, Hongjun
Hi Tran, Please see below configuration for gtpu-encap, which I used for test: set int state TenGigabitEthernet5/0/0 up set int ip table TenGigabitEthernet5/0/0 0 set int ip address TenGigabitEthernet5/0/0 192.168.50.72/24 ip route add 192.168.50.71/24 via 192.168.50.72 TenGigabitEthernet5/0/0

Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Paweł Staszewski
hmm another error Building router in /git/vpp/build-root/build-vpp_debug-native/router make[1]: Entering directory '/git/vpp/build-root/build-vpp_debug-native/router'   CC   router/tap_inject.lo   CC   router/tap_inject_netlink.lo   CC   router/tap_inject_node.lo   CC   

Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Paweł Staszewski
ok added vnet/fib/ip4_fib.h vnet/fib/ip6_fib.h to test.c going next try:) W dniu 2017-09-27 o 23:06, Paweł Staszewski pisze: After adding this patch other problem:) Building netlink in /git/vpp/build-root/build-vpp_debug-native/netlink make[1]: Entering directory

Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Michael Borokhovich
Thanks a lot, Burt! I will try this. On Wed, Sep 27, 2017 at 4:04 PM, Burt Silverman wrote: > The basic "include-what-you-use" philosophy would say that it is *smart* > (vs. necessary) to add the #include you added, Michael, but on the other > hand, I believe vppinfra/file.h

Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Michael Borokhovich
Thanks, Burt! I've realized that I also need to add #include to the rtnl.c However it says: "*fatal error: *vppinfra/file.h: No such file or directory" Do you have any suggestions for this? Otherwise, I will try to figure it out. Michael. On Wed, Sep 27, 2017 at 2:06 PM, Burt Silverman

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread John Lo (loj)
I am able to use memfd with 14.04 by updating its kernel to 3.19 (my 14.04 kernel was 3.13 before the update). I also had to add the following to /usr/include/x86_64-linux-gnu/asm/unistd_64.h #define __NR_memfd_create 319 Hope this works for you, John From: vpp-dev-boun...@lists.fd.io

Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Burt Silverman
Hi Michael, I came up with a patch that compiles, but I have not tested it. Hopefully it is this simple: burts@burtvb:~/vppsb/netlink/librtnl$ git diff . diff --git a/netlink/librtnl/rtnl.c b/netlink/librtnl/rtnl.c index 04f0440..fa31617 100644 --- a/netlink/librtnl/rtnl.c +++

Re: [vpp-dev] Failed to build vpp with vppsb

2017-09-27 Thread Michael Borokhovich
Hi Burt, Pawel, Did you eventually manage to install the router plugin with the latest VPP? Thanks, Michael. On Tue, Sep 19, 2017 at 6:05 PM, Burt Silverman wrote: > Same problem here. I guess the vlib code was updated but the vppsb has not > caught up. > > Burt > > On Mon,

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread Florin Coras
Hi xyxue, VPP now has a dependency on memfd which is not available in 14.04. Unfortunately, that means you’ll have to switch to ubuntu 16.04. Florin > On Sep 27, 2017, at 1:34 AM, 薛欣颖 wrote: > >> Hi Florin, >> > There is a compile error:not support ‘__NR_memfd_create’

[vpp-dev] problem with double tagged packet on host interface (af-packet-input)

2017-09-27 Thread Balaji Kn
Hello, I am working on VPP 17.07. I have created a sub-interface on host-interface with double tag (QinQ) and exact match. Intention was to dedicate this sub-interface for processing double tagged packets received on host interface with exact match. *create sub-interface GigabitEthernet0/9/0 20

Re: [vpp-dev] deadlock issue in VPP during DHCP packet processing

2017-09-27 Thread Balaji Kn
Hi John, Applying the patch to 17.07 tree did not solved the issue.I am observing many compilation issues with latest image of master and could not verify. Am i missing anything? Regards, Balaji On Tue, Sep 26, 2017 at 7:15 PM, John Lo (loj) wrote: > There was a patch

[vpp-dev] NAT plugin -- Input ACL support before NAT and Multiple outside interfaces

2017-09-27 Thread st.linux.ily via vpp-dev
Hi Matus, From https://lists.fd.io/pipermail/vpp-dev/2017-March/004393.html, I know it's  support multiple outside interfaces. But how to make the taffic do the correct  NAT action? For example: traffic to 192.168.20.22 will go to host-wan1 with 192.168.20.20 as new source  ip; traffic to 

[vpp-dev] VPP Python version policy

2017-09-27 Thread Ole Troan
In light of the recent debate on the C/C++ API patch and consequences of adding Python 3 tools for Linux distros. Here is a VPP Python Version Policy Proposal. Or VPPPVPP for short. ;-) - All Python tools used as part of the VPP build MUST use Python 2. (I include the automated unit testing

[vpp-dev] VPP @ Hackathon IETF 100

2017-09-27 Thread Ole Troan
All, We have taken VPP to the IETF hackathon, and apart from winning, shown how useful it is for the IETF to have an open source data plane to ensure it's principle of "running code first". In the past we have done Source Address Dependent Routing, ILA, SFC. For IETF 100 I'm going to be there

Re: [vpp-dev] 回复: 回复: How to get interface stats using C api?

2017-09-27 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
There are new C and C++ APIs added recently to vpp source code along with test programs. You can take a look at test/ext/vapi_c_test.c and vapi_cpp_test.cpp. Functions receiving stats are named test_stats_XXX(). These are there to verify that receiving events works. Functionally, these are the