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 1058A5A8C for ; Mon, 30 Mar 2015 08:00:29 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 29 Mar 2015 23:00:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,492,1422950400"; d="scan'208";a="474267718" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by FMSMGA003.fm.intel.com with ESMTP; 29 Mar 2015 23:00:28 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.224.2; Sun, 29 Mar 2015 23:00:27 -0700 Received: from fmsmsx101.amr.corp.intel.com ([169.254.1.181]) by FMSMSX110.amr.corp.intel.com ([169.254.14.21]) with mapi id 14.03.0224.002; Sun, 29 Mar 2015 22:30:39 -0700 From: "Lu, Patrick" To: "Liu, Yong" , "Zhang, Helin" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] scripts: enable extended tag of PCIe Thread-Index: AQHQPEmpTh2qSYjY9ki9sNLzNJymcZ0qvHSAgADeIACAAbq8AIAHhncg Date: Mon, 30 Mar 2015 05:30:39 +0000 Message-ID: References: <1422593822-15531-1-git-send-email-zhida.zang@intel.com> <3200414.B2YSnFKgSE@xps13> <86228AFD5BCD8E4EBFD2B90117B5E81E10DA9B8A@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E10DA9B8A@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.106] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] scripts: enable extended tag of PCIe 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, 30 Mar 2015 06:00:31 -0000 SGkgSGVsaW4gYW5kIFRob21hcywNCg0KUmF0aGVyIHRoYW4gYW4gYWRkaXRpb25hbCBwYXRjaC4g Q2FuIHdlIGFsd2F5cyBlbmFibGUgZXh0ZW5kZWQgdGFnIGluIGk0MGUgZHJpdmVyPyBUaGVyZSBp cyBubyBuZWdhdGl2ZSBpbXBhY3QgZm9yIGVuYWJsaW5nIGV4dGVuZGVkIHRhZy4gKEV2ZW4gb24g ZGV2aWNlcyB0aGF0IGRvbid0IHN1cHBvcnQgZXh0ZW5kZWQgdGFnLCB0aGUgUENJZSBwYWNrZXQg d2lsbCBzaW1wbHkgaWdub3JlIHRoZSBiaXQgYW5kIGdvIG9uLikNCg0KQmVzdCwNCg0KUGF0cmlj aw0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogZGV2IFttYWlsdG86ZGV2LWJv dW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBMaXUsIFlvbmcNClNlbnQ6IFR1ZXNkYXksIE1h cmNoIDI0LCAyMDE1IDg6MzIgUE0NClRvOiBaaGFuZywgSGVsaW47IFRob21hcyBNb25qYWxvbg0K Q2M6IGRldkBkcGRrLm9yZw0KU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIXSBzY3JpcHRz OiBlbmFibGUgZXh0ZW5kZWQgdGFnIG9mIFBDSWUNCg0KSGkgSGVsaW4sDQpUaGlzIHBhdGNoIGxv b2sgZmluZSBmb3IgbWUuIEp1c3QgbmVlZCBhZGQgc29tZSBkZXNjcmlwdGlvbnMgYWJvdXQgdGhl IGV4dGVuZGVkIHRhZy4gDQpJZiB0aGlzIHNjcmlwdCB3b3JrIG9ubHkgb24gRlZMIGR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