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 7E1294F93 for ; Thu, 17 May 2018 10:07:13 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2018 01:07:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,409,1520924400"; d="scan'208";a="51589767" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 17 May 2018 01:07:11 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 17 May 2018 01:07:11 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 17 May 2018 01:07:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.40]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.210]) with mapi id 14.03.0319.002; Thu, 17 May 2018 16:07:09 +0800 From: "Wang, Xiao W" To: Maxime Coquelin CC: "dev@dpdk.org" , "Bie, Tiwei" , "Yao, Lei A" Thread-Topic: [PATCH] net/virtio-user: fix dev_init in legacy-mem mode Thread-Index: AQHT7bIWA9Q2tf4wrkiGg+fGR9Vp8aQzCY2AgACG76A= Date: Thu, 17 May 2018 08:07:08 +0000 Message-ID: References: <20180517073525.103984-1-xiao.w.wang@intel.com> <77d27fbb-710a-3b4b-43e7-30776529c83e@redhat.com> In-Reply-To: <77d27fbb-710a-3b4b-43e7-30776529c83e@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmI4NTZhN2UtZmQ2NS00MWExLTk4ZTgtNDM3N2EwMjI5MmZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJraUpNbWJRSWJcL2w3TFBvQnd4cEp3K0lFQmZvbjFiYlk3UGM0aldIXC9GT3BFVG5SZGhQc2twZSt5eTFibkh1WlkifQ== dlp-product: dlpe-windows dlp-version: 11.0.200.100 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] [PATCH] net/virtio-user: fix dev_init in legacy-mem mode 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: Thu, 17 May 2018 08:07:13 -0000 SGksDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29x dWVsaW4gW21haWx0bzptYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbV0NCj4gU2VudDogVGh1cnNk YXksIE1heSAxNywgMjAxOCA0OjAzIFBNDQo+IFRvOiBXYW5nLCBYaWFvIFcgPHhpYW8udy53YW5n QGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgQmllLCBUaXdlaSA8dGl3ZWkuYmllQGlu dGVsLmNvbT47IFlhbywgTGVpIE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