Hi ,

I have a basic question on how object pools are accessed by multiple threads in 
VPP. Do we have any locks underlying that safe gaurd the object pools ?

For example:
In acl_main_t, we have a pool of acl lists as below.
*acl_list_t *acls; /* Pool of ACLs */*

This list will be populated by vpp main_thread for add/del.
Also, this list will be accessed by worker thread during packet processing.

So, is this list guarded by any lock at lower layers for synchronizing the 
access between main thread and worker thread ?

Thanks & Regards,
Satish

--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14049): https://lists.fd.io/g/vpp-dev/message/14049
Mute This Topic: https://lists.fd.io/mt/34285184/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