From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP; 30 Sep 2016 08:02:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,273,1473145200"; d="scan'208";a="15015885" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga005.jf.intel.com with ESMTP; 30 Sep 2016 08:02:09 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.6]) by IRSMSX153.ger.corp.intel.com ([169.254.9.140]) with mapi id 14.03.0248.002; Fri, 30 Sep 2016 16:02:02 +0100 From: "Pattan, Reshma" To: "Kerlin, MarcinX" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "thomas.monjalon@6wind.com" , "Kerlin, MarcinX" Thread-Topic: [dpdk-dev] [PATCH v5 2/2] app/testpmd: improve handling of multiprocess Thread-Index: AQHSGyZR358XQOHEBkS+BrivS+9keaCSIJWw 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> In-Reply-To: <1475245454-6396-1-git-send-email-marcinx.kerlin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTZkNGIyM2UtNjY1Yy00YzE3LWFkZjAtMzllYTZlZjZhOTVjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlR1Wkl4RzJTa0hzalJWS0pEb0NJZ1F0RHdqNUY2WEZKXC9Kek9KU1RINmFJPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 2/2] app/testpmd: improve handling of multiprocess X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2016 15:02:12 -0000 > -----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