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 8F106C4F0 for ; Mon, 27 Jul 2015 10:06:17 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 27 Jul 2015 01:06:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,552,1432623600"; d="scan'208";a="771722863" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by orsmga002.jf.intel.com with ESMTP; 27 Jul 2015 01:06:15 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 27 Jul 2015 16:06:10 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.38]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.18]) with mapi id 14.03.0224.002; Mon, 27 Jul 2015 16:06:08 +0800 From: "Liu, Yong" To: Masoud Moshref Javadi , "dts@dpdk.org" Thread-Topic: [dts] Packets reorder in the second pass on mempool Thread-Index: AQHQxlxshyvYR3Q7b0a7xVQdLlQG9Z3u9/yA Date: Mon, 27 Jul 2015 08:06:07 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EAD7ED@SHSMSX103.ccr.corp.intel.com> References: <55B2B641.9060504@gmail.com> In-Reply-To: <55B2B641.9060504@gmail.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dts] Packets reorder in the second pass on mempool X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 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n IG9mIHBhY2tldA0KPiByZW9yZGVyaW5nIGNoYW5nZXMgZnJvbSA3ODA4Lg0KPiANCj4gI2RlZmlu ZSBOVU1fTUJVRlMgODE5Mg0KPiAjZGVmaW5lIE1CVUZfU0laRSAoMTYwMCArIHNpemVvZihzdHJ1 Y3QgcnRlX21idWYpICsgUlRFX1BLVE1CVUZfSEVBRFJPT00pDQo+ICNkZWZpbmUgTUJVRl9DQUNI RV9TSVpFIDI1MA0KPiAjZGVmaW5lIEJVUlNUX1NJWkUgMTI4DQo+IA0KPiBtYnVmX3Bvb2wgPSBy dGVfbWVtcG9vbF9jcmVhdGUoIk1CVUZfUE9PTCIsDQo+ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgTlVNX01CVUZTICogbmJfcG9ydHMsDQo+ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgTUJVRl9TSVpFLA0KPiAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIE1CVUZfQ0FDSEVfU0laRSwNCj4gICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaXplb2Yoc3RydWN0DQo+IHJ0ZV9wa3RtYnVm X3Bvb2xfcHJpdmF0ZSksDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgcnRlX3BrdG1idWZfcG9vbF9pbml0LCBOVUxMLA0KPiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHJ0ZV9wa3RtYnVmX2luaXQsICAgICAgTlVMTCwNCj4gICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAxLA0KPiAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIDApOw0KPiANCj4gVGhlIG1haW4gc2VuZGVyIGxvb3Ag aXMgYXMgZm9sbG93czoNCj4gDQo+ICAgIGZvciAoO3BrdHNfbnVtPHRhcmdldDspIHsNCj4gICAg ICAgICAgICAgICAgICAgICAgICAgICAvKiBHZXQgYnVyc3Qgb2YgUlggcGFja2V0cywgZnJvbSBm aXJzdCBwb3J0IG9mDQo+IHBhaXIuICovDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgcnRl X21lbXBvb2xfc2NfZ2V0X2J1bGsobWJ1Zl9wb29sLA0KPiAodm9pZCoqKSZidWZzLCBCVVJTVF9T SVpFKTsNCj4gICAgICAgICAgICAgICAgICAgICAgICAgICAvKiBTZW5kIGJ1cnN0IG9mIFRYIHBh Y2tldHMsIHRvIHNlY29uZCBwb3J0IG9mDQo+IHBhaXIuICovDQo+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgZm9yIChpPTA7IGk8IEJVUlNUX1NJWkU7IGkrKyl7DQo+ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBtID0gYnVmc1tpXTsNCj4gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIG0tPmRhdGFfbGVuID0gNjA7DQo+ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBtLT5wa3RfbGVuICA9IDYwOw0KPiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgcnRlX21lbWNweSgodWludDhfdCAqKW0tPmJ1Zl9hZGRyICsNCj4gbS0+ZGF0YV9v ZmYsYnVmcGt0LCA2MCk7DQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB1aW50 MzJfdCAqIGRhdGEgPSAodWludDMyX3QNCj4gKikocnRlX2N0cmxtYnVmX2RhdGEobSkgKyBkYXRh X29mZnNldCk7DQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqZGF0YSA9IHBr dHNfbnVtK2k7DQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KPiANCj4gICAgICAgICAg ICAgICAgICAgICAgICAgICB1aW50MTZfdCBuYl90eCA9IDA7DQo+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgd2hpbGUgKG5iX3R4IDwgQlVSU1RfU0laRSl7DQo+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBuYl90eCs9IHJ0ZV9ldGhfdHhfYnVyc3QocG9ydCwgMCwgYnVmcw0K PiArIG5iX3R4LCBCVVJTVF9TSVpFIC0gbmJfdHgpOw0KPiAgICAgICAgICAgICAgICAgICAgICAg ICAgIH0NCj4gICAgICAgICAgICAgICAgICAgICAgICAgICBwa3RzX251bSArPSBuYl90eDsNCj4g fQ0KPiANCj4gUmVnYXJkcw0K