[dpdk-dev] DSW eventdev and multi-process DPDK
Mattias Rönnblom
mattias.ronnblom at ericsson.com
Fri Jan 18 15:36:24 CET 2019
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.
More information about the dev
mailing list