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 08D45A0C46; Wed, 9 Jun 2021 08:39:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C87AA40E3C; Wed, 9 Jun 2021 08:39:06 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 6715E4069B for ; Wed, 9 Jun 2021 08:39:04 +0200 (CEST) IronPort-SDR: zJqaj4hJ8fzUL4Pszm8pNHM8H5Ba4uck+wKCoqWcDrMaxzGF8oCvMKP+AtuZBYmVRhzi8qkAzP hA0sAPA8/qPA== X-IronPort-AV: E=McAfee;i="6200,9189,10009"; a="290643877" X-IronPort-AV: E=Sophos;i="5.83,260,1616482800"; d="scan'208";a="290643877" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2021 23:39:01 -0700 IronPort-SDR: D6gGF5vhl7LbG46Lnh5fua8I0e23/8cZWhsbhwEFmofvmM/wqUuJJy1Vl5A9+PHTXkncm1kofP Zia3kM0rhrAQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,260,1616482800"; d="scan'208";a="402340777" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga003.jf.intel.com with ESMTP; 08 Jun 2021 23:39:00 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 8 Jun 2021 23:39:00 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 9 Jun 2021 14:38:58 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.008; Wed, 9 Jun 2021 14:38:58 +0800 From: "Tu, Lijuan" To: "ohilyard@iol.unh.edu" , "dts@dpdk.org" CC: "dpdklab@iol.unh.edu" Thread-Topic: [PATCH] tests/stats_checks: clear xstats before starting testing Thread-Index: AQHXVwdqWK1rDsJqpk6QGYFf1hHZ8KsLRiBQ Date: Wed, 9 Jun 2021 06:38:58 +0000 Message-ID: <3d30dcb6cc674d27a4aeb5431a69c6f5@intel.com> References: <20210601165849.21995-1-ohilyard@iol.unh.edu> In-Reply-To: <20210601165849.21995-1-ohilyard@iol.unh.edu> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] tests/stats_checks: clear xstats before starting testing X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" > -----Original Message----- > From: ohilyard@iol.unh.edu > Sent: 2021=1B$BG/=1B(B6=1B$B7n=1B(B2=1B$BF|=1B(B 0:59 > To: dts@dpdk.org > Cc: ohilyard@iol.unh.edu; Tu, Lijuan ; > dpdklab@iol.unh.edu > Subject: [PATCH] tests/stats_checks: clear xstats before starting testing >=20 > From: Owen Hilyard >=20 > Port xstats would have non-zero values when the entire test suite was run= . > Clearing those stats before starting the tests prevents a failure where i= t appears > that more packets were sent than were sent during the test, causing a fai= lure. >=20 > Signed-off-by: Owen Hilyard Applied, thanks