From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Pattan, Reshma" Subject: Re: [PATCH v5 2/2] app/testpmd: improve handling of multiprocess Date: Fri, 30 Sep 2016 15:02:01 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F010AA0F4@IRSMSX109.ger.corp.intel.com> References: <1475244055-6309-1-git-send-email-marcinx.kerlin@intel.com> <1475245454-6396-1-git-send-email-marcinx.kerlin@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "De Lara Guarch, Pablo" , "thomas.monjalon@6wind.com" , "Kerlin, MarcinX" To: "Kerlin, MarcinX" , "dev@dpdk.org" Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 75B8E58CB for ; Fri, 30 Sep 2016 17:02:12 +0200 (CEST) In-Reply-To: <1475245454-6396-1-git-send-email-marcinx.kerlin@intel.com> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----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 ; > thomas.monjalon@6wind.com; Kerlin, MarcinX > Subject: [dpdk-dev] [PATCH v5 2/2] app/testpmd: improve handling of > multiprocess >=20 > Added lookup for pool name because secondary process should attach to > mempool created by primary process rather than create new one. >=20 > 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 betw= een > all processes. This allows to have a up-to-date list of devices data and = run again > secondary application with the same name. >=20 > Signed-off-by: Marcin Kerlin Acked-by: Reshma Pattan