Hi all,

I am using VPP version 19.04.

I recently migrated to this VPP version from an older version and I am
facing some issues during VPP startup. I have a plugin which I initialize
using VLIB_INIT_FUNCTION. During the init, I use
'vlib_thread_main->n_threads' to fetch the number of workers and use this
count to initialize different vectors in my plugin.

I believe that this 'vlib_thread_main' is initialized during
'vlib_thread_init'.

I have configured 4 workers in my startup.conf.

However, sometimes, during the startup, in my plugin init, the value of
'vlib_thread_main->n_threads' appears to be 0. In fact, the entire
vlib_thread_main is uninitialized.

This happens some times, thus causing crash in my plugin.

Has anyone else seen this issue?

Regards,
Siddarth
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13732): https://lists.fd.io/g/vpp-dev/message/13732
Mute This Topic: https://lists.fd.io/mt/32862405/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to