[vpp-dev] Vapi causes vpp to crash #vapi

2020-06-08 Thread carol1311596199
When I call *vapi_cpp_test or* vapi_c_test multiple times to test vapi, vpp crashes 。 vpp version : v20.01.1.0-2~g6d190dd Following is crash gdb session transcript: Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. 0x76177c0d in ok_magic (m=0xdeaddabe) at /data/zj/vpp/sr

[vpp-dev] Dynamically adding a node between two nodes

2020-06-08 Thread Prashanth Fernando
Hi, I am pretty new to VPP and trying to understand few things * Can I add a node in middle of a packet processing graph in runtime. Eg: In the packet graph mentioned below, if I decide to add packet validation in runtime Packet processing graph from ethernet-input -> ip4-input changed to

Re: [vpp-dev] received signal SIGSEGV (vppinfra/time_range.h) no such file or directory

2020-06-08 Thread Pac Ette
Thanks Dave! On Sun, Jun 7, 2020 at 6:42 AM Dave Barach (dbarach) wrote: > https://gerrit.fd.io/r/c/vpp/+/27458. Next time you find something like > this, feel free to fix it and push a patch. > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *Pac Ette > *Sent:* Saturday, June 6, 2020 4:15 PM >

Re: [vpp-dev] Interesting backtrace in 1908

2020-06-08 Thread Christian Hopps
FWIW, I cherry picked this w/o looking too close and hit the bug again, looked closer, this is not the fix. :) The change for me is to the stack size for startup config node in src/vlib/unix/main.c Thanks, Chris. > On Jun 6, 2020, at 4:34 AM, Andrew Yourtchenko wrote: > > https://gerrit.fd.i

Re: [vpp-dev] Unable to ping vpp interface from outside after configuring vrrp on vpp interface and making it as Master

2020-06-08 Thread Matthew Smith via lists.fd.io
That appears to be correct. The vmxnet3 DPDK PMD looks like it does not support adding or deleting a MAC address. I never attempted to add support for secondary MAC addresses to the native VPP vxmnet3 driver either. So VRRP is not able to manage secondary MAC addresses on vmxnet3 devices. Adding a

Re: [vpp-dev] Best way to punt packets to the control plane

2020-06-08 Thread ravi . vpp2020
I am also searching best way to receive the packets from Device_Input node? I want to receive raw packets to my application. how can I achieve that? is there any way to receive complete L2 Packet receive at application? When I check the documentation I can find few ways to communicate the applic

Re: [vpp-dev] Unable to ping vpp interface from outside after configuring vrrp on vpp interface and making it as Master

2020-06-08 Thread steven luong via lists.fd.io
Vmxnet3 is a paravirtualized device. I could be wrong, it does not appear it supports adding virtual mac address. This error returns from dpdk indicates just that. Jun 8 12:32:43 bfs-dl360g10-14-vm17 vnet[29645]: vrrp_vr_transition_vmac:120: Adding virtual MAC address 00:00:5e:00:01:01 on hard

Re: [vpp-dev] vlib_add_trace(...) - stop inlining?

2020-06-08 Thread Damjan Marion via lists.fd.io
Good idea, I already pressed the button… — Damjan > On 8 Jun 2020, at 17:35, Dave Barach via lists.fd.io > wrote: > > See https://gerrit.fd.io/r/c/vpp/+/27467 > . > > Here’s the commit message: > > vlib: stop inlining vlib_add_trace(...) > > Packet tra

Re: [vpp-dev] vlib_add_trace(...) - stop inlining?

2020-06-08 Thread John Lo (loj) via lists.fd.io
Make sense to me, as saving trace data is already impacting "normal" performance. The extra function call is probably not much more overhead. -John From: vpp-dev@lists.fd.io On Behalf Of Dave Barach via lists.fd.io Sent: Monday, June 08, 2020 10:13 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev

Re: [vpp-dev] vlib_add_trace(...) - stop inlining?

2020-06-08 Thread Dave Barach via lists.fd.io
See https://gerrit.fd.io/r/c/vpp/+/27467. Here's the commit message: vlib: stop inlining vlib_add_trace(...) Packet tracing performance doesn't justify inlining vlib_add_trace(...) over 500 times. It makes a 15% text-segment size difference in a representative use-case: Inline: $ size .../vne

[vpp-dev] vlib_add_trace(...) - stop inlining?

2020-06-08 Thread Dave Barach via lists.fd.io
Folks, It looks to me like inlining vlib_add_trace(...) is probably a mistake in terms of code bloat. Does anyone hate the idea of changing it to a standard function? Thanks... Dave -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16686): https://l

[vpp-dev] Unable to ping vpp interface from outside after configuring vrrp on vpp interface and making it as Master

2020-06-08 Thread Amit Mehra
Hi, I am trying to test VRRP functionality using VRRP plugin available in VPP-20.05 and after running VRRP functionality on one of the VPP nodes and configuring it as a master, i am not able to ping the vpp interface from outside. I am using the following configuration modprobe -r vfio_pci mod