From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 68C145962 for ; Tue, 2 Aug 2016 05:31:31 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 01 Aug 2016 20:31:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,458,1464678000"; d="scan'208";a="1017984308" Received: from kmsmsx155.gar.corp.intel.com ([172.21.73.106]) by fmsmga001.fm.intel.com with ESMTP; 01 Aug 2016 20:31:21 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.247]) by KMSMSX155.gar.corp.intel.com ([169.254.15.103]) with mapi id 14.03.0248.002; Tue, 2 Aug 2016 11:27:06 +0800 From: "Zhao1, Wei" To: "Wu, Jingjing" , "Lu, Wenzhuo" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/i40e: fix Rx statistic inconsistent Thread-Index: AQHR6XaGdJoJIQuvH0+vFFh/TF6sAKAvIPaAgASvvZCAATTjsA== Date: Tue, 2 Aug 2016 03:27:05 +0000 Message-ID: References: <1469782239-48758-1-git-send-email-wei.zhao1@intel.com> 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: Tue, 02 Aug 2016 03:31:32 -0000 SGksV3UgamluZ2ppbmcgYW5kIHdlbnpodW8NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KPiBGcm9tOiBaaGFvMSwgV2VpDQo+IFNlbnQ6IE1vbmRheSwgQXVndXN0IDEsIDIwMTYgNDo1 OCBQTQ0KPiBUbzogJ0t5bGUgTGFyb3NlJyA8ZW9tZXJlYWRpZ0BnbWFpbC5jb20+DQo+IENjOiBk ZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUkU6IFtkcGRrLWRldl0gW1BBVENIIHYyXSBuZXQvaTQw ZTogZml4IFJ4IHN0YXRpc3RpYyBpbmNvbnNpc3RlbnQNCj4gDQo+IEhpLCBLeWxlIExhcm9zZQ0K PiAgICBUaGUgY29yZSBwcm9ibGVtIGlzIGk0MGUgaGFzIG5vIHN0YXRpc3RpYyBvZiBkaXNjYXJk IGJ5dGVzLCB0aGF0IG1lYW5zIGV2ZW4gaWYNCj4gd2hlbiBwb3J0cyBhcmUgbm90IHN0b3BwZWQs IHRoZSBzdGF0aXN0aWMgIHJ4X2dvb2RfYnl0ZXMgaXMgY29uc2lzdCBvZiBkaXNjYXJkDQo+IGJ5 dGVz77yMaXMgdGhhdCByZWFzb25hYmxlPyBJbiBvdGhlciB3b3JkcywgSSBjYW4ganVzdCBtaW51 cyBkaXNjYXJkIGJ5dGVzDQo+IGZyb20gcn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