From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A3FDA23A for ; Tue, 24 Apr 2018 07:22:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2018 22:22:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,321,1520924400"; d="scan'208";a="53147190" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 23 Apr 2018 22:22:33 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 23 Apr 2018 22:22:32 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 23 Apr 2018 22:22:32 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.40]) with mapi id 14.03.0319.002; Tue, 24 Apr 2018 13:22:30 +0800 From: "Tan, Jianfeng" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "thomas@monjalon.net" Thread-Topic: [dpdk-dev] [PATCH v4 3/5] bus/vdev: bus scan by multi-process channel Thread-Index: AQHT2MhwrKeKttDZg0euSHjUkFl9lKQNmoyAgAHMD2A= Date: Tue, 24 Apr 2018 05:22:30 +0000 Message-ID: References: <1520177405-59091-1-git-send-email-jianfeng.tan@intel.com> <1524243463-143438-1-git-send-email-jianfeng.tan@intel.com> <1524243463-143438-4-git-send-email-jianfeng.tan@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: [dpdk-dev] [PATCH v4 3/5] bus/vdev: bus scan by multi-process channel 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, 24 Apr 2018 05:22:36 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnVyYWtvdiwgQW5hdG9s eQ0KPiBTZW50OiBNb25kYXksIEFwcmlsIDIzLCAyMDE4IDU6NTUgUE0NCj4gVG86IFRhbiwgSmlh bmZlbmc7IGRldkBkcGRrLm9yZw0KPiBDYzogdGhvbWFzQG1vbmphbG9uLm5ldA0KPiBTdWJqZWN0 OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggdjQgMy81XSBidXMvdmRldjogYnVzIHNjYW4gYnkgbXVs dGktcHJvY2Vzcw0KPiBjaGFubmVsDQo+IA0KPiBPbiAyMC1BcHItMTggNTo1NyBQTSwgSmlhbmZl bmcgVGFuIHdyb3RlOg0KPiA+IFRvIHNjYW4gdGhlIHZkZXZzIGluIHByaW1hcnksIHdlIHNlbmQg cmVxdWVzdCB0byBwcmltYXJ5IHByb2Nlc3MNCj4gPiB0byBvYnRhaW4gdGhlIG5hbWVzIGZvciB2 ZGV2cy4NCj4gPg0KPiA+IE9ubHkgdGhlIG5hbWUgaXMgc2hhcmVkIGZyb20gdGhlIHByaW1hcnku IEluIHByb2JlKCksIHRoZSBkZXZpY2UNCj4gPiBkcml2ZXIgaXMgc3VwcG9zZWQgdG8gbG9jYXRl IChvciByZXF1ZXN0IG1vcmUpIHRoZSBkZXRhaWwNCj4gPiBpbmZvcm1hdGlvbiBmcm9tIHRoZSBw cmltYXJ5Lg0KPiA+DQo+ID4gU2lnbmVkLW9m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