From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 402C3A0524; Thu, 4 Feb 2021 10:25:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D9C502405FC; Thu, 4 Feb 2021 10:25:49 +0100 (CET) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 399902405FB for ; Thu, 4 Feb 2021 10:25:49 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id A9577E6D; Thu, 4 Feb 2021 04:25:46 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 04 Feb 2021 04:25:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= MwriLssbKq76TZqDKYEA6AF9COF6DJS/yoEBoecoSMM=; b=USjVC5AoR5wn3Cie JpOBZNV+W0pD5Sqv4CNRvXPWm388Hg+iHEP0sQk7LWrGK19z8H8h5CUTVZCOvchF WCxHfGBtMcpK5AQ7qUrRTEsjbLrvo801hz4qtrb5583tjt5RIEBWk9g5i6yy19E2 tKhnAjbHhtNvAaATy26sJbo+orNQB8zAguXsSL1HoGkZTYRWutLHIo09x8LAdcHF OAvDi39+ZWzmn+p0zl5dGI85I8UOEODswpK13OHC467oXVIfi/615NGcnR7TR2Pq zf7JQBt6KTPBvjtEhX6SEid5w4leRvaJZKxcsLKDLMqvBrLvOWTQShyMmFefQX5q FkwhBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=MwriLssbKq76TZqDKYEA6AF9COF6DJS/yoEBoecoS MM=; b=JUC4NLyRW4r2Vq13eLD6TYQjOnQVouEUjSXwUiyyZqQ+ew4c/noCMyyrW T2Tw7181gpp9JrIy1AnPMJEaQw7T1o4fhp/pahWIB93xwlKTGqOVvAVOAlwBvg/P 5h5nXwUATFl6FXO9m7Rnxz0+/mLWuAZDP/J+1VI0xeXebulZjpKiQ8IMjbOnXRyB +2yZeTTdiHrp3D0lofOVfQh8r/jLizOnTfbUbbqjuGonTnhngY+Re22mIJpenn/E e12311y2NoUs7hR6t3I/GT4CuuwwHQqKhZ6/ko7DalLhJTUkurHJumhl9JzSmXGt RsS4M+Zd9PnPJoN3LyIeihmAAIEEA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeegucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh ephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofho nhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrth htvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeuieeivdff geehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhn vght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 21F81108005F; Thu, 4 Feb 2021 04:25:45 -0500 (EST) From: Thomas Monjalon To: oulijun Cc: Ferruh Yigit , dev , linuxarm@openeuler.org Date: Thu, 04 Feb 2021 10:25:43 +0100 Message-ID: <8270022.kECihOmdav@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] =?utf-8?q?=E3=80=90Some_Questions_About_Multi-Process?= =?utf-8?q?_Resource_Cleaning=E3=80=91?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, Sorry your questions are quite confused. Please start explaining what is the problem you are trying to solve. In general, closing a process does not mean removing the device, because it can be used by other processes. 04/02/2021 07:56, oulijun: > Hi, Thomas Monjalon&Ferruh Yigit and others > > I'm analyzing multiprocess with eal. I have some questions I'd like > to ask you. > > Firstly, After the rte_eal_init() command is executed, the master and > slave processes are started successfully. > > and traffic is continuously sent using the tester.If you run the kill -9 > command to stop the slave process, restart the re-process, and start > packet receiving and sending, > > how to ensure that the eal resource of the slave process is cleaned up? > > Second, how to invoke the remove function to clear probe resources of > the slave process after the slave process exits? > > Finally, I found out why the rte_eal_cleanup call was not unregistered > mp action after the process exited. > > I look forward to your response. > > > Thanks > > Lijun Ou > > >