[vpp-dev] Regarding communication from main thread to worker threads

2018-11-10 Thread Prashant Upadhyaya
Hi, The function, vl_api_rpc_call_main_thread, is useful to do message transfer from worker thread to the main thread. Is there any mechanism where I can call a function in worker thread from the main thread ? That is, just the reverse of the above. I can use interrupts (vlib_node_set_interrupt_

Re: [vpp-dev] vlib_buffer_alloc error

2018-11-10 Thread Dave Barach via Lists.Fd.Io
Dear Ewan, Please consider moving to vpp 18.10. 17.04 is not supported anymore. Thanks... Dave From: vpp-dev@lists.fd.io On Behalf Of xulang Sent: Saturday, November 10, 2018 4:37 AM To: xulang Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] vlib_buffer_alloc error My version is 17.04. At

Re: [vpp-dev] vlib_buffer_alloc error

2018-11-10 Thread xulang
My version is 17.04. At 2018-11-10 16:38:17, "xulang" wrote: Hi all, Sometimes(pretty many times), we get strange buffer index and which can cause fatal problem to vpp when we use ipsec vpn. Here are some details in function fill_free_list: (gdb) p mb0 $31 = (struct rte_mbuf *) 0x7f4a7

Re: [vpp-dev] pmalloc: clib_pmalloc_create_shared_arena

2018-11-10 Thread Damjan Marion via Lists.Fd.Io
Merged. Thanks. — Damjan On 10 Nov 2018, at 08:56, Kingwel Xie mailto:kingwel@ericsson.com>> wrote: Hi dear Damjan, I’m looking at the DPDK IPSec code, and occasionally I got a strange behavior of the memory pools created by dpdk_pool_create. After some time hard debugging, I think there

[vpp-dev] vlib_buffer_alloc error

2018-11-10 Thread xulang
Hi all, Sometimes(pretty many times), we get strange buffer index and which can cause fatal problem to vpp when we use ipsec vpn. Here are some details in function fill_free_list: (gdb) p mb0 $31 = (struct rte_mbuf *) 0x7f4a796e3740 (gdb) p mb1 $32 = (struct rte_mbuf *) 0x7f4a796e2d00 (gdb) p