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 EDA882965 for ; Tue, 6 Mar 2018 11:42:18 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 02:42:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,431,1515484800"; d="scan'208";a="39585650" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 06 Mar 2018 02:42:17 -0800 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Mar 2018 02:42:17 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Mar 2018 02:42:16 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.125]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.253]) with mapi id 14.03.0319.002; Tue, 6 Mar 2018 18:42:14 +0800 From: "Xu, Rosen" To: Shreyansh Jain CC: "dev@dpdk.org" , "Doherty, Declan" , "Zhang, Tianfei" Thread-Topic: [dpdk-dev] [RFC 3/4] lib/librte_eal/common: Add Intel FPGA Bus Second Scan, it should be scanned after PCI Bus Thread-Index: AQHTtRNvFIaxRKZ880CIUiXuZapUgKPC8v8g Date: Tue, 6 Mar 2018 10:42:14 +0000 Message-ID: <0E78D399C70DA940A335608C6ED296D739F0ED23@SHSMSX104.ccr.corp.intel.com> References: <1520300638-134954-1-git-send-email-rosen.xu@intel.com> <1520300638-134954-4-git-send-email-rosen.xu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTNkYWFmODYtNjQxOS00OTEwLWE1MmMtNWRiMDM0NTljYTU3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkRHYXdzWWZVMDFjbFI4ZGdoOERod25zOHBRTTJsaEdQREhHZ3oxOXRpMzA9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC 3/4] lib/librte_eal/common: Add Intel FPGA Bus Second Scan, it should be scanned after PCI Bus X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2018 10:42:19 -0000 DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBTaHJleWFuc2ggSmFpbiBbbWFp bHRvOnNocmV5YW5zaC5qYWluQG54cC5jb21dIA0KU2VudDogVHVlc2RheSwgTWFyY2ggMDYsIDIw MTggMTQ6MjANClRvOiBYdSwgUm9zZW4gPHJvc2VuLnh1QGludGVsLmNvbT4NCkNjOiBkZXZAZHBk ay5vcmc7IERvaGVydHksIERlY2xhbiA8ZGVjbGFuLmRvaGVydHlAaW50ZWwuY29tPj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ICBzdHJ1Y3Qg cnRlX2J1cyAqYnVzID0gTlVMTCwgKmlmcGdhX2J1cyA9IE5VTEw7DQo+DQo+ICAgICAgICAgVEFJ TFFfRk9SRUFDSChidXMsICZydGVfYnVzX2xpc3QsIG5leHQpIHsNCj4gKyAgICAgICAgICAgICAg IGlmICghc3RyY21wKGJ1cy0+bmFtZSwgImlmcGdhIikpIHsNCj4gKyAgICAgICAgICAgICAgICAg ICAgICAgaWZwZ2FfYnVzID0gYnVzOw0KPiArICAgICAgICAgICAgICAgICAgICAgICBjb250aW51 ZTsNCj4gKyAgICAgICAgICAgICAgIH0NCj4gKw0KPiAgICAgICAgICAgICAgICAgcmV0ID0gYnVz LT5zY2FuKCk7DQo+ICAgICAgICAgICAgICAgICBpZiAocmV0KQ0KPiAgICAgICAgICAgICAgICAg ICAgICAgICBSVEVfTE9HKEVSUiwgRUFMLCAiU2NhbiBmb3IgKCVzKSBidXMgZmFpbGVkLlxuIiwN Cj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBidXMtPm5hbWUpOw0KPiAgICAgICAg IH0NCj4NCj4gKyAgICAgICBpZiAoaWZwZ2FfYnVzKSB7DQo+ICsgICAgICAgICAgICAgICByZXQg PSBpZnBnYV9idXMtPnNjYW4oKTsNCj4gKyAgICAgICAgICAgICAgIGlmIChyZXQpDQo+ICsgICAg ICAgICAgICAgICAgICAgICAgIFJURV9MT0coRVJSLCBFQUwsICJTY2FuIGZvciAoJXMpIGJ1cyBm YWlsZWQuXG4iLA0KPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmcGdhX2J1cy0+ bmFtZSk7DQo+ICsgICAgICAgfQ0KPiArDQoNCllvdSBhcmUgZG9pbmcgdGhpcyBqdXN0IHNvIHRo YXQgUENJIHNjYW5zIGFyZSBjb21wbGV0ZWQgKmJlZm9yZSogaWZwZ2Egc2NhbnM/DQpSb3Nlbjog eWVzDQpXZWxsLCBJIHVuZGVyc3RhbmQgdGhhdCB0aGlzIGNl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