[vpp-dev] Compiling some of the tests code in VPP infra

2021-07-26 Thread satish amara
Hi, I am trying to see how to compile some of the test file like test_vec.c files in VPP infra. The main functions are #ifdef in CLIB_UNIX. I checked the make files not sure where and how to enable this and compile the code. Please let me know relevant make files change to compile and run that

Re: [vpp-dev] Event Logs Memory

2021-07-26 Thread Dave Barach
Before anyone invests in integrating LTTNG with vpp: it’s critical to understand the per-logged-event cost. I may be able to make some time to look at that. The vppinfra event logger costs O(100 clocks) per logged event. Even at that, we can’t afford to record per-packet events in

Re: [vpp-dev] MPLS protection

2021-07-26 Thread Neale Ranns
Hi Leela, Apologies if I was not clear. There is no FRR, no HA (as you describe it). Along with: https://github.com/FDio/vpp/blob/master/docs/gettingstarted/developers/fib20/fastconvergence.rst you might also enjoy:

Re: [vpp-dev] MPLS protection

2021-07-26 Thread Gudimetla, Leela Sankar via lists.fd.io
Could someone please respond to the specific question that I have described below? Thanks, Leela sankar From: vpp-dev@lists.fd.io on behalf of Gudimetla, Leela Sankar via lists.fd.io Date: Thursday, July 15, 2021 at 9:42 AM To: Neale Ranns , vpp-dev@lists.fd.io Subject: [**EXTERNAL**] Re:

[vpp-dev] what's the equivalent example of snat (https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Source_NAT) for version 21.0? #vpp #vpp-dev #snat #nat

2021-07-26 Thread andy . ye
[Edited Message Follows] Hi, Can't find snat command in cli. Any active vpp dev can help? Best, --Andy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19729): https://lists.fd.io/g/vpp-dev/message/19729 Mute This Topic:

Re: [vpp-dev] Event Logs Memory

2021-07-26 Thread Varun Rapelly
> > > > Thanks Dave. > > Was also exploring LTTNG tracing infra for VPP. > > Is there any benefit of using LTTNG over elog? > > Did not find much details about LTTNG in the VPP mail archive either. Is > it worth trying? > > On Mon, Jul 26, 2021 at 4:50 PM wrote: > >> Simply configure “vlib {

Re: [vpp-dev] VCL app with multiple TCP sessions handling in single worker

2021-07-26 Thread Florin Coras
Hi Sastry, Few of the session layer apis are executed on main thread (some ctrl messages, i.e., listen, connect) but most are executed on workers. Also, the binary apis is one of the two options applications/vcl have to attach to vpp. Those are not used to exchange data or ctrl/io events.

Re: [vpp-dev] Event Logs Memory

2021-07-26 Thread Dave Barach
Simply configure “vlib { elog-post-mortem-dump }” and look for the event log in /tmp/elog_post_mortem.. If vpp crashes in a horrifying way, the post mortem dump may fail. HTH... Dave From: vpp-dev@lists.fd.io On Behalf Of Varun Rapelly Sent: Monday, July 26, 2021 4:28 AM To:

[vpp-dev] Event Logs Memory

2021-07-26 Thread Varun Rapelly
Hi, Is it possible to retrieve the VPP event logs (elog), if VPP crashes before saving the events logged using the *event-logger save* command? If the above is not possible, what are the other options to save VPP events/traces in a persistent memory to debug issues in cases like the above? --

Re: [vpp-dev] Reason for removing SUSE packaging support

2021-07-26 Thread Benoit Ganne (bganne) via lists.fd.io
If you provide patches and volunteer to be the maintainer that would be great. The main request is to be reactive on the code you maintain (answer users and/or bug reports). You can start by submitting patches and an entry in MAINTAINERS. I suspect the best would be to have extras/rpm/centos/

Re: [vpp-dev] Reason for removing SUSE packaging support

2021-07-26 Thread Laszlo Király
Thanks for the clarification. Currently we are building the vpp in SUSE environment and probably must be maintained in the long term. If I would like to contribute to build support for opensuse-leap which are the expectations? Are there any other todos beside the update of documentation and

Re: [vpp-dev] VCL app with multiple TCP sessions handling in single worker

2021-07-26 Thread Sastry Sista
Hi Florin, Sorry for confusing. My point is, whatever we send through VCL APIs, those APIs execution at VPP inside session layer is at main thread? I assume its executed at main thread. Is there anyway we can run the session layer execution for VCL APIs at worker thread? I know memif,