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 174C4A04B7; Fri, 18 Sep 2020 05:45:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE05E1D71F; Fri, 18 Sep 2020 05:44:58 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id EF7BA1D71E; Fri, 18 Sep 2020 05:44:56 +0200 (CEST) IronPort-SDR: wuYqT7wfXSJi3opEAmOeDFafnpyiHgvckkMFpfQXB5mJzCB7SFF7InX8mEUhZ135M1D5/f4v7C GNY3l6Q8KheQ== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="221406182" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="221406182" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 20:44:53 -0700 IronPort-SDR: Hkfg9XRkDAuw0NlWPp2B+CfDPz9ZlBl3gVtl9NHsVhvLWfZcYC3UyT2nV8pXkdfWw5A80OC5P5 SX+dCMGtxhfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="344602437" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP; 17 Sep 2020 20:44:53 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 17 Sep 2020 20:44:52 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) 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.1713.5; Fri, 18 Sep 2020 11:44:50 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Fri, 18 Sep 2020 11:44:50 +0800 From: "Jiang, JunyuX" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "Guo, Jia" , "Xing, Beilei" , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH v2] net/i40e: fix incorrect byte counters Thread-Index: AQHWi8+ECGrek6fgD06TYBYXpeMTcalqrJmAgAMMWNA= Date: Fri, 18 Sep 2020 03:44:50 +0000 Message-ID: References: <20200910015426.3140-1-junyux.jiang@intel.com> <20200916015105.39815-1-junyux.jiang@intel.com> <295e61ad-cbc5-3fbe-c996-c3f9a11b34d6@intel.com> In-Reply-To: <295e61ad-cbc5-3fbe-c996-c3f9a11b34d6@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/i40e: fix incorrect byte counters 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" SGkgRmVycnVoLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEZlcnJ1 aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBTZXB0 ZW1iZXIgMTYsIDIwMjAgODozMSBQTQ0KPiBUbzogSmlhbmcsIEp1b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