Re: [vpp-dev] JVPP API for adding MPLS local label

2017-09-11 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, java APIs are generated based on .api files, so even better question would be what is binary API equivalent of mpls local-label add CLI command. My guess it is the mpls_ip_bind_unbind from mpls.api: /** \brief Bind/Unbind an MPLS local label to an IP prefix. i.e. create a per-pref

Re: [vpp-dev] VPP contribute

2017-09-11 Thread Shachar Beiser
Hi Dave, Is there a simple solution to the “hooks/commit-msg” I have ? -Shachar Beiser. [shacharbe@pegasus08 vpp]$ git review Using global/system git-review config files (/etc/git-review/git-review.conf) is deprecated /usr/lib/python2.7/site-packages/urllib3/connectionpool.py

Re: [vpp-dev] Icmp support in Stateful ACL

2017-09-11 Thread Andrew Yourtchenko
Thanks for the contribution! Yep, I posted some comments. In short: I think it needs some more work. One additional comment that I forgot to mention in the review: I would really love to see unittests... --a > On 11 Sep 2017, at 17:53, Ed Warnicke wrote: > > Andrew, > Could you have a

Re: [vpp-dev] u32 vs uint32_t

2017-09-11 Thread Luke, Chris
Thanks. To be honest I would prefer using the standard type, but I also have a much stronger preference for consistency. Chris. From: Neale Ranns (nranns) [mailto:nra...@cisco.com] Sent: Monday, September 11, 2017 1:18 PM To: Dave Barach (dbarach) ; Dave Wallace ; Florin Coras ; Luke, Chris

Re: [vpp-dev] JVPP API for adding MPLS local label

2017-09-11 Thread Neale Ranns (nranns)
Hi Jozef, It’s mpls_route_add_del Regards, neale From: on behalf of Jozef Glončák Date: Monday, 11 September 2017 at 13:48 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] JVPP API for adding MPLS local label Hello developers, I would like substitude this VPP CLI command mpls local-label a

Re: [vpp-dev] u32 vs uint32_t

2017-09-11 Thread Neale Ranns (nranns)
+1. I’ll patch the uses of uin32_t. /neale From: on behalf of "Dave Barach (dbarach)" Date: Monday, 11 September 2017 at 18:59 To: Dave Wallace , Florin Coras , "Luke, Chris" Cc: vpp-dev Subject: Re: [vpp-dev] u32 vs uint32_t +1, let’s stick with u32... Thanks… Dave From: vpp-dev-boun...@

Re: [vpp-dev] u32 vs uint32_t

2017-09-11 Thread Dave Barach (dbarach)
+1, let’s stick with u32... Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Dave Wallace Sent: Monday, September 11, 2017 12:36 PM To: Florin Coras ; Luke, Chris Cc: vpp-dev Subject: Re: [vpp-dev] u32 vs uint32_t +1 On 09/11/2017 11:27 AM, Flori

Re: [vpp-dev] u32 vs uint32_t

2017-09-11 Thread Dave Wallace
+1 On 09/11/2017 11:27 AM, Florin Coras wrote: Hi Chris, Personally, I’d like to enforce the use of u32. Is it an option to just replace all occurrences of uint32_t in ip.h/mpls.h? Thanks, Florin On Sep 11, 2017, at 7:55 AM, Luke, Chris > wrote: For discussi

Re: [vpp-dev] Icmp support in Stateful ACL

2017-09-11 Thread Ed Warnicke
Andrew, Could you have a look? Ed On Mon, Sep 11, 2017 at 2:37 AM, chore wrote: > Dear Team > > I had a commit in acl plugin to support Icmp proto in Stateful ACL. please > kindly review the changes . > > Best Regards, > Chore > > _

Re: [vpp-dev] [tsc] FD.io Jenkins Maintenance: 2017-09-07 @ 0415 UTC (9:15am PDT)

2017-09-11 Thread Vanessa Valderrama
The change is made, I'll be monitoring trends throughout the day. Please contact me via IRC valderrv if you experience any issues related to timeouts or increate in build times. Thank you, Vanessa On 09/11/2017 10:29 AM, Florin Coras wrote: > Thanks, Vanessa! > > Florin > >> On Sep 11, 2017, at

Re: [vpp-dev] [tsc] FD.io Jenkins Maintenance: 2017-09-07 @ 0415 UTC (9:15am PDT)

2017-09-11 Thread Florin Coras
Thanks, Vanessa! Florin > On Sep 11, 2017, at 7:53 AM, Vanessa Valderrama > wrote: > > Switching VPP jobs to new instances. This change should stabilize build > times. > > Thank you, > Vanessa > > On 09/08/2017 01:51 PM, Vanessa Valderrama wrote: >> While the build timeouts issue appears t

Re: [vpp-dev] u32 vs uint32_t

2017-09-11 Thread Florin Coras
Hi Chris, Personally, I’d like to enforce the use of u32. Is it an option to just replace all occurrences of uint32_t in ip.h/mpls.h? Thanks, Florin > On Sep 11, 2017, at 7:55 AM, Luke, Chris wrote: > > For discussion: VPP has traditionally used its own fixed-width types, such as > u32 and

[vpp-dev] u32 vs uint32_t

2017-09-11 Thread Luke, Chris
For discussion: VPP has traditionally used its own fixed-width types, such as u32 and u64 and only uses standard types when referring to the external world (eg, to talk to libc, etc). Recently I've noticed the C99 variant, uint32_t creeping in more and into VPP internal matters. As a matter of s

Re: [vpp-dev] FD.io Jenkins Maintenance: 2017-09-07 @ 0415 UTC (9:15am PDT)

2017-09-11 Thread Vanessa Valderrama
Switching VPP jobs to new instances. This change should stabilize build times. Thank you, Vanessa On 09/08/2017 01:51 PM, Vanessa Valderrama wrote: > While the build timeouts issue appears to be resolved, there does seem > to be an increase in build times for various VPP jobs. We are aware > of

Re: [vpp-dev] vhost-user stable implementation?: VPP native or DPDK

2017-09-11 Thread Steven Luong (sluong)
If you create the VIrtualEthernet interface via the CLI or binary API, it always uses VPP native. If you create the virtual interface via vdev in the dpdk clause in the startup file, it uses dpdk’s vhost-user. The problem is in DPDK virtio-user that they don’t comply with virtio1.0 spec. I subm

Re: [vpp-dev] Regarding vxlan_tool.py in SFC vNF

2017-09-11 Thread Srikanth Lingala
Hi Hongjun, If I use vxlan_tool.py by stopping VPP in the SFC VM, packets are getting fine. Following are the vxlan_tool.py logs: Packet #1 Eth Dst MAC: fa:16:3e:8b:b7:1e, Src MAC: 28:b6:80:5b:79:b0, Ethertype: 0x0800 IP Version: 4 IP Header Length: 5, TTL: 64, Protocol: 17, Src IP: 123.123.123.

Re: [vpp-dev] Regarding vxlan_tool.py in SFC vNF

2017-09-11 Thread Ni, Hongjun
Hi Srikanth, Sorry for delayed response, because I am on a business travel. >From your email and "show int", it seems that your packets are dropped on RX. Please "show error" and uses packet trace to get the cause of packets dropped. -Hongjun From: Srikanth Lingala [mailto:srikanth.ling...@nxp

Re: [vpp-dev] VPP contribute

2017-09-11 Thread Dave Barach (dbarach)
That’s right, no need to send patches to a mailing list. In fact, please don’t send patches to this list. (😊)... Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Shachar Beiser Sent: Monday, September 11, 2017 7:48 AM To: vpp-dev@lists.fd.io Cc: D

[vpp-dev] JVPP API for adding MPLS local label

2017-09-11 Thread Jozef Glončák
Hello developers, I would like substitude this VPP CLI command mpls local-label add eos 101 ip4-lookup-in-table 1 with JVPP API call, but I am not able to find equivalent. Is it possible? Jozef Glončák Pantheon Technologies, s. r. o. ___ vpp-dev

Re: [vpp-dev] VPP contribute

2017-09-11 Thread Damjan Marion (damarion)
On 11 Sep 2017, at 13:47, Shachar Beiser mailto:shacha...@mellanox.com>> wrote: Hi , I contribute to the VPP for the first time. I am following the instructions in your web-site : https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Setting_up_Gerr

[vpp-dev] VPP contribute

2017-09-11 Thread Shachar Beiser
Hi , I contribute to the VPP for the first time. I am following the instructions in your web-site : https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Setting_up_Gerrit Is that it ? don't I need to send my patches to the mailing-list ?

Re: [vpp-dev] Running CLI against named vpp instance

2017-09-11 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Ed, sudo vpp api-segment { prefix vpp1 } unix { cli-listen /run/vpp/cli.vpp1.sock } + vppctl -s /run/vpp/cli.vpp1.sock works indeed, but then sudo vpp api-segment { prefix vpp2 } unix { cli-listen /run/vpp/cli.vpp2.sock } does not start. But anyway I was able to run vpp in docker and don’t nee

[vpp-dev] Icmp support in Stateful ACL

2017-09-11 Thread chore
Dear Team I had a commit in acl plugin to support Icmp proto in Stateful ACL. please kindly review the changes . Best Regards, Chore ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-

Re: [vpp-dev] [csit-dev] make test python segfault in ubuntu 16.04

2017-09-11 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
Dave, the tests are not run in parallel. For each testcase *class* a new vpp is started and all the tests which are members of that class are run against that vpp. Then the vpp is killed and another class is picked. We use a helper thread to "pump" stdout & stderr from vpp to the logger, motivati

Re: [vpp-dev] Query for IPSec support on VPP

2017-09-11 Thread Sergio Gonzalez Monroy
Hi Mukesh, I am by no means an expert on the matter but after talking to some folks my understanding is that it is a common feature (uRPF). This issue has nothing to do with IPsec though, I am pretty sure you could reproduce the issue with other tunnels too. Note that uRPF would apply to pack

[vpp-dev] VPP API Freeze September 13

2017-09-11 Thread Florin Coras
All, On September 13th end of day PST we enter VPP API freeze for the upcoming 17.10 release. Subsequently, we will not be accepting binary API patches nor high-risk changes on the main branch. API freeze will last until September 27th when 17.10 stable branch will be created and master will

Re: [vpp-dev] Build vpp on openwrt

2017-09-11 Thread Pierre Pfister (ppfister)
Hello. I didn't try it. But the hardest is probably not to build VPP in an OpenWrt system. I'd dare say it would be easy if OpenWrt is compiled for x86 target. The real question is what platform do you want to compile OpenWrt for ? - Pierre Le 9 sept. 2017 à 03:18, yug...@telincn.com

[vpp-dev] questions about bihash

2017-09-11 Thread chupenghong
hi,all when a writer adds or deletes some elements in a bucket of a hash table, the bihash algorithm tries to making a working copy of the bucket and the reader may use the working copy to search. However, it is possible for the reader to use the bucket to search before the writer makes the wor