Re: [PATCH v5 2/2] app/testpmd: improve handling of multiprocess
From: Pattan, Reshma <hidden>
Date: 2016-09-30 15:02:12
From: Pattan, Reshma <hidden>
Date: 2016-09-30 15:02:12
-----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Marcin Kerlin Sent: Friday, September 30, 2016 3:24 PM To: dev@dpdk.org Cc: De Lara Guarch, Pablo <redacted>; thomas.monjalon@6wind.com; Kerlin, MarcinX [off-list ref] Subject: [dpdk-dev] [PATCH v5 2/2] app/testpmd: improve handling of multiprocess Added lookup for pool name because secondary process should attach to mempool created by primary process rather than create new one. Added function free_shared_dev_data() used at the exit of the testpmd. This causes detach devices data from array rte_eth_dev_data[] shared between all processes. This allows to have a up-to-date list of devices data and run again secondary application with the same name. Signed-off-by: Marcin Kerlin <redacted>
Acked-by: Reshma Pattan <redacted>