Re: [vpp-dev] make test-all

2017-11-13 Thread Ole Troan
Klement, > I don't know what to tell you ... I was never a fan of getting the API > trace post test run and putting it into test log (which is the cause > of 25MB allocation in this case - it's the CLI output) - from my POV > this is duplicate information as every API call is already logged >

[vpp-dev] NAT API change (was: Re: ACLAPI Change)

2017-11-13 Thread Ole Troan
Jon, [...] > Which is all pretty much fine... Except that it continues to use a > field named "is_inside", and when passed _back_ to the Client in a > DUMP/DETAIL, > message, it is a tri-state value: > is_inside == 0 <==> "outside" > is_inside == 1 <==> "inside" > is_inside == 2

[vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-13 Thread Justin Iurman
Guys, My node is located right before ip4_lookup. What's the fastest/cleanest way to get options related to a TCP packet, having access to a tcp_header_t structure (which is not directly linked to its options) ? Actually, I'd like to modify or remove some options on the fly. Do I have to

[vpp-dev] Packet Generator for TCP traffic

2017-11-13 Thread Justin Iurman
Guys, I'm facing the same problem as explained by someone else in this thread ( https://lists.fd.io/pipermail/vpp-dev/2016-June/001445.html ) which is not solved. Actually, I'm just trying to generate some TCP traffic and it "works" by removing "TCP: sport -> dport" and "SYN" lines. Well...

[vpp-dev] ACL API Change

2017-11-13 Thread Jon Loeliger
Folks, So, yeah, I was just blind-sided by an API change in the ACL code. Not to name names, or anything by it was commit 36ea2d6d3a67a60534a7c2b58551688858a1ce7f One armed NAT (VPP-1035) Use a single physical interface in order to accomplish NAT44/NAT64. That patch also

Re: [vpp-dev] vlib_validate_buffer_enqueue

2017-11-13 Thread Justin Iurman
Dave, Thanks for your (deep) explanation. Same for Chris, thank you :-) Justin > Dear Justin, > > Quad-loops are generally not effective for table-lookup-intensive tasks. At a > certain point, gcc runs out of registers and starts putting hot variables onto > the stack. I've converted a number

Re: [vpp-dev] ACL

2017-11-13 Thread Yuliang Li
It works! Thanks. Another question: if I want to use ACL plugin in non-debug build (say, build-release), is can I use vat? Or I need to use the python code? On Mon, Nov 13, 2017 at 12:06 PM, Andrew Yourtchenko wrote: > “Make build” in the VPP directory will get you a debug

[vpp-dev] Router plugin and MPLS

2017-11-13 Thread Michael Borokhovich
Hi, Does router plugin (vppsb) support MPLS? We would like to use FRR's LDP in the control plane and VPP in the data plane. Thanks, Michael. ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] ACL

2017-11-13 Thread Andrew Yourtchenko
“Make build” in the VPP directory will get you a debug build. The $1 and such is just standard shell scripting, in case I need to pass some parameters to vat. I don’t think I had ever needed them... --a > On 13 Nov 2017, at 17:40, Yuliang Li wrote: > > Maybe this is a

Re: [vpp-dev] Flowprobe Question

2017-11-13 Thread Ole Troan
Hi Johan, You have a route to 192.168.65.2? Nothing shows up in "show error"? You can look at test/test_flowprobe.py for examples. And you might also try a make test TEST=flowprobe to ensure your build works. On second pass on your configuration. You have enabled flow collection in the L2

Re: [vpp-dev] ACL

2017-11-13 Thread Yuliang Li
Maybe this is a stupid question.. Does vat have to work with debug builds? And how to do the debug builds? What are the $1~$5 in your script? Thanks, Yuliang On Mon, Nov 13, 2017 at 3:03 AM, Andrew Yourtchenko wrote: > When just running vat from within the source tree, it

[vpp-dev] Flowprobe Question

2017-11-13 Thread MUEDSAM, JOHAN
Hi, I'm trying to capture IPFIX records of traffic on my VPP managed interfaces. So far I haven't been able to see any templates or IPFIX records in my collector. Here's my VPP setup (from the progressive tutorial), I'm using a docker container with Ubuntu 16.04 and the binary VPP master

Re: [vpp-dev] vlib_validate_buffer_enqueue

2017-11-13 Thread Dave Barach (dbarach)
Dear Justin, Quad-loops are generally not effective for table-lookup-intensive tasks. At a certain point, gcc runs out of registers and starts putting hot variables onto the stack. I've converted a number of dual loops into quad loops, only to discover that they're no faster than the dual loop

Re: [vpp-dev] make test-all

2017-11-13 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
I don't know what to tell you ... I was never a fan of getting the API trace post test run and putting it into test log (which is the cause of 25MB allocation in this case - it's the CLI output) - from my POV this is duplicate information as every API call is already logged in-place when it's

Re: [vpp-dev] vlib_validate_buffer_enqueue

2017-11-13 Thread Luke, Chris
The x4 variant was introduced chronologically after the sample plugin and nobody went back to update it. However, generally speaking the four-wide-stride is only beneficial in some cases, the reasoning for which is a bit arcane based on the likelihood of being able to keep the CPU cache primed

[vpp-dev] vlib_validate_buffer_enqueue

2017-11-13 Thread Justin Iurman
Hey guys, In buffer_node.h, there are the following macros: - vlib_validate_buffer_enqueue_x1 - vlib_validate_buffer_enqueue_x2 - vlib_validate_buffer_enqueue_x4 In a node, I was just wondering what was the use idea behind that ? Is it for a reason of speed ? I mean, you're obviously faster if

[vpp-dev] Packets don't go to MacSwap plugin.

2017-11-13 Thread آرش مویدی
Hi devs, Setting IP address and pinging works great in VPP but enabling MacSwap plugin causes the packets to get stuck in dpdk-input node. This is the trace after enabling MacSwap plugin: Packet 1 00:02:07:857385: dpdk-input GigabitEthernet0/9/0 rx queue 0 buffer 0xddb4: current data 0,

Re: [vpp-dev] VPP 17.07 file not found and option not found for vppctl

2017-11-13 Thread Luke, Chris
There’s no reason that I know of that would cause this to change for master. Try looking in your system log, or run them in separate windows with the “interactive” keyword to get diagnostic output to the console to see why it is unhappy. Chris. From: sample project

Re: [vpp-dev] dpdk external

2017-11-13 Thread Marco Varlese
Hi, On Sun, 2017-11-12 at 12:08 +, Shachar Beiser wrote: > Hi, > > > > I followed the instructions in the previous email, but it is still not > working. ( See the compilation issue down below) > > Could be that issue is in the DPDK compilation and not in the VPP itself > ? > >

Re: [vpp-dev] make test-all

2017-11-13 Thread Dave Barach (dbarach)
Try increasing the size of the shared-memory API segment. An allocation of 25mb is failing. You might ask yourself how sane it is to generate that much output. Thanks… Dave -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Klement

Re: [vpp-dev] problem with vppctl restart

2017-11-13 Thread Luke, Chris
Please file a bug in Jira with the component “CLI”. This is an interaction issue between VPP and vppctl; it seems to restart fine for me but, as you say, vppctl hangs. We need to have VPP actively kill open CLI sessions upon restart. Chris. From: vpp-dev-boun...@lists.fd.io

Re: [vpp-dev] make test-all

2017-11-13 Thread Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
Hi Gabriel, no, I don't they are... the argument being that it takes too long IIRC. Thanks, Klement Quoting Gabriel Ganne (2017-11-13 10:36:25) >Hi Klement, > >Are those extended tests run on a regular basis anywhere ? >I do not see them called within any of the the continuous

[vpp-dev] problem with vppctl restart

2017-11-13 Thread chore
Dear Team, A problem observed when i was trying to run "vppctl restart" command in 17.10 version of vpp. I had tested this command in 17.07v and it had returned Misc error. however in 17.10v after entering this command vppctl never returns any prompt.

Re: [vpp-dev] ACL

2017-11-13 Thread Andrew Yourtchenko
When just running vat from within the source tree, it needs to know the path for the plugins, for debug builds I usually have the following small shell script which takes care of this without requiring me thinking every time (of course needs to be launched from the vpp top directory since it