From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1F6012B9A for ; Mon, 1 Aug 2016 10:58:25 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 01 Aug 2016 01:58:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,454,1464678000"; d="scan'208";a="1017421538" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by fmsmga001.fm.intel.com with ESMTP; 01 Aug 2016 01:58:25 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.247]) by KMSMSX153.gar.corp.intel.com ([172.21.73.88]) with mapi id 14.03.0248.002; Mon, 1 Aug 2016 16:58:23 +0800 From: "Zhao1, Wei" To: Kyle Larose CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/i40e: fix Rx statistic inconsistent Thread-Index: AQHR6XaGdJoJIQuvH0+vFFh/TF6sAKAvIPaAgASvvZA= Date: Mon, 1 Aug 2016 08:58:22 +0000 Message-ID: References: <1469782239-48758-1-git-send-email-wei.zhao1@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTJhNWZkOTYtOTA5Yy00NDNiLWE2M2EtNGFkMDE1Mzg2ODkxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjNyXC9naWhJYUJFNzkyUGVJZE9WTzh1MU1wTVwvYzh2NjUyZGhlT2F2VGVyND0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [172.30.20.206] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix Rx statistic inconsistent X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2016 08:58:26 -0000 SGksIEt5bGUgTGFyb3NlIA0KICAgVGhlIGNvcmUgcHJvYmxlbSBpcyBpNDBlIGhhcyBubyBzdGF0 aXN0aWMgb2YgZGlzY2FyZCBieXRlcywgdGhhdCBtZWFucyBldmVuIGlmIHdoZW4gcG9ydHMgYXJl IG5vdCBzdG9wcGVkLCB0aGUgIA0Kc3RhdGlzdGljICByeF9nb29kX2J5dGVzIGlzIGNvbnNpc3Qg b2YgZGlzY2FyZCBieXRlc++8jGlzIHRoYXQgcmVhc29uYWJsZT8gSW4gb3RoZXIgd29yZHMsIEkg Y2FuIGp1c3QgbWludXMgZGlzY2FyZCBieXRlcyAgDQpmcm9tIHJ4X2dvb2RfYnl0ZXMgaWYgSSBj YW4gZ2V0IGRpc2NhcmQgYnl0ZXMgbnVtYmVyLCB0aGF0IGlzIG11Y2ggYmV0dGVyLg0KDQotLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogS3lsZSBMYXJvc2UgW21haWx0bzplb21lcmVh ZGlnQGdtYWlsLmNvbV0gDQpTZW50OiBTYXR1cmRheSwgSnVseSAzMCwgMjAxNiAxOjE3IEFNDQpU bzogWmhhbzEsIFdlaSA8d2VpLnpoYW8xQGludGVsLmNvbT4NCkNjOiBkZXZAZHBkay5vcmcNClN1 YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2Ml0gbmV0L2k0MGU6IGZp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