[dpdk-dev] DSW eventdev and multi-process DPDK

Mattias Rönnblom mattias.ronnblom at ericsson.com
Fri Jan 18 15:47:42 CET 2019


On 2019-01-18 07:36, Venky Venkatesh wrote:
> 
> [VV]: Some more information. I went with the assumption that I will call these APIs on both the PRIMARY and SECONDARY processes and that these APIs would do the right thing viz. on the PRIMARY it would allocate and initialize while in the SECONDARY it would attach to those memories and structures. However that doesn’t seem to be the case: rte_event_port_setup is trying to allocate a ring of the same name in both processes and is crashing in rte_memzone_reserve_thread_safe (specifically at if ((memzone_lookup_thread_unsafe(name)) != NULL)) which is called from rte_event_ring_create.

Ports etc need (and should) only be configured once.

> Can you pls advise if the DSW is multiprocess ready?

I've answered this question already.

>If not, are there any plans to do so?
> 

For all I know, it should work already. If not, maybe it's here Palo 
Alto Networks chips in.



More information about the dev mailing list