[dpdk-dev] [PATCH v5 2/2] app/testpmd: improve handling of multiprocess

Pattan, Reshma reshma.pattan at intel.com
Fri Sep 30 17:02:01 CEST 2016



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marcin Kerlin
> Sent: Friday, September 30, 2016 3:24 PM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> thomas.monjalon at 6wind.com; Kerlin, MarcinX <marcinx.kerlin at intel.com>
> 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 <marcinx.kerlin at intel.com>

Acked-by: Reshma Pattan <reshma.pattan at intel.com>


More information about the dev mailing list