From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2A9AF902 for ; Mon, 11 Jan 2016 11:26:44 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 11 Jan 2016 02:26:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,552,1444719600"; d="scan'208";a="888070188" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga002.jf.intel.com with ESMTP; 11 Jan 2016 02:26:42 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.104]) by IRSMSX153.ger.corp.intel.com ([169.254.9.170]) with mapi id 14.03.0248.002; Mon, 11 Jan 2016 10:26:40 +0000 From: "Ananyev, Konstantin" To: "Tan, Jianfeng" , =?utf-8?B?TsOpbGlvIExhcmFuamVpcm8=?= , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 01/12] ethdev: add API to query what/if packet type is set Thread-Index: AQHRQ9KoIugEgpKcLkGtpAxtk9NTop7rQSUAgAAxMWCAAa5MgIAABAAggAEl+oCAAEBwAIAAH5sAgAAH//CAABNuAIABGg4QgAA364CABeacAIAAKssw Date: Mon, 11 Jan 2016 10:26:39 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836AE3A32@irsmsx105.ger.corp.intel.com> References: <20160104113814.GT3806@6wind.com> <2601191342CEEE43887BDE71AB97725836AE1002@irsmsx105.ger.corp.intel.com> <20160105161423.GE4712@autoinstall.dev.6wind.com> <2601191342CEEE43887BDE71AB97725836AE18E3@irsmsx105.ger.corp.intel.com> <20160106100053.GJ12095@6wind.com> <2601191342CEEE43887BDE71AB97725836AE1B46@irsmsx105.ger.corp.intel.com> <20160106154438.GP12095@6wind.com> <2601191342CEEE43887BDE71AB97725836AE2DBC@irsmsx105.ger.corp.intel.com> <20160106172248.GT12095@6wind.com> <2601191342CEEE43887BDE71AB97725836AE2F5B@irsmsx105.ger.corp.intel.com> <20160107133227.GU12095@6wind.com> <56935C1C.4040900@intel.com> In-Reply-To: <56935C1C.4040900@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 01/12] ethdev: add API to query what/if packet type is set 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, 11 Jan 2016 10:26:44 -0000 SGkgSmlhbmZlbmcsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVGFu LCBKaWFuZmVuZw0KPiBTZW50OiBNb25kYXksIEphbnVhcnkgMTEsIDIwMTYgNzozOSBBTQ0KPiBU bzogQW5hbnlldiwgS29uc3RhbnRpbjsgTsOpbGlvIExhcmFuamVpcm87IGRldkBkcGRrLm9yZw0K PiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggMDEvMTJdIGV0aGRldjogYWRkIEFQSSB0 byBxdWVyeSB3aGF0L2lmIHBhY2tldCB0eXBlIGlzIHNldA0KPiANCj4gSGksDQo+IA0KPiBBY2Nv cmRpbmcgdG8gdGhlIHByb3Bvc2FsLCBJJ20gZ29pbmcgdG8gZml4IHRoZSBkZWZpbml0aW9uIG9m IHRoaXMgQVBJDQo+IGFzIGJlbG93Og0KPiAvKioNCj4gICAqIFJldHJpZXZlIHRoZSBjb250ZXh0 dWFsIGluZm9ybWF0aW9uIG9mIGFuIEV0aGVybmV0IGRldmljZS4NCj4gICAqDQo+ICAgKiBAcGFy YW0gcG9ydF9pZA0KPiAgICogICBUaGUgcG9ydCBpZGVudGlmaWVyIG9mIHRoZSBFdGhlcm5ldCBk Z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