Re: [vpp-dev] VPP 19.01 C API gets segmentation fault #binapi #vpp #vppcapi

2019-01-08 Thread Anthony Linz
Dear Dave, Thank you very much for your great and exact response. The program now works like a dream. Best wishes, -- Anthony -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11875): https://lists.fd.io/g/vpp-dev/message/11875 Mute This Topic: https:/

Re: [vpp-dev] wwan0 intarface - vpp

2019-01-08 Thread Jim Thompson
There is a DPDK driver for Atheros 10K NICs (the QCA986x/988x is Ath 10k). https://github.com/telematik-tu-ilmenau/DPDK-WiFi (specifically /drivers/net/ath10k, written for DPDK 17.10) I don’t know anything about the quality or performance o

[vpp-dev] Reminder: VPP Release 19.01 F0 is ~18 hours away.

2019-01-08 Thread Andrew Yourtchenko
Hi all, just a kind reminder - the F0 (the API freeze) is 9 January. As discussed during today's community call, the time "T" for the milestones is 18:00 UTC. This means we have approximately 18 hours 40 minutes remaining until this first milestone, at which we close the master branch for the ne

Re: [vpp-dev] wwan0 intarface - vpp

2019-01-08 Thread Dave Barach via Lists.Fd.Io
+1. You can put the [linux kernel] wireless interface into a Linux bridge with a vpp tap-v2 interface. Performance might not be much to write home about... D. From: vpp-dev@lists.fd.io On Behalf Of Damjan Marion via Lists.Fd.Io Sent: Tuesday, January 8, 2019 12:13 PM To: amitmulay...@gmail.com

Re: [vpp-dev] wwan0 intarface - vpp

2019-01-08 Thread Damjan Marion via Lists.Fd.Io
> On 7 Jan 2019, at 16:03, amitmulay...@gmail.com wrote: > > Hello all , im new to vpp and just started to reseach about it > > i was wandering regarding an issue , i want that the vpp will recognaize in > his port list > a wwan0 intarface (wifi) that i have in the linux device. > it has its o

Re: [vpp-dev] VPP 19.01 C API gets segmentation fault #binapi #vpp #vppcapi

2019-01-08 Thread Dave Barach via Lists.Fd.Io
As usual, I’m off by a few characters. Sorry about that... See .../src/vppinfra/mem.h: void *clib_mem_init (void *heap, uword size); or void *clib_mem_init_thread_safe (void *memory, uword memory_size); From: vpp-dev@lists.fd.io On Behalf Of Anthony Linz Sent: Tuesday, January 8, 2019 8:08 AM T

Re: [vpp-dev] VPP 19.01 C API gets segmentation fault #binapi #vpp #vppcapi

2019-01-08 Thread Anthony Linz
Dear Dave, Thanks for you reply. I could not find " clib_memory_init()" in vpp. Did you mean "vlibmemory_init()"? If yes where and how in my code I should use it? Thanks -- Anthony -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11869): https://lists

Re: [vpp-dev] VPP 19.01 C API gets segmentation fault #binapi #vpp #vppcapi

2019-01-08 Thread Dave Barach via Lists.Fd.Io
Oh, oops, I meant “msp=0”. Anyhow, results will almost certainly improve if you call clib_memory_init(...)... (😉)... From: vpp-dev@lists.fd.io On Behalf Of Dave Barach via Lists.Fd.Io Sent: Tuesday, January 8, 2019 7:38 AM To: Anthony Linz ; vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject:

Re: [vpp-dev] VPP 19.01 C API gets segmentation fault #binapi #vpp #vppcapi

2019-01-08 Thread Dave Barach via Lists.Fd.Io
Looks like a missing call to clib_memory_init(...). Note mspace=0... HTH... Dave From: vpp-dev@lists.fd.io On Behalf Of Anthony Linz Sent: Tuesday, January 8, 2019 4:44 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] VPP 19.01 C API gets segmentation fault #binapi #vpp #vppcapi Hi Recently I trie

Re: [vpp-dev] Seeing a VPP crash in timing wheel..

2019-01-08 Thread Dave Barach via Lists.Fd.Io
This bit of code works on the problem that either NTP or a privileged user can cause the kernel’s idea of “now” to change by a large amount, and we don’t want to break vpp’s idea of the cpu tick rate as a result. As far as I know, folks haven’t seen problems in this area for a long time. The Ji

Re: [vpp-dev] An 'ip route' question

2019-01-08 Thread Neale Ranns via Lists.Fd.Io
Hi Jon. In all cases it refers to the table related to the path (not the prefix). A path determines where to send the packet and is described by all keywords after the ‘via’ keyword. The two use cases you mention would be: Ip route add table 10.1.1.0/24 via 20.20.20.20 next-hop-table out-

Re: [vpp-dev] :: GRE tunnel dropping MPLS packets

2019-01-08 Thread Neale Ranns via Lists.Fd.Io
Hi Omer, Your config looks OK. I would start debugging with a packet trace. /neale De : au nom de Omer Majeed Date : lundi 7 janvier 2019 à 20:47 À : "vpp-dev@lists.fd.io" Objet : [vpp-dev] :: GRE tunnel dropping MPLS packets Hi, I'm running VPP on Centos 7 machine (say machine A), and ru

[vpp-dev] VPP 19.01 C API gets segmentation fault #binapi #vpp #vppcapi

2019-01-08 Thread Anthony Linz
Hi Recently I tried to learn VPP's C API and I found a sample C program in  https://www.marosmars.com/blog/managing-vpp-c-edition blog. I have compiled the program like this: gcc myprog.c -o myprog -lvppinfra -lvlibmemoryclient -lsvm and it has been compiled successfully. The problem is that when I

Re: [vpp-dev] Seeing a VPP crash in timing wheel..

2019-01-08 Thread shawsunshow
I encountered the same problem on the VPP16.09 version. I also saw another question on the link:  https://jira.fd.io/browse/VPP-153?jql=text%20~%20%22timing_wheel_insert%22%20ORDER%20BY%20lastViewed%20ASC Someone gave the answer, but did not understand why it was done? And why is this happening?