From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 966977EEF for ; Mon, 18 May 2015 11:21:02 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 18 May 2015 02:21:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,452,1427785200"; d="scan'208";a="727656031" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by fmsmga002.fm.intel.com with ESMTP; 18 May 2015 02:21:00 -0700 Received: from kmsmsx154.gar.corp.intel.com (172.21.73.14) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 18 May 2015 17:21:00 +0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by KMSMSX154.gar.corp.intel.com (172.21.73.14) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 18 May 2015 17:20:59 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.94]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.50]) with mapi id 14.03.0224.002; Mon, 18 May 2015 17:20:58 +0800 From: "Jiajia, SunX" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: =?utf-8?B?W2R0c10gW+KAmGR0cy12MeKAmSA3LzldIGFkZCBzb21lIHBtZCBmdW5jdGlv?= =?utf-8?Q?ns_for_tester_to_code_the_testpmd_cases?= Thread-Index: AQHQkSiYs01DEGbZzk6ACAgtRGPWdp2A4OoAgACUWRA= Date: Mon, 18 May 2015 09:20:57 +0000 Message-ID: References: <1431925646-1314-1-git-send-email-sunx.jiajia@intel.com> <1431925646-1314-8-git-send-email-sunx.jiajia@intel.com> In-Reply-To: Accept-Language: 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] =?utf-8?b?W+KAmGR0cy12MeKAmSA3LzldIGFkZCBzb21lIHBtZCBmdW5j?= =?utf-8?q?tions_for_tester_to_code_the_testpmd_cases?= 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, 18 May 2015 09:21:03 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWHUsIEh1aWxvbmdYDQo+ IFNlbnQ6IE1vbmRheSwgTWF5IDE4LCAyMDE1IDQ6MjkgUE0NCj4gVG86IEppYWppYSwgU3VuWDsg ZHRzQGRwZGsub3JnDQo+IFN1YmplY3Q6IFJFOiBbZHRzXSBb4oCYZHRzLXYx4oCZIDcvOV0gYWRk IHNvbWUgcG1kIGZ1bmN0aW9ucyBmb3IgdGVzdGVyIHRvDQo+IGNvZGUgdGhlIHRlc3RwbWQgY2Fz ZXMNCj4gDQo+IEhpIEppYWppYSwNCj4gSSBoYXZlIGEgY29tbWVudHMgYXQgIiBkZWYgZXhlY3V0 ZV9jbWQoc2VsZiwgcG1kX2NtZCwgZXhwZWN0ZWQ9J3Rlc3RwbWQ+DQo+ICcsIHRpbWVvdXQ9VElN RU9VVCAiDQo+IFdvdWxkIHlvdSBjaGVjayBpdCwgdGhhbmtzICBhIGxvdA0KPiAtLS0tLU9yaWdp bmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBkdHMgW21haWx0bzpkdHMtYm91bmNlc0BkcGRrLm9y Z10gT24gQmVoYWxmIE9mIHNqaWFqaWF4DQo+IFNlbnQ6IE1vbmRheSwgTWF5IDE4LCAyMDE1IDE6 MDcgUE0NCj4gVG86IGR0c0BkcGRrLm9yZw0KPiBTdWJqZWN0OiBbZHRzXSBb4oCYZHRzLXYx4oCZ IDcvOV0gYWRkIHNvbWUgcG1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