On 2019-01-17 20:10, Venky Venkatesh wrote:
[VV]: I had a question on the eventdev initialization API in the above 
multi-process setting. The following are the objects and API to init each of 
them. For each of these can you confirm whether it needs to be called in the 
PRIMARY process only or even the SECONDARY process must call these. The reason 
for the question is that the shared memory must be safely initialized once.

Event device itself:    rte_event_dev_configure, rte_event_dev_start
Ports:                  rte_event_port_setup
Queues:         rte_event_queue_setup
Port-Queue-Links:       rte_event_port_link


I don't think it matters if those calls are made from the primary or secondary process. Please note however, those call are not thread-safe, so external synchronization is required the calls are made from multiple threads/processes.

Reply via email to