Re: [vpp-dev] Build failures on master

2017-06-01 Thread Florin Coras
Hi Tomas, That sure is weird. (backup everything that’s not in git) git clean -fdx make bootstrap make build Do you still see the issue? HTH, Florin > On Jun 1, 2017, at 6:18 AM, Tomas Brännström > wrote: > > Hi > I'm getting build errors when trying to build a recent commit on the maste

Re: [vpp-dev] set mapping from node to thread

2017-07-07 Thread Florin Coras
Hi Yuliang, Are you running with dpdk or with tap/af_packet interfaces? As far as I remember multithreading for the last two might not work properly. Florin > On Jul 7, 2017, at 5:55 PM, Yuliang Li wrote: > > I printed 3 thread_index, and all 3 shows the same value: > > 1. vlib_frame_t's

Re: [vpp-dev] [csit-dev] 17.07 Release

2017-07-20 Thread Florin Coras
Awesome! Congrats to you and the whole community for all the hard work! Cheers, Florin > On Jul 20, 2017, at 4:56 PM, Neale Ranns (nranns) wrote: > > > Dear VPP community, > > The VPP 17.07 release is complete. The release artefacts are now available on > the nexus server. > > I’d like

Re: [vpp-dev] [csit-dev] API Change Proposal: explicit FIB table create and delete

2017-08-03 Thread Florin Coras
+1 Florin > On Aug 3, 2017, at 12:56 AM, Neale Ranns (nranns) wrote: > > > Dear All, > > I would like to propose the addition of a new API to explicitly create and > delete FIB tables. At present the only way to create FIB tables (for e.g. > VRFs) is to: > 1) Bind an interface to a new tabl

Re: [vpp-dev] user space TCP stack

2017-08-07 Thread Florin Coras
Hi Hamid, Yes, we do have a userspace TCP stack but it is still under development. You can find examples of external apps here [1] and internal apps here [2, 3]. All of these use the binary api to interact with the session layer code. We’ll soon publish a wrapper library that should make inte

[vpp-dev] 17.10 Release Dates and Features

2017-08-08 Thread Florin Coras
Folks, It’s that time again! We are compiling the list of features we plan to release in 17.10 and a release schedule. For more details, see the wiki page here [1]. Please feel free to add any features you are/will be working on and intend to release for 17.10. As always, the list serves as an

Re: [vpp-dev] User-space TCP Stack

2017-08-09 Thread Florin Coras
Hi Stephen, The goal is to have a complete userspace stack, i.e., a session layer accessible over VPP’s binary API, a transport layer, a POSIX-like wrapper library for interacting with the stack and a shared memory mechanism to pass data between apps and VPP. We have support for pluggable trans

Re: [vpp-dev] Verify jobs failing - opensuse

2017-08-12 Thread Florin Coras
I second the request. It would be really helpful to have this fixed by Monday morning, CEST time. Thanks, Florin > On Aug 12, 2017, at 8:28 AM, Neale Ranns (nranns) wrote: > > > Hi All, > > The verify jobs are failing due to the new opensuse job, e.g. from: > https://gerrit.fd.io/r/#/c/80

Re: [vpp-dev] Verify jobs failing - opensuse

2017-08-12 Thread Florin Coras
Done. Thanks, Ed! Florin > On Aug 12, 2017, at 1:26 PM, Ed Warnicke wrote: > > If one of you would push a revert of: https://gerrit.fd.io/r/#/c/7998/ > <https://gerrit.fd.io/r/#/c/7998/> > > I'd be happy to merge it. > > Ed > > On S

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] APIs frozen date , 2017-09-13

2017-08-20 Thread Florin Coras
Hi Shachar, Yes, the API freeze date for 17.10 is 2017-09-13. Florin > On Aug 19, 2017, at 11:50 PM, Shachar Beiser wrote: > > Hi , >I have just joined this community. I would like to verify my current > understanding. >The due date for APIs frozen is : 2017-09-13. >I

Re: [vpp-dev] Packet loss on use of API & cmdline

2017-08-22 Thread Florin Coras
Hi Colin, Your assumption was right. Most often than not, a binary API/CLI call results in a vlib_worker_thread_barrier_sync because most handlers and cli are not mp safe. As a consequence, vpp may experience packet loss. One way around this issue, for binary APIs, is to make sure the handler y

Re: [vpp-dev] Missing include file. Again.

2017-08-23 Thread Florin Coras
Hi Jon, There was a pending patch for that but apparently it got abandoned. Here’s a fix [1] that we’ll merge as soon as it passes verify. Sorry for the inconvenience. Regards, Florin [1] https://gerrit.fd.io/r/#/c/8188/ > On Aug 23, 2017, at 11:21 AM, Jon

Re: [vpp-dev] Augment 'make test' with C build tests?

2017-08-23 Thread Florin Coras
Dave, Agreed, modulo one comment: I’d like the folder to be named something more specific than “extras/apps”. We can keep that for genuine application, but for any apps meant for testing, I’d go with “extras/apps/testing” or something along those lines. Cheers, Florin > On Aug 23, 2017, at

Re: [vpp-dev] Issue forwarding TCP packets

2017-08-28 Thread Florin Coras
Hi Prabhjot, >From your description, I suspect it may be a linux tcp checksum offload issue. >Could you try disabling it for all interfaces with: ethtool --offload rx off tx off Hope this helps, Florin > On Aug 28, 2017, at 10:56 AM, Prabhjot Singh Sethi > wrote: > > We have been trying

Re: [vpp-dev] Issue forwarding TCP packets

2017-08-29 Thread Florin Coras
0x0030: 7210 0437 0204 05b4 0402 080a 001b >0x0040: db05 0103 0307 > > > Regards, > Prabhjot > > Quoting Florin Coras : > >> Hi Prabhjot, >> >> From your description, I suspect it may be a linux tcp checksum offload >> issu

Re: [vpp-dev] More build timeouts for vpp-verify-master-ubuntu1604

2017-09-06 Thread Florin Coras
Hi, Any news regarding this? We are 1 week away from API freeze and the infra makes it almost impossible to merge patches! Thanks, Florin > On Sep 4, 2017, at 9:44 PM, Dave Wallace wrote: > > Dear helpd...@fd.io , > > There has been another string of build timeouts

[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] 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

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] vpp performance numbers with 10Gbps interface.

2017-09-12 Thread Florin Coras
Hi Rahul, It looks like all your packets are going to ip4-imcp-error, ip4-local and ip4-udp-lookup. What is your test setup? Florin > On Sep 12, 2017, at 5:10 AM, Rahul Negi wrote: > > Hi All, > I was trying to measure maximum PPS handled by vpp.I have installed ubuntu > 16.04 on my serve

Re: [vpp-dev] FD.io Enabling Jenkins openSUSE : 2017-09-13 @ 0830 UTC (1:30pm PDT)

2017-09-13 Thread Florin Coras
Vanessa, Today is API freeze, could you postpone until tomorrow? Florin > On Sep 13, 2017, at 12:55 PM, Vanessa Valderrama > wrote: > > > > > > What: > > LF is enabling openSUSE minions for VPP jobs in Jenkins > When: > > 2017-09-13 @ 0830 UTC (1:30pm PDT) > > Where: > > Please cont

[vpp-dev] Jenkins ubuntu 1604 failures

2017-09-14 Thread Florin Coras
Hi Vanessa, We’re seeing lots of vpp-verify-master-ubuntu1604 failures that seem to be timeouts related. Could they be related to the recent switch to the new instances? Thanks, Florin ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.i

Re: [vpp-dev] [FD.io Helpdesk #45822] [linuxfoundation.org #45822] Re: Jenkins ubuntu 1604 failures

2017-09-14 Thread Florin Coras
:40* > make[1]: *** [install-packages] Error 1 *19:05:40* make[1]: Leaving > directory '/w/workspace > /vpp-verify-master-ubuntu1604/build-root' *19:05:40* Makefile:487: > recipe for target 'verify' failed *19:05:

Re: [vpp-dev] VPP SIGSEGV

2017-09-18 Thread Florin Coras
Hi Stan, If I recall correctly, we update an adjacency only when adding a neighbor. So, I a few clarifying questions to better understand the problem: - From your description am I right to understand that you manage to forward some traffic and only after some time hit the issue? - Could you pas

Re: [vpp-dev] Jira cleanup, FYI

2017-09-18 Thread Florin Coras
Chris, Thanks a lot! Cheers, Florin > On Sep 18, 2017, at 11:03 AM, Luke, Chris wrote: > > All, > > As an FYI… I just did a bunch of cleanup in Jira. Closed a lot of issues > (~100) that were marked Complete but never actually Closed. A significant > number of these did not have fixed in

Re: [vpp-dev] Coverity runs

2017-09-19 Thread Florin Coras
+1 Thanks, Chris! Florin > On Sep 19, 2017, at 9:03 AM, Dave Barach (dbarach) wrote: > > Very cool! Thanks for working on it...  <>Dave > > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On > Behalf Of Luke, Chris > Sent: Tuesday, September 19, 2017 11:50 AM > To: vp

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-19 Thread Florin Coras
Hi xyxue, What you’re getting is a connect fail because, I assume from trace, the server is not started on the peer vpp. Because the server is not started, i.e., bind wasn’t called, when the peer vpp receives the syn it replies with a reset. That reset finally results in a connect fail notify.

Re: [vpp-dev] some issue about using unformat %u 

2017-09-19 Thread Florin Coras
Hi Hui, Yup, that’s a ‘known’ unformat trap. When unformatting integers, use u32. Florin > On Sep 19, 2017, at 8:33 PM, > wrote: > > hi all: > > we found some common using issues about the use of CLI unformat, as follow: > > > > u16 out_port = 0; > > u32 vrf_id = 0, protocol; > > els

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-19 Thread Florin Coras
Hi Florin, > > The server is started on the peer vpp . And through > 'sock_test_client/sock_test_server' can be normal communication. > > Thanks, > xyxue > > From: Florin Coras <mailto:fcoras.li...@gmail.com> > Date: 2017-09-20 10:52 > To: 薛欣颖 <ma

Re: [vpp-dev] memmove fault

2017-09-19 Thread Florin Coras
Hi, Could this be a result of: type a command in the cli and don’t execute it, press up-arrow, try to input a new command in the empty prompt line, sigsegv? Florin P.S. Chris, apologies, I plead guilty for not trying to debug it … > On Sep 19, 2017, at 10:52 PM, 薛欣颖 wrote: > > > Hi Chris,

Re: [vpp-dev] vppctl / cli improvements

2017-09-21 Thread Florin Coras
Much appreciated, Chris! Florin > On Sep 21, 2017, at 11:27 AM, Luke, Chris wrote: > > FYI all, https://gerrit.fd.io/r/8491 fixes > several vppctl and cli issues and generally makes them work together better. > > Of most note to people is it (finally) fixes the

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread Florin Coras
_create, name, flags);’ to ‘return 0’. > Will the vcl function be affected? > > Thanks, > xyxue > > From: Florin Coras <mailto:fcoras.li...@gmail.com> > Date: 2017-09-20 13:05 > To: 薛欣颖 <mailto:xy...@fiberhome.com> > CC: dwallacelf <mailto:dwallac...@gm

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread Florin Coras
lso 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 [mailto:vpp-dev-boun...@lists.fd.io] On > Behalf Of Florin Coras > Sent: Wednesday

[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 trad

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-28 Thread Florin Coras
xterm: DISPLAY is not set > Warning: This program is an suid-root program or is being run by the root > user. > The full text of the error or warning message cannot be safely formatted > in this environment. You may get a more descriptive message by running the > program as a non-r

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-28 Thread Florin Coras
to start two vpp in the same virtual machine? > > Thanks, > xyxue > > From: Dave Wallace <mailto:dwallac...@gmail.com> > Date: 2017-09-29 00:03 > To: 薛欣颖 <mailto:xy...@fiberhome.com>; Florin Coras > <mailto:fcoras.li...@gmail.com>; John Lo (loj) <mailto:l.

[vpp-dev] Growing build queue

2017-10-02 Thread Florin Coras
Hi Vanessa, It would seem we’re running out of executors and the build queue keeps on growing. Could you take a look at it? Thanks, Florin ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Growing build queue

2017-10-02 Thread Florin Coras
Queue is back down to 1. Thanks a lot Vanessa! Florin > On Oct 2, 2017, at 11:59 AM, Vanessa Valderrama > wrote: > > Florin, > > I'm looking into the issue now. > > Thank you, > Vanessa > > On 10/02/2017 11:49 AM, Florin Coras wrote: >> Hi Vane

[vpp-dev] Fixes not being cherry picked to stable/1710

2017-10-04 Thread Florin Coras
Folks, I see a number of patches on master that look like fixes, have the word “fix” in subject line, but no jira ticket assigned and have not been cherry-picked to stable/1710. Could patch owners, once their patches have been merged, take care of these last two steps *if needed* and thereby a

Re: [vpp-dev] Running multiple instances of VPP as it was allowed with VPP-lite

2017-10-04 Thread Florin Coras
Hi Justin, Try api-segment {prefix } Florin > On Oct 4, 2017, at 9:23 AM, Justin Iurman wrote: > > Hi all, > > Is it still possible to run multiple instances of VPP, just like it was done > with VPP-lite (see here: > https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial) before merging it ?

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-04 Thread Florin Coras
Michael, I would recommend you switched to a newer release (17.07 or the soon to be release 17.10) since the fib code has been completely reworked in 17.01. Florin > On Oct 4, 2017, at 7:13 PM, Michael Borokhovich wrote: > > Hi, > > I'm trying to configure the following setup. > > Gigabit

Re: [vpp-dev] Problem with new c api patch commit 8f2a4ea merged on September 19

2017-10-05 Thread Florin Coras
Hi Klement, It’s okay :-) Just open a ticket, cherry-pick the patch and append the jira ticket id to the subject. That should be enough. Cheers, Florin > On Oct 5, 2017, at 8:11 AM, Klement Sekera -X (ksekera - PANTHEON > TECHNOLOGIES at Cisco) wrote: > > Oh shoot, I never really learned

Re: [vpp-dev] Running multiple instances of VPP as it was allowed with VPP-lite

2017-10-05 Thread Florin Coras
k good, as it > mimics the behavior I had with VPP-lite. But again, is it the right/best way > to do so ? Or would there be anything better suited ? > > Justin > > - Mail original - > De: "Florin Coras" > À: "Justin Iurman" > Cc: vpp-dev@li

Re: [vpp-dev] Running multiple instances of VPP as it was allowed with VPP-lite

2017-10-05 Thread Florin Coras
AM, Justin Iurman wrote: > > Florin, > > Thanks for that. What's the difference between my technique and yours using > telnet ? Also, what does the 0 correspond to ? Is it an instance index or > something else ? > > Justin > >> Le 5 oct. 2017 à 17:

Re: [vpp-dev] Failed to use vcl_test_client

2017-10-08 Thread Florin Coras
Hi xyxue, The issue is the stack not VCL. As of now, UDP is not fully supported. Florin > On Oct 8, 2017, at 6:12 PM, 薛欣颖 wrote: > > > Hi, > > We use the TCP protocol to test VCL, the function is OK. If I modify the UDP > protocol, the function is abnormal. > The error message is: > DBGv

Re: [vpp-dev] Process for submitting patches to stable/1710

2017-10-10 Thread Florin Coras
Hi Tom, As long as the patches have a jira ticket, procedurally all is fine with me. However, since we’re so close to release, I’d like Damjan, since he’s the build infra manager, to vet the changes. Regards, Florin > On Oct 10, 2017, at 12:24 PM, Thomas F Herbert wrote: > > Dave, Florin,

[vpp-dev] VPP 17.10 RC2

2017-10-11 Thread Florin Coras
Folks, 17.10 RC2 tag has been laid. Nonetheless, our patching process continues to remain the same until formal release [1], i.e., fixes first to stable/1710 and then cherry-pick to master. Regards, Florin [1] https://wiki.fd.io/view/Projects/vpp/Release_Plans/Release_Plan_17.10

Re: [vpp-dev] VPP 17.10 RC2

2017-10-12 Thread Florin Coras
Oct 12, 2017, at 7:13 AM, Thomas F Herbert wrote: > > > > On 10/11/2017 06:14 PM, Florin Coras wrote: >> Folks, >> >> 17.10 RC2 tag has been laid. Nonetheless, our patching process continues to >> remain the same until formal release [1], i.e., fixes first

Re: [vpp-dev] syslog in snat

2017-10-13 Thread Florin Coras
Indeed! Florin > On Oct 13, 2017, at 3:31 PM, Luke, Chris wrote: > > The release stable branch was forked several weeks ago; at this point it the > release only accepts bug fixes. > > Chris. > > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On > Behalf Of Matt Pas

Re: [vpp-dev] compilation issue on branch origin/stable/1710

2017-10-23 Thread Florin Coras
Hi Shachar, Did you try cleaning the workspace? If not, from build-root try: make distclean ./bootstrap.sh and build again. HTH, Florin > On Oct 22, 2017, at 11:58 PM, Shachar Beiser wrote: > > Hi , > > I see a compilation issue while working on origin/stable/1710 . >

[vpp-dev] 17.10 draft release notes

2017-10-23 Thread Florin Coras
Dear all, You can find a draft of VPP 17.10 release notes here [1]. Feel free to add comments, reply to this message or send me private messages if something is missing. Regards, Florin [1] https://gerrit.fd.io/r/#/c/8953/ __

Re: [vpp-dev] 17.10 draft release notes

2017-10-23 Thread Florin Coras
Hi Ole, Those are changes discovered with the API message table inspection utility Dave built. Ultimately, it just compares the crc API tables, so commit strings are not included. If you could write the script, and add it to say “extras”, it would be great! Thanks, Florin > On Oct 23, 2017

Re: [vpp-dev] 17.10 draft release notes

2017-10-25 Thread Florin Coras
Hi Ole, Looks good to me. I’d add it after the list of APIs that changed. Is that fine with you? Cheers, Florin > On Oct 25, 2017, at 5:28 AM, Ole Troan wrote: > > Hi Florin, > > What about something like this? > > #!/usr/bin/env python > import os, fnmatch, subprocess > starttag = 'v17.0

Re: [vpp-dev] 17.10 draft release notes

2017-10-25 Thread Florin Coras
Updated release notes to use the format Jon proposed. Florin > On Oct 25, 2017, at 9:11 AM, Ole Troan wrote: > > Thanks Jon, love that! > > So something like: > git shortlog --format="* [%h] %s" v17.07..v17.10-rc2 -- *.api > > Cheers, > Ole > > >> On 25 Oct 2017, at 07:13, Jon Loeliger wr

Re: [vpp-dev] 17.10 draft release notes

2017-10-25 Thread Florin Coras
, Florin > On Oct 25, 2017, at 3:56 PM, Luke, Chris wrote: > > Hrm, I personally feel the breakdown by file to be more useful than who made > the change. > > Chris > >> -Original Message- >> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@li

[vpp-dev] VPP 17.10 Released

2017-10-26 Thread Florin Coras
Dear VPP community, The VPP 17.10 release is complete. The release artefacts are now available on the nexus server and the repos have been updated. I’d like to take this opportunity to thank you all for your continued support for VPP. Regards, Florin __

Re: [vpp-dev] syntax error near unexpected token `g2,'

2017-11-06 Thread Florin Coras
Hi Lori, backup git clean -fdx make bootstrap make build Any luck? Florin > On Nov 6, 2017, at 4:17 AM, Lori Jakab wrote: > > Hi, > > I see the exact same issue that is reported in a previous thread [0], which > didn't have a solution. I wonder if anyone has more insight now. > > I did n

[vpp-dev] Packages for master not published

2017-11-06 Thread Florin Coras
Hi Vanessa, You can find a full log here[1] and what I suspect to be the culprit lower. Any idea why this is happening? Thanks, Florin 13:29:49 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) on project standalone-pom: Failed to deplo

Re: [vpp-dev] Packages for master not published

2017-11-06 Thread Florin Coras
Feel free to ignore this. For some reason I only got Chris’ email after sending this one... Florin > On Nov 6, 2017, at 10:09 AM, Florin Coras wrote: > > Hi Vanessa, > > You can find a full log here[1] and what I suspect to be the culprit lower. > Any idea why

Re: [vpp-dev] Missing udp.api.h header file?

2017-11-09 Thread Florin Coras
from /usr/include/vpp/api/vpe_msg_enum.h:24, > from my_af_packet.c:14: > /usr/include/vnet/vnet_all_api_h.h:64:30: fatal error: vnet/udp/udp.api.h: No > such file or directory > #include > > That is as of: > > Author: Florin Coras m

Re: [vpp-dev] Missing udp.api.h header file?

2017-11-09 Thread Florin Coras
> On Nov 9, 2017, at 2:51 PM, Jon Loeliger wrote: > > On Thu, Nov 9, 2017 at 4:29 PM, Florin Coras <mailto:fcoras.li...@gmail.com>> wrote: > Hi Jon, > > This dates back to a couple of days ago. > > Hey, I don't pull *every* day... :-) That was more

Re: [vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-14 Thread Florin Coras
Hi Justin, The expectation until now has been that options are not parsed until hitting the tcp related nodes. If tcp_options_parse is enough, then make it public and use it. That function just expects a tcp_options_t struct for outputting the results so no need for a tcp_connection_t. Now, i

Re: [vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-20 Thread Florin Coras
Hi Justin, For discarding options you’ll probably need to write your own function that first recomputes them and then moves the payload closer to the header. tcp_buffer_discard_bytes just chops off payload bytes, as in moves the buffer’s current_data pointer. I don’t think it’s enough for what

Re: [vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-20 Thread Florin Coras
Quick note, for completeness: If you’re planning on discarding all headers up to tcp, the other option would be to move the tcp header forward, since it’s typically smaller than the payload. Florin > On Nov 20, 2017, at 2:07 PM, Florin Coras wrote: > > Hi Justin, > >

[vpp-dev] Gerrit and git out of sync?

2017-11-20 Thread Florin Coras
Hi, It seems that git master head points at a gerrit patch merged 10h ago[1]. There have been several recent merges and none show up [2]. Any idea what may be causing this? Thanks, Florin [1] https://git.fd.io/vpp/log/ [2] https://gerrit.fd.io/r/#/q/project:vpp

Re: [vpp-dev] [FD.io Helpdesk #48422] Gerrit and git out of sync?

2017-11-21 Thread Florin Coras
Hi Vanessa, It seems it got fixed in the morning but yesterday we were lagging something like 10+h. The two are now in sync. Hopefully it was just a passing glitch. Thanks, Florin > On Nov 21, 2017, at 11:42 AM, Vanessa Valderrama via RT > wrote: > > Can you point me to specific changes t

Re: [vpp-dev] Maximum TCP session number

2017-11-22 Thread Florin Coras
When apps attach to the session layer they request a given size for the shared memory segment out of which fifos are allocated and also the sizes of the rx/tx fifos for each connection. If the segment is filled, more shared memory segments are allocated. However, if you’re running the builtin te

Re: [vpp-dev] problem in elog format

2017-11-29 Thread Florin Coras
Hi Juan, We don’t typically use elogs to store strings, still, you may be able to get it to run with: struct { u8 err[20]; } * ed; And then copy your data to err: clib_memcpy (ed->err, your_vec, vec_len (your_vec)). Make sure your vec is 0 terminated. HTH

Re: [vpp-dev] Is "gpe" a special word?

2017-12-01 Thread Florin Coras
Swarup, LISP-GPE has its own CLI to enable/disable which until now [1] returned status 0 even if no input was provided. Therefore, the CLI parser, after finishing executing the first command, actually tried to execute lisp_gpe_enable_disable_command_fn and returned successfully. Should be fi

Re: [vpp-dev] The feasibility of C++ gRPC with libvcl_ldpreload

2017-12-06 Thread Florin Coras
Hi Peter, eventfd, as far as I know, is used for event notification. In other words, it’s not something needed for exchanging data with a remote peer over tcp. Could you provide more details concerning what you’re trying to achieve? Cheers, Florin > On Dec 6, 2017, at 2:25 PM, Peter Palmár

Re: [vpp-dev] Is there a planned VPP 17.10.01?

2017-12-07 Thread Florin Coras
The second option :-) Cheers, Florin > On Dec 7, 2017, at 2:27 PM, Billy McFall wrote: > > I see a handful of merges on stable/1710 and was just looking to see if there > is a scheduled date or plan for a VPP 17.10.01 release? OR are these merges > just there in-case there is a VPP 17.10.01

Re: [vpp-dev] assertion in gpe testing

2017-12-10 Thread Florin Coras
Hi Xyxue, Did you by chance configure an ip or a route through the gpe interface? If yes, then that is probably the issue. If not, could you provide more details regarding your configuration. Thanks, Florin > On Dec 10, 2017, at 6:25 PM, 薛欣颖 wrote: > > > Hi guys, > > There is an assertion

Re: [vpp-dev] assertion in gpe testing

2017-12-10 Thread Florin Coras
ble = 16777216, action = 4 '\004', > loc_num = 33554432, > locs = 0x2b8413872fd7} > (gdb) > > Thanks, > Xyxue > > From: Florin Coras <mailto:fcoras.li...@gmail.com> > Date: 2017-12-11 10:37 > To: 薛欣颖 <mailto:xy...@fiberhome.com> > CC: vpp-de

Re: [vpp-dev] openSUSE build fails

2017-12-14 Thread Florin Coras
Agreed, doing functional testing against one distro should suffice (famous last words :-)). What do people think about running the verify jobs for the debians and then periodically (once per day/week?) run for the other distros, to make sure they’re not broken? Florin > On Dec 14, 2017, at

Re: [vpp-dev] how to punt a specific TCP flow into linux kernel?

2017-12-20 Thread Florin Coras
Hi Lin, You can punt all tcp traffic without state in the stack with "set punt tcp”. You’ll also have to enable the session layer for that to work with “session enable”. Finally, the simplest way to get the traffic into linux is to add to vpp’s startup.conf tuntap { enable }. Hope this helps,

Re: [vpp-dev] [FD.io Helpdesk #50221] [linuxfoundation.org #50221] RE: Wiki hacked?

2017-12-27 Thread Florin Coras
; We had similar hack on OPNFV/ODL IRC channel as well. > > George > > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On > Behalf Of Florin Coras > Sent: Wednesday, December 20, 2017 3:38 PM > To: fdio-helpd...@rt.linuxfoundation.org > Cc: vpp-dev >

Re: [vpp-dev] user mode TCP stack..

2017-12-27 Thread Florin Coras
Shiv, To clarify, the stack has no name per se. We just refer to the transport and session layers part of vnet as “vpp’s host stack”. On top of the the session layer we run VCL, a wrapper library that offers more posix-like APIs for app's consumption as opposed to the raw, vpp specific, APIs t

Re: [vpp-dev] UDP Local Segmentation fault

2017-12-27 Thread Florin Coras
Hi Ewan, First of all, that’s a rather old release, i.e., udp code has been changed recently, so I’d recommend you update to 17.10 or soon to 18.01. Second, you seem to be crashing while gleaning an entry, so if there’s still a bug, it’s probably there. From the info provided, most probably

Re: [vpp-dev] VPP's host stack VRF aware

2017-12-28 Thread Florin Coras
Hi Akshaya, Yes it is, via app namespaces. You can configure application namespaces via binary api or “app ns” cli. For instance: app ns id secret sw_if_index The secret is a shared secret between vpp and the app while the sw_if_index is the index of an interface that ‘supports’ the names

Re: [vpp-dev] Apache traffic server with VCL+LD_PRELOAD

2018-01-05 Thread Florin Coras
Alberto, From the error messages, it seems you’re trying to bind to a non 0 address that does not pertain to any interface in the fib table you’re connecting through. Are you using namespaces? Florin > On Jan 5, 2018, at 7:10 AM, Alberto Compagno (acompagn) > wrote: > > Hi, > > I’m tryin

Re: [vpp-dev] Apache traffic server with VCL+LD_PRELOAD

2018-01-08 Thread Florin Coras
> /opt/ts/bin/traffic_server(_ZN18UnixNetVConnection4freeEP7EThread+0xaf)[0x771c1f] > /lib/x86_64-linux-gnu/libc.so.6(strlen+0x26)[0x7f9d27db4746] > /usr/lib/x86_64-linux-gnu/libvcl_ldpreload.so.0.0.0(va_format+0xc8b)[0x7f9d2a5a6dbb] > /opt/ts/bin/traffic_server(_ZN18UnixNetVConnection11acceptE

[vpp-dev] Proposal to remove ssvm_eth

2018-01-12 Thread Florin Coras
Hi everyone, I’m in the process of cleaning up the ssvm code and realized some of the data structures have fields that are only used within the ssvm_eth code. Since we now have memif, and nobody is really maintaining ssvm_eth, I’d like to remove the code. Therefore, does anybody have somethi

Re: [vpp-dev] crash in bfd api

2018-01-15 Thread Florin Coras
Hi Gabriel, Apologies about that! It’s just a tricky one line. I missed the & in front of rmp :( You have the patch here [1]. Just let me know if it solves the issue and thanks for testing! Cheers, Florin [1] https://gerrit.fd.io/r/#/c/10108/ > On Jan 15

Re: [vpp-dev] vcl preload usage error

2018-01-18 Thread Florin Coras
Hi Chunmei, The first error says you’re trying to bind multiple times to the same address, which is not supported. You’re getting the second error because you don’t have a fib path to the destination of your connect. Hope this helps, Florin > On Jan 17, 2018, at 3:55 PM, Liu, Chunmei wrote

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras
Hi Dad, Did you try the evergreen: make wipe make install-dep make build Cheers, Florin > On Jan 24, 2018, at 10:57 AM, Jon Loeliger wrote: > > Hey Kids, > > The new API Gen seems to want ply.lex, but I don't think > it is listed as a dependency or something somewhere. Or > maybe I have

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras
> On Jan 24, 2018, at 11:15 AM, Jon Loeliger wrote: > > > > On Wed, Jan 24, 2018 at 1:10 PM, Florin Coras <mailto:fcoras.li...@gmail.com>> wrote: > Hi Dad, > > LOL. I deserved that. At least I didn't get "Hi Old Man". :-) :-D >

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras
> On Jan 24, 2018, at 11:34 AM, Jon Loeliger wrote: > >> Did you try the evergreen: >> >> make wipe >> make install-dep >> make build >> >> Yeah, have done a "make install-dep" a couple times now >> and it doesn't improve things at all. >> >> I seem to be using python 2.7.5. > > This seems

Re: [vpp-dev] [csit-dev] VPP 18.01 Release artifacts are now available on nexus.fd.io

2018-01-24 Thread Florin Coras
Awesome! Thanks for making this happen, Dave! Florin > On Jan 24, 2018, at 9:23 PM, Dave Wallace wrote: > > Folks, > > The VPP 18.01 Release artifacts are now available on nexus.fd.io > > The ubuntu.xenial and centos packages can be installed following the recipe > on the wiki:https://wiki.

Re: [vpp-dev] recovering from a crash with the C shared memory API

2018-01-26 Thread Florin Coras
Hi Matt, I tried reproducing this with vpp + vat. Is this a fair equivalent scenario? 1. Start vpp and attach vpp_api_test and send some msg 2. Restart vpp and stop vat 3. Restart vat and send message. The thing is, off of master, this works for me. Thanks, Florin > On Jan 26, 2018, at 2:3

Re: [vpp-dev] recovering from a crash with the C shared memory API

2018-01-29 Thread Florin Coras
ient_disconnect:301: peer unresponsive, give up > > Step 6 hangs for a couple of minutes and then prints: > > vl_map_shmem:639: region init fail > connect_to_vlib_internal:398: vl_client_api map rv -2 > Couldn't connect to vpe, exiting… > > > > Are you abl

Re: [vpp-dev] out of memory when adding > 64k routes

2018-01-29 Thread Florin Coras
Hi Matt, I’ll let Neale provide more details but I think that what you’re looking for is to start vpp with ip {heap-size } Cheers, Florin > On Jan 29, 2018, at 1:24 PM, Matthew Smith wrote: > > > Hi, > > I’ve been trying to insert a large set of routes into VPP’s FIB. VPP keeps > exiting

Re: [vpp-dev] VPP FD in a linux epoll

2018-01-31 Thread Florin Coras
Shashi, No. VCL session ids are not valid Linux fds. Florin > On Jan 31, 2018, at 3:21 AM, Shashi Kant Singh wrote: > > Hi > > I have created VPP session and the UDP FD for the same in my client program. > > Would it ok to add this FD in a unix epoll (instead of vppcom_epoll_wait) > al

Re: [vpp-dev] Guidance on using UDP / TCP built-in servers

2018-02-01 Thread Florin Coras
Hi Shaun, Those have recently been moved to session-apps. The short cli help should give you an idea of how to configure them: “test echo server ?" For starters, doing something like: "test echo server uri :///" starts a server that listens on the ip:port tuple for the transport requested. On

Re: [vpp-dev] unformat %s eats newlines

2018-02-02 Thread Florin Coras
Not exactly the most elegant solution but have you tried adding a space after the string to be parsed? Florin > On Feb 2, 2018, at 9:47 AM, Andreas Schultz > wrote: > > A typical construct to parse arguments is to use unformat in a while loop > that checks for UNFORMAT_END_OF_INPUT. > For mu

Re: [vpp-dev] New fd.io vpp project committer vote: Marco Varlese

2018-02-06 Thread Florin Coras
ntil folks have voted. > > Thanks… Dave > > From: Dave Barach (dbarach) > Sent: Tuesday, February 6, 2018 8:56 AM > To: Keith Burns (krb) mailto:k...@cisco.com>>; Florin Coras > (fcoras) mailto:fco...@cisco.com>>; John Lo (loj) > mailto:l...@cisco.com>>; Luke, C

Re: [vpp-dev] VXLAN Tunnel IF Names

2018-02-07 Thread Florin Coras
.. aand then one of the calls in the batch fails. Why not use a shim layer that on the one hand fits what Neale was saying and on the other it accepts batches and handles failures. Say .. netconf? :-) Florin > On Feb 7, 2018, at 2:10 PM, Ed Warnicke wrote: > > Neale, > > I think this really

Re: [vpp-dev] Congrats to Marco Varlese on his election as a vpp project committer

2018-02-08 Thread Florin Coras
Congrats, Marco! Florin > On Feb 8, 2018, at 8:23 AM, Dave Barach (dbarach) wrote: > > It gives me great pleasure to announce Marco’s election as a vpp project > committer, confirmed a few minutes ago by the fd.io vpp TSC. > > Vanessa V. will take care of [+2 button] mechanic

Re: [vpp-dev] TCP Throughput testing

2018-02-13 Thread Florin Coras
Hi Ray, Interesting. What happens if you add: test-timeout 100 to the client cli? Florin > On Feb 13, 2018, at 7:35 AM, Ray Kinsella wrote: > > Hi folks, > > I am messing around trying to do some throughput testing with v18.01 VPP TCP > and I keep ending up getting the error "stuck clients"

Re: [vpp-dev] TCP Throughput testing

2018-02-13 Thread Florin Coras
me=64.1253 ms > 64 bytes from 192.168.1.2: icmp_seq=5 ttl=64 time=62.5618 ms > > Ray K > > > On 13/02/2018 16:10, Florin Coras wrote: >> test-timeout 100 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8194): https://lists.fd

  1   2   3   4   5   6   7   8   >