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 4D401A00E6 for ; Thu, 8 Aug 2019 12:15:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59E391B9AD; Thu, 8 Aug 2019 12:15:52 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 20CC2DE3; Thu, 8 Aug 2019 12:15:51 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 39A0A22007; Thu, 8 Aug 2019 06:15:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 08 Aug 2019 06:15:50 -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=mesmtp; bh=4+FGa9WWMXs9LeZJHAW0obnPZeyKi2vrQGg7uhhFqiA=; b=hjL1KIEDDQDr V+jWBc9E0A3wPw53ssH4vKguOl6vZj4yvBdSXorQVWWD3z2DDoMzpJaeuFGe7Inw KmnXAPFbKmJG7A/iM3Is8ix7OO8IoVqbOD3rETsXI+X0l6YBfjOJDHPNf8+gCkdC yWqnLm/LaLGkSvK5anOsEf8eFVnLyjs= 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=fm3; bh=4+FGa9WWMXs9LeZJHAW0obnPZeyKi2vrQGg7uhhFq iA=; b=FgodxRhvEe/nJO0OhYNpXOcT0Dhjn0bA2IKTR0a0HTaFdlWULJa8p62p+ egCGzWyY5+RPzCB7WX8TVY3IH8EHEifWggIodtCG/95cfV1kuJCNOviV/UNSKQwd S061KBI0H9/Bjm1z3BtzCMrNO25pHPb+ZKaNEUiWCaqE9iARLUpzkZ5u196Agy/P juZTztiHYPiEVYkVHtieZ72l7WnIj4hTNnvDB1ovnOxs4vKIIOdZfGRMqIjhcRsd cTCISMulGDmaYQoE6w1PYpoqehT8jLAMUcExIQQPrmBp51iVzpipiYZjbiJEGIuF YzGn9vsZT1N0z7ADuj6k5sBGIT3iA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudduhedgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeelfedriedrudegledruddugeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhm rghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id A8230380076; Thu, 8 Aug 2019 06:15:48 -0400 (EDT) From: Thomas Monjalon To: Amit Gupta Cc: stable@dpdk.org, Jerin Jacob Kollanukkaran , Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , "dev@dpdk.org" Date: Thu, 08 Aug 2019 12:15:43 +0200 Message-ID: <2386248.fKL28IAdqa@xps> In-Reply-To: References: <1565183529-641-1-git-send-email-agupta3@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix latencystats deinit on signal 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" 08/08/2019 10:54, Jerin Jacob Kollanukkaran: > > From: Amit Gupta > > > > On receiving signal, testpmd showing warning as > > "LATENCY_STATS: failed to remove Rx/Tx callback" > > because rte_latencystats_uninit is called without checking if latencystats is > > enabled or not. > > > > After this fix, rte_latencystats_uninit will be called onlyif latencystats is enabled. > > > > Fixes: 62d3216d6194 ("app/testpmd: add latency statistics calculation") > > Cc: stable@dpdk.org > > > > Signed-off-by: Amit Gupta > > Acked-by: Jerin Jacob > Tested-by: Jerin Jacob Applied, thanks