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 4647342500 for ; Tue, 5 Sep 2023 10:07:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A7C540A89; Tue, 5 Sep 2023 10:07:34 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 4E6834026A for ; Tue, 5 Sep 2023 10:07:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693901252; x=1725437252; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=rFR9MDiZfmdMqhsvR/O/yVvDhGo2zI9pkgh8jsu1SjA=; b=ftC2zQT9BsROnCjSsHhzy3+JHvEJa79rYGPpLjWCcaneCgfvA4GlzOlx i110voDPyJPG+wA+E/XHxwGPpYazNVArzUfKFpo6gQNdwIDXaDfqyqOvZ zTRvF3ojmmZRUByWpjinxQhxIFXQTixONQjmkBevBrTcz6DG4RqP8m7wQ 8+B0elAkCgteOPEXx5yoASzzVvu51tJ0yiHNFZnh6gLbQO5W3ZmI2kQK3 xtyk26RCRsSgylTZCxDszBVEdy/djo6wnmMVr5qTPSeV4SjE0HuH7y2tb Va63OUuBXBIUBskUyIPE4jCGDuM178JyZDHKhHUA3D0udPeAPJSSUZ04/ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10823"; a="356230095" X-IronPort-AV: E=Sophos;i="6.02,228,1688454000"; d="scan'208";a="356230095" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2023 01:06:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10823"; a="690847786" X-IronPort-AV: E=Sophos;i="6.02,228,1688454000"; d="scan'208";a="690847786" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Sep 2023 01:06:52 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 5 Sep 2023 01:06:52 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 5 Sep 2023 01:06:52 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.173) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Tue, 5 Sep 2023 01:06:51 -0700 Received: from PH7PR11MB6859.namprd11.prod.outlook.com (2603:10b6:510:1ef::11) by SJ0PR11MB6717.namprd11.prod.outlook.com (2603:10b6:a03:44f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.33; Tue, 5 Sep 2023 08:06:43 +0000 Received: from PH7PR11MB6859.namprd11.prod.outlook.com ([fe80::66a6:277:a64:2cfd]) by PH7PR11MB6859.namprd11.prod.outlook.com ([fe80::66a6:277:a64:2cfd%4]) with mapi id 15.20.6699.035; Tue, 5 Sep 2023 08:06:43 +0000 From: "Liao, TingtingX" To: "Zhou, YidingX" , "dev@dpdk.org" CC: "Zhou, YidingX" , "stable@dpdk.org" , "Xu, KuanX" Subject: RE: [PATCH] net/iavf: fix port stats not cleared Thread-Topic: [PATCH] net/iavf: fix port stats not cleared Thread-Index: AQHZ2w2jwZUsCLxr70q9/q9yFdDG67AL6B5A Date: Tue, 5 Sep 2023 08:06:43 +0000 Message-ID: References: <20230830065451.2976544-1-yidingx.zhou@intel.com> In-Reply-To: <20230830065451.2976544-1-yidingx.zhou@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB6859:EE_|SJ0PR11MB6717:EE_ x-ms-office365-filtering-correlation-id: 63c72870-0580-45a1-94fa-08dbade70b10 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ck/6ITmZWMSodLQwbmubBKA8zoyAnG9ZrMfrgDKBu1UIou5NVK71Q9ZnnBsahy3PAKLqICVdCnShep8Q2mrObfBgwHLDnM0XBtXxxLwahzBAqOxy+gjqdOV+5bOkm70VPsyl/KYvyxy++8gLVIvdGSyEwCGEGKcrRTmK68+cSlwwXrXTlJtFS1OssL6qQjSinS1Zrb3U7lWr7ibPevU3FaRnXUsSEkB/9YKlybF8YmIAW40NvO6hOP4PgCzMAKA/7dgJmrDiEjwmS7mSuebtTDEs66x6WP4lQ4oFcaGuURmVUX5zTdTwCWFFDhih1ujXD2GqN6KPn0wukpuJsnfXyvp+RBLtbjub1FLi7ej2P61LNFFEk4nw0mlBeJbpcLwc/RdOY4FU2IN7UgMv/gX2Fp6UI8XCBJdMj8YQfjhthhNO5tOCSeOuBkjGmkDiReoPeXcpI+iGn1vxEy5g5oPdohmEXonFPbIY4uJ6ohFux2QLe3BjdjFloioyb1ebkQyYq0UXWH4T5i1wvLVL7SAoy3ack5J+AeNMyATIB8rviZByYDUQNJJbBnvd+Hw1CjfPErUsDvNeGFjz9WCfehfs8gbiY9WctPfOS5euBQD+okrkGhTRIN106DgL1IRoR6JH x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6859.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(346002)(39860400002)(366004)(376002)(136003)(451199024)(186009)(1800799009)(86362001)(55016003)(5660300002)(52536014)(4326008)(8676002)(450100002)(8936002)(2906002)(4744005)(33656002)(122000001)(82960400001)(38070700005)(38100700002)(478600001)(9686003)(26005)(53546011)(107886003)(7696005)(6506007)(83380400001)(66556008)(71200400001)(316002)(54906003)(76116006)(66946007)(64756008)(110136005)(66446008)(66476007)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?QUtzS3M5NmNHNHRmMWRXY3VSTm9HRlZxZGVZYzVCZ3I4aVpWSnZVdVB4?= =?iso-2022-jp?B?YkFMTGd3eWZ4S2xFelpWTldZMzdUTi9PRFBZVVpnWXoyRnd1MnlaTW1z?= =?iso-2022-jp?B?Q1lXR0FZamk4RGowYkJ0L05QbjR3MWczOE1hNTJ2ZW5NK3ZSUzJWVnR3?= =?iso-2022-jp?B?YktLOU5KZTVEUGFsejRpYmFqUVNJM3FlU2NCMFpIR1l3K2k5NXJ6Wllk?= =?iso-2022-jp?B?WjFaZTYrRUJjV3JQUzVtZWxadTl4QnNZRGxhVVJya1VwN3lCejhKaW9W?= =?iso-2022-jp?B?ZUxCWTdaa1h6cnJrNmxlUzY5bHpoYjdMeTBOb1ZwYlc2VHNVZXQ3TXg1?= =?iso-2022-jp?B?RlRhNDFCR2ppUW9YWFFBaU5LUXdCaG4vS2p1aXZwejRKS0R4NEV1aWlu?= =?iso-2022-jp?B?QkJMWExka3JLYWoxekNPOFNVcEU0aFdUbjlQZDlXaXZpUVRwRGlzVUFY?= =?iso-2022-jp?B?WG80NURUQ1VycVJjcDgwbDRleTF3d0FuOU9QY2s1UkFXRjZtb09wVDFO?=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; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l6UqV8DNYgD/usCcrhZ0/iG293kNpmVoD2txcotA/AQXJcJ0rakrXB1IdVjsvxuOA/3A8xSibDRX2hdrO/54AtvknC3OI4yycYEOVG0/ZaJpGIYFniTlUdSmJe9FRHm2yn1oFzcqWLFoymAQPC+4uVrkxVZPforpgoR5OPuJAMAVnPpWu6V3aQouEBsc1wN/vmFter2Wq9x+qmHehVR5Mp53E7EkBBAsF6PrYBRxm8mysujLHSbAS1p7WGOv4BMVQvH3qJRV5fzBIoBYY2PZdOk9h7YAG0uF8y8Px12RdCJEeZ2qpowa2h/+/lX0Tq+yf3272jHc48uofq1tiAHelA== arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HHjMmy2WGvMqNcRR14bpdIUNhopK4OFdReSL8Na6Ez0=; b=NnPtz4iT5phxiuDqfxfiDc0TY1U5I3OgGxAomgDONAeFH/ZRjjGfPlK3DxmNur7pDdkpX4BZmqgLQhP2m2+a1O2GsuCejildiVvFGUYVMMwtFaKcnLk+ktj/BzDbGEDCRNzwdUD7Qed22jwCqANYbwlOcNz0Y54Q3ysR3v9EH9xHDfG3/ZSSO4sonDyJXIxkNSTtIi0E7SzH4lwGqulfJYNEnXfARKKIGF7JM3bIWI9YIAaTs5d8gHL/J6XO5lnyz+0PkIVbBm34d+6mVk5bHA1UmdYdlaaCNQHUmITrPYhOrUeOxHP0RdXOhyifMLwCc7IqqZVFX+l7hRaCtBgDFA== arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: PH7PR11MB6859.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: 63c72870-0580-45a1-94fa-08dbade70b10 x-ms-exchange-crosstenant-originalarrivaltime: 05 Sep 2023 08:06:43.7511 (UTC) x-ms-exchange-crosstenant-fromentityheader: Hosted x-ms-exchange-crosstenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d x-ms-exchange-crosstenant-mailboxtype: HOSTED x-ms-exchange-crosstenant-userprincipalname: fYzEMbho4ZXKFBDe5fRJJhr6v6OLfnJaMuPoJX8Uj7iy6nFgx231m0/djOYS6xZjuwDCKbrisYYJcEvHGUJJNKBaQaQYe9cvZ8Dtxx/B3C8= x-ms-exchange-transport-crosstenantheadersstamped: SJ0PR11MB6717 x-originatororg: intel.com Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Yiding Zhou > Sent: 2023=1B$BG/=1B(B8=1B$B7n=1B(B30=1B$BF|=1B(B 14:55 > To: dev@dpdk.org > Cc: Zhou, YidingX ; stable@dpdk.org; Xu, KuanX > Subject: [PATCH] net/iavf: fix port stats not cleared > > Call 'iavf_dev_stats_reset' during the initialization of the VF in order = to clear any statistics that may exist from the last use of the VF and to a= void statistics errors. > > Fixes: 22b123a36d07 ("net/avf: initialize PMD") > Cc: stable@dpdk.org > > Signed-off-by: Kuan Xu > Signed-off-by: Yiding Zhou > Tested-by: Tingting Liao