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 322BDA0547; Wed, 21 Apr 2021 20:24:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CE1F40687; Wed, 21 Apr 2021 20:24:25 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 3154440150 for ; Wed, 21 Apr 2021 20:24:24 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 181132381; Wed, 21 Apr 2021 14:24:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 21 Apr 2021 14:24:23 -0400 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=fm1; bh= RiZ59vB/p8nS8Fq7qwQGc/QIiKHs4KhRjrCP5rJHXW0=; b=zxeZwQVrCJpbn5O8 SgZygqn1TeOKoZmoG4Q7vllQxL1/Ve7OzsCVOFu2cz3/GvS2BUbFoP9dSOtq2Gfm UhzAhEwN9ktfs/36KlFuQm9VkDRMECyKNDINhd/KBrJIFtCoxXFXGE3YdyV8s7tj gWo7y2b5hAIcAyhiwEYYBrrnxw6urUQsavkYN42tAYV9YWfeLq9wdsrxc+4FE+ne /g9Un9BZPd+WMh0mmxjUgW3jI2lUKlY9huLmXwf0+2loLH40swpRwXjqv7v086W6 WGK1MTk6s6l9SgQxmKwD7CMA4ekFU4460yGN15QZ7VdCzSXtAkNnUYOE6igAJnoW aolrmw== 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=RiZ59vB/p8nS8Fq7qwQGc/QIiKHs4KhRjrCP5rJHX W0=; b=YbI0ZPNbtu3uZMyYr+xvQAg5LcvWubeNzjCIb0OGaxIdA+PEGLDvtayQ+ sQrSwql0xznqf6qV9jOs2X2ZYIEz3z5JsDn+JPenAv2bQZhrx8VURrA7Ut6wyREs C0We2kutxI/xFkGfNIsrwf5+Y+vCLEdXjiOrEfvWxoaSyAVM5Z8rlGjHIB+VpcwW ay5VYC9nQq8yWg/E4hpQtTPQ23yDoCpCaPJtByOxQMnNGgxfNeJm/YOVFr9XxMbx Z7gmA8Yf4mHZEGhP/g+zDtOpkgR98ndio7iTijzEyBgUw7wwJ0EqrUifSJcUNVuI NviX5Gcnbip22zcLLfphvbx2qmuvw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtkedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth 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 7C7131080066; Wed, 21 Apr 2021 14:24:21 -0400 (EDT) From: Thomas Monjalon To: "Min Hu (Connor)" Cc: dev@dpdk.org, ferruh.yigit@intel.com, bruce.richardson@intel.com Date: Wed, 21 Apr 2021 20:24:19 +0200 Message-ID: <3012065.d4EvtCEE8f@thomas> In-Reply-To: <1618453563-13490-1-git-send-email-humin29@huawei.com> References: <1618366270-1862-1-git-send-email-humin29@huawei.com> <1618453563-13490-1-git-send-email-humin29@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples: add eal cleanup to examples 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" 15/04/2021 04:26, Min Hu (Connor): > From: Chengchang Tang > > According to the programming guide, the rte_eal_init should be used pairs > with rte_eal_cleanup. > > This patch add rte_eal_cleanup to examples to encourage new users of > DPDK to use it. > > Fixes: aec9c13c5257 ("eal: add function to release internal resources") > Fixes: 3d0fad56b74a ("examples/fips_validation: add crypto FIPS application") > Fixes: c8e6ceecebc1 ("examples/ioat: add new sample app for ioat driver") > Fixes: 4ff457986f76 ("examples/l2fwd-event: add default poll mode routines") > Fixes: 08bd1a174461 ("examples/l3fwd-graph: add graph-based l3fwd skeleton") > Fixes: c5eebf85badc ("examples/ntb: add example for NTB") > Fixes: b77f66002812 ("examples/pipeline: add new example application") > Fixes: edbed86d1cc3 ("examples/vdpa: introduce a new sample for vDPA") > Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample") > Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") > Cc: stable@dpdk.org > > Signed-off-by: Chengchang Tang Applied, thanks