From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 27D264C73 for ; Mon, 19 Mar 2018 07:53:40 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2018 23:53:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,329,1517904000"; d="scan'208";a="212556659" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 18 Mar 2018 23:53:37 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Mar 2018 23:53:37 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Mar 2018 23:53:35 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.129]) with mapi id 14.03.0319.002; Mon, 19 Mar 2018 14:53:33 +0800 From: "Tan, Jianfeng" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Richardson, Bruce" , "Ananyev, Konstantin" , "thomas@monjalon.net" Thread-Topic: [PATCH v5] vfio: change to use generic multi-process channel Thread-Index: AQHTs8jpA2MJZJmvLEKBn2YQgz1Rh6PPQqmAgAff0FA= Date: Mon, 19 Mar 2018 06:53:33 +0000 Message-ID: References: <1515643654-129489-5-git-send-email-jianfeng.tan@intel.com> <1520175456-52990-1-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 v5] vfio: change to use generic 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: Mon, 19 Mar 2018 06:53:42 -0000 SGkgQW5hdG9seSwNCg0KVGhhbmsgeW91IGZvciB0aGUgcmV2aWV3LiBBbGwgeW91ciBjb21tZW50 cyB3aWxsIGJlIGFkZHJlc3NlZCBpbiBuZXh0IHZlcnNpb24sIGV4Y2VwdCBmb3IgYmVsb3cgY29u Y2VybiB3aGljaCBtaWdodCBiZSB0YWtlbiBjYXJlIG9mIGluIGFub3RoZXIgcGF0Y2ggaWYgaXQg YWxzbyBjb25jZXJucyB5b3UuDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJv bTogQnVyYWtvdiwgQW5hdG9seQ0KPiBTZW50OiBXZWRuZXNkYXksIE1hcmNoIDE0LCAyMDE4IDk6 MjcgUE0NCj4gVG86IFRhbiwgSmlhbmZlbmc7IGRldkBkcGRrLm9yZw0KPiBDYzogUmljaGFyZHNv biwgQnJ1Y2U7IEFuYW55ZXYsIEtvbnN0YW50aW47IHRob21hc0Btb25qYWxvbi5uZXQNCj4gU3Vi amVjdDogUmU6IFtQQVRDSCB2NV0gdmZpbzogY2hhbmdlIHRvIHVzZSBnZW5lcmljIG11bHRpLXBy b2Nlc3MgY2hhbm5lbA0KWy4uLl0NCj4gDQo+ID4gKwltcF9yZXEubGVuX3BhcmFtID0gc2l6ZW9m KCpwKTsNCj4gPiArCW1wX3JlcS5udW1fZmRzID0gMDsNCj4gPiArDQo+ID4gKwl2ZmlvX2dyb3Vw X2ZkID0gLTE7DQo+ID4gKwlpZiAocnRlX21wX3JlcXVlc3QoJm1wX3JlcSwgJm1wX3J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