From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 998F1A00BE; Sun, 26 Apr 2020 23:53:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8826E1C201; Sun, 26 Apr 2020 23:53:01 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id AE80A1C1E5 for ; Sun, 26 Apr 2020 23:52:59 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 5940E3A3; Sun, 26 Apr 2020 17:52:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sun, 26 Apr 2020 17:52:58 -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= fIJVNVbjtVAHFySNttnp80wDVnUXwBWLFWMZksCQciU=; b=mo4vpCj25K54OreU FcS3StwGAMg9Rx7sQ+lwHEBQUDTfn58x3blB6W7/MDjIxbA1Z2nDGc64z5XXRu/p UFYgBFVlk9ITM2/KR36gO1OxMkhg1y0h9KXYF8tMkDPhSxCjTFz18wFoQsaontxT mhEB2nG4BBQxC49zS2ZWogiOhXCxPq3KXb+aCg4OCtuVu0kznBAlZEcDnl48S85Z q3Ah+YYcNsD2gWklwAktF6xfkEwPBLD+Pa4yc2WmXvkuJio/UPdi4JbJx15KP7JG CCXEX1n8vYUebU54uaAm+mObHrr58usYdD0k1iEBRfS0QkmIA/X5b0rhfxLbEaId S2TCfw== 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=fIJVNVbjtVAHFySNttnp80wDVnUXwBWLFWMZksCQc iU=; b=Il/ehdh+9eJ18Q5VzCme7iI0oVk/mRCptHw64VJjMqiM006bXIJ+SpDZb BsuMSnjcfhBuTI1+Ks7eWX24Jr+BB4ZmcTbtjvMvAb96JtviqWany1Cf4dn4ZH9g amV24eAzHlg2l2qa33iDZy/mVmBk1cfPKwKb4+23rqmT53AT44B/G5D4RxrCCLbB vLwbtY/mOBmlxuj1VoZ+Le8llSDxYif92YNFc4PCAKes1BAup3jPYfWWtvkqC3J2 hYWUs15EtCdI1sstA2jKJ0zkqek/6CCliiNGiCR+XGfadJ1gnfCtt1t2e2Out2qE +SdLzkksmbQUKy4jUmE3w0EljAUNw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheekgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 288DD3065E47; Sun, 26 Apr 2020 17:52:57 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, David Hunt , reshma.pattan@intel.com Date: Sun, 26 Apr 2020 23:52:56 +0200 Message-ID: <144359109.7YDyUoj3Kj@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/2] l3fwd-power: implement proper shutdown handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" 20/04/2020 19:56, Anatoly Burakov: > Currently, shutdown for l3fwd-power application is all over the place > and may or may not happen either in the signal handler or in the main() > function. Fix this so that the signal handler will only set the exit > variable, thereby allowing all of the loops to end properly and proceed > to deinitialize everything. > > Signed-off-by: Anatoly Burakov > Acked-by: David Hunt > Reviewed-by: Reshma Pattan Applied, thanks