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 43753A04BB; Tue, 6 Oct 2020 23:31:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D41AE1C01; Tue, 6 Oct 2020 23:31:39 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id E87D81C01; Tue, 6 Oct 2020 23:31:37 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 6FD2F5C004B; Tue, 6 Oct 2020 17:31:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 06 Oct 2020 17:31:36 -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=fm2; bh= CuhBxgJWU36QKAJjDrYS1cmdywgqO9/6vOeiuBoQwts=; b=DG5Ntbzbv4oMYlh1 sK104cRAk2ilywRJyuL1OPD3nPN91qPWg/VBrJ+2y4o0r/N9ZpOXLz2nVWFSC684 rOkqnGu0rx70fPCY4xPL7OK1jOKR1CRMzz6Kp116vnRXXVNTJhmrZRJkINW+PIWO tfdx3SHoXuOkT64nopK6CqNbBfkBjG9yaTt0n1EN4xGBBgwmzYEmQ/jHgMnh+STy s67X63DRH7I+ZAgcCL8Lm9gjroFh7H5Nj336NfSj8d76B9RcXM4wRw/2JlQ8Ecb6 XEdcc25862Vk+VdELnOtK/vox+AbjIKbUIeY7mc16t26DoywmijE2y8cmpmw2Zte BA14yA== 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=fm1; bh=CuhBxgJWU36QKAJjDrYS1cmdywgqO9/6vOeiuBoQw ts=; b=gW6vPyAWs5x3CO3imAXvohRd+vU0RizCqTdz2FsCdf6S4hlinBejHhMOf yk/h5+kAxRIHKi1Pgqia0IJhUipWbyPl9AiXIcHc8AQofP8wzL/cQEDIyP847Lvd dmjakOngBIvAtg9xIxQXvjd9rXSn2Sq9ATPn0qEfQEKmu7vXR/scyML+pvURFE1q AfrKNcBe3kgRdp/PRDs9/0cId4+exrOpizvXTxRSCNREzEFpE1uE+z9fkpC5Ae1p IhAAhdW/oeYIALgtRIarI2PN4vkjcBfAw8BSsjoc1PmguQLLO7ctvKxunN0awmJi SI5IJl/0ciqp/6dL9by7/1CkNMegA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgeeggdduheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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 09E563280064; Tue, 6 Oct 2020 17:31:34 -0400 (EDT) From: Thomas Monjalon To: Lukasz Wojciechowski Cc: Nipun Gupta , Hemant Agrawal , Shreyansh Jain , dev@dpdk.org, stable@dpdk.org Date: Tue, 06 Oct 2020 23:31:33 +0200 Message-ID: <1952388.3YV8Bymq03@thomas> In-Reply-To: <20200921214420.29171-1-l.wojciechow@partner.samsung.com> References: <20200921214420.29171-1-l.wojciechow@partner.samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v1 1/2] raw/skeleton: reset rawdev test statistics 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" 21/09/2020 23:44, Lukasz Wojciechowski: > Statistics: passed, failed, unsupported and total are kept > in global static variables. As global variables they are initiated > with zeroes. However running test multiple times cumulates results > from previous calls. > > This patch resets statistics with zeroes in testsuite_setup(). > > To reproduce issue fixed by this patch, run rawdev_autotest command > in dpdk-test app multiple times. > > Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases") > Cc: shreyansh.jain@nxp.com > > Cc: stable@dpdk.org > > Signed-off-by: Lukasz Wojciechowski Acked-by: Hemant Agrawal Applied, thanks