Do not call vlib_worker_thread_barrier_sync() on a worker thread.
From: vpp-dev@lists.fd.io On Behalf Of ais...@gmail.com
Sent: Thursday, July 9, 2020 1:44 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] vpp-20.01/src/vlib/threads.c:1408
(vlib_worker_thread_barrier_sync_int) assertion
> I am using vpp20.01 on multicore env running on a VM and getting a crash:
> (vlib_worker_thread_barrier_sync_int) assertion `vlib_get_thread_index ()
> == 0' fails
You are not supposed to take the worker barrier from a worker thread. You can
use vl_api_rpc_call_main_thread() to call the main
Hi,
I am using vpp20.01 on multicore env running on a VM and getting a crash:
*(vlib_worker_thread_barrier_sync_int) assertion `vlib_get_thread_index () ==
0' fails
* Startup.conf snippet:
cpu {
main-core 0
corelist-workers 1
}
In code I am trying something like this:
clib_error_t *