Re: [vpp-dev] building vpp v19.04.2

2020-07-23 Thread sadhanakesavan
ok commenting the session enable config fixes it -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17078): https://lists.fd.io/g/vpp-dev/message/17078 Mute This Topic: https://lists.fd.io/mt/75754519/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [vpp-dev] building vpp v19.04.2

2020-07-23 Thread sadhanakesavan
additional logs on adding nodaemon /vpp/build-root/build-vpp-native/vpp/bin/vpp[18911]: clib_elf_parse_file: open `linux-vdso.so.1': No such file or directory /vpp/build-root/build-vpp-native/vpp/bin/vpp[18911]: load_one_vat_plugin:67: Loaded plugin: lacp_test_plugin.so

[vpp-dev] building vpp v19.04.2

2020-07-23 Thread sadhanakesavan
Hi, I am trying to build vpp v19.04.2 for spdk integration. after i run ./extras/vagrant/build.sh and make build, when i run sudo /vpp/build-root/install-vpp_debug-native/vpp/bin/vpp -c /etc/vpp/startup.conf a background thread is not created and instead plugin load logs are generated. This is

Re: [vpp-dev] debugging corrupted frame arguments

2020-07-23 Thread Dave Barach via lists.fd.io
What is the invalid buffer index value? How many elements are in the frame? Is it always the same frame element which takes a lightning hit? Without having all of the source code available and a reasonable way to repro the issue, it's going to be quite hard to help you find the culprit. D.

Re: [vpp-dev] Regarding worker loop in VPP

2020-07-23 Thread Prashant Upadhyaya
Thanks Dave for the useful suggestions. Regards -Prashant On Thu, Jul 23, 2020 at 4:24 PM Dave Barach (dbarach) wrote: > > You could use the vlib_node_runtime_perf_counter callback hook to run code > between node dispatches, which SHOULD give adequate precision. > > Alternatively, spin up 1-N

Re: [vpp-dev] debugging corrupted frame arguments

2020-07-23 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Christian, You might want to try AddressSanitizer: https://fd.io/docs/vpp/master/troubleshooting/sanitizer.html Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Christian > Hopps > Sent: jeudi 23 juillet 2020 19:10 > To: vpp-dev > Cc: Christian Hopps >

Re: [vpp-dev] Create big tables on huge-page

2020-07-23 Thread Honnappa Nagarahalli
Sure. We will create couple of patches (in the areas we are analyzing currently) and we can decide from there. Thanks, Honnappa From: Damjan Marion Sent: Thursday, July 23, 2020 12:17 PM To: Honnappa Nagarahalli Cc: Lijian Zhang ; vpp-dev ; nd ; Govindarajan Mohandoss ; Jieqiang Wang

Re: [vpp-dev] Create big tables on huge-page

2020-07-23 Thread Damjan Marion via lists.fd.io
Hard to say without seeing the patch. Can you summarize what the changes will be in each particular .c file? > On 23 Jul 2020, at 18:00, Honnappa Nagarahalli > wrote: > > Hi Damjan, > Thank you. Till your patch is ready, would you accept patches > that would enable

[vpp-dev] debugging corrupted frame arguments

2020-07-23 Thread Christian Hopps
I have a very intermittent memory corruption occurring in the buffer indices passed in a nodes frame (encryption node). Basically one of the indices is clearly not a vadlid buffer index, and this is leading to a SIGSEGV when the code attempts to use the buffer. I see that vlib_frame_ts are

Re: [vpp-dev] Create big tables on huge-page

2020-07-23 Thread Honnappa Nagarahalli
Hi Damjan, Thank you. Till your patch is ready, would you accept patches that would enable creating these tables in 1G huge pages as temporary solution? Thanks, Honnappa From: Damjan Marion Sent: Thursday, July 23, 2020 7:15 AM To: Lijian Zhang Cc: vpp-dev ; nd ; Honnappa

Re: [vpp-dev] TCP timer race and another possible TCP issue

2020-07-23 Thread Florin Coras
Ah, I didn’t try running test.sh 80. The only difference in how I’m running the test is that I start vpp outside of start.sh straight from binaries. Regards, Florin > On Jul 23, 2020, at 8:22 AM, Ivan Shvedunov wrote: > > Well, I always run the same test, the difference being only > "test.sh

Re: [vpp-dev] TCP timer race and another possible TCP issue

2020-07-23 Thread Ivan Shvedunov
Well, I always run the same test, the difference being only "test.sh 80" for http_static (it's configured to be listening on that port) or just "test.sh" for the proxy. As far as I understand, you run the tests without using the containers, does that include setting up netem like this [1] ? [1]

Re: [vpp-dev] TCP timer race and another possible TCP issue

2020-07-23 Thread Florin Coras
Hi Ivan, Updated [1] but I’m not seeing [3] after several test iterations. Probably the static server needs the same treatment as the proxy. Are you running a slightly different test? All of the builtin apps have the potential to crash vpp or leave the host stack in an unwanted state since

回覆: 回覆: [vpp-dev] Do VPP NAT have Conntrack-like feature?

2020-07-23 Thread Date Huang
Hi Ole, Thanks for your reply again!! Let me work on it!! Regards, Date 寄件者: otr...@employees.org 寄件日期: 2020年7月23日 下午 09:48 收件者: Date Huang 副本: vpp-dev@lists.fd.io 主旨: Re: 回覆: [vpp-dev] Do VPP NAT have Conntrack-like feature? Hi Date, > Actually, I have

Re: 回覆: [vpp-dev] Do VPP NAT have Conntrack-like feature?

2020-07-23 Thread Ole Troan
Hi Date, > Actually, I have some idea to patch for Conntrack-like feature. > But I think I will need some guideline to submit a patch. > Could you kindly share some code or docs of "Port overloading with NAT ED" to > me? and I can refer it. > > I found some gerrit guide of it. > It will help me

回覆: [vpp-dev] Do VPP NAT have Conntrack-like feature?

2020-07-23 Thread Date Huang
Hi Ole Great thanks for your reply. Actually, I have some idea to patch for Conntrack-like feature. But I think I will need some guideline to submit a patch. Could you kindly share some code or docs of "Port overloading with NAT ED" to me? and I can refer it. I found some gerrit guide of it.

Re: [vpp-dev] How to do Bond interface configuration as fail_over_mac=active in VPP

2020-07-23 Thread Venkatarao M
Thanks! Steven for quick reply. Is there any road map for supporting the same? Thanks Venkatarao Malempati From: Steven Luong (sluong) [mailto:slu...@cisco.com] Sent: 20 July 2020 21:53 To: Venkatarao M; vpp-dev@lists.fd.io Cc: praveenkumar A S; Lokesh Chimbili; Mahesh Sivapuram Subject: Re:

Re: [vpp-dev] NAT port number selection problem, leads to wrong thread index for some sessions

2020-07-23 Thread Ole Troan
Thanks Elias. Merged. Cheers, Ole > On 23 Jul 2020, at 12:24, Elias Rudberg wrote: > > Hello, > Just a reminder about this, see below. > Best regards, > Elias > > Forwarded Message > From: Elias Rudberg > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] NAT port number

Re: [vpp-dev] Create big tables on huge-page

2020-07-23 Thread Damjan Marion via lists.fd.io
I started working on patch which addresses most of this points, few weeks ago, but likely I will not have it completed for 20.09. Even if it is completed, it is probably bad idea to merge it so late in the release process…. — Damjan > On 23 Jul 2020, at 10:45, Lijian Zhang wrote: > > Hi

Re: [vpp-dev] TCP timer race and another possible TCP issue

2020-07-23 Thread Ivan Shvedunov
http_static produces some errors: /usr/bin/vpp[40]: http_static_server_rx_tx_callback:1010: No http session for thread 0 session_index 4124 /usr/bin/vpp[40]: http_static_server_rx_tx_callback:1010: No http session for thread 0 session_index 4124 /usr/bin/vpp[40]: tcp_input_dispatch_buffer:2812:

Re: [vpp-dev] TCP timer race and another possible TCP issue

2020-07-23 Thread Ivan Shvedunov
Hi, I've found a problem with the timer fix and commented in Gerrit [1] accordingly. Basically this change [2] makes the tcp_prepare_retransmit_segment() issue go away for me. Concerning the proxy example, I can no longer see the SVM FIFO crashes, but when using debug build, VPP crashes with this

[vpp-dev] FYI/RFC: artifact naming change for -rc1 and -rc2 builds, and for the per-patch post-major-release builds

2020-07-23 Thread Andrew Yourtchenko
Hi all, This is to make you aware of a patch that will, when committed, tweak the versioning/naming for VPP builds on -rc1 and -rc2 tags (the version string will show also "-0~gXX"), and also for the per-patch builds on throttle branches after the major release but before the .1 release, to

Re: [vpp-dev] Regarding worker loop in VPP

2020-07-23 Thread Dave Barach via lists.fd.io
You could use the vlib_node_runtime_perf_counter callback hook to run code between node dispatches, which SHOULD give adequate precision. Alternatively, spin up 1-N threads to run the shaper and driver TX path, and nothing else. See also the handoff node. HTH... Dave -Original

Re: [vpp-dev] Do VPP NAT have Conntrack-like feature?

2020-07-23 Thread Ole Troan
Hi Date, Port overloading was added to NAT ED for 20.05. The static mapping with port overloading isn't yet there. We would have to split that function from non-port overloading NAT and NAT ED. Feel free to submit a patch! Best regards, Ole > On 22 Jul 2020, at 18:34, Date Huang wrote: > >

Re: [vpp-dev] NAT port number selection problem, leads to wrong thread index for some sessions

2020-07-23 Thread Elias Rudberg
Hello, Just a reminder about this, see below. Best regards, Elias Forwarded Message From: Elias Rudberg To: vpp-dev@lists.fd.io Subject: [vpp-dev] NAT port number selection problem, leads to wrong thread index for some sessions Date: Thu, 02 Jul 2020 20:43:12 + Hello VPP

[vpp-dev] Create big tables on huge-page

2020-07-23 Thread Lijian Zhang
Hi Maintainers, >From VPP source code, ip4-mtrie table is created on huge-page only when below >parameters are set in configuration file. While adjacency table is created on normal-page always. 36 ip { 37 heap-size 256M 38 mtrie-hugetlb 39 } In the 10K flow testing, I configured 10K

[vpp-dev] Regarding worker loop in VPP

2020-07-23 Thread Prashant Upadhyaya
Hi, I have implemented a shaper as a poll node in VPP. worker. The implementation is such that the shaper needs to send packets out which are sitting/scheduled in a timer wheel with microsecond granularity slots. The shaper must invoke at a precise regular interval, say every 250 microseconds

[vpp-dev] VPP 2005 crash with ip6 link local packets #vpp

2020-07-23 Thread vipul . agrawal
I observe crash in vpp-2005 when IPv6 link local packet is received with the below BT. #0  0x2b51396a8387 in raise () from /lib64/libc.so.6 #1  0x2b51396a9a78 in abort () from /lib64/libc.so.6 #2  0x56126df9017e in os_exit (code=code@entry=1) at