From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3F52B1B953 for ; Fri, 14 Dec 2018 20:05:45 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Dec 2018 11:05:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,354,1539673200"; d="scan'208";a="107506643" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 14 Dec 2018 11:05:44 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 14 Dec 2018 11:05:44 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.201]) by shsmsx102.ccr.corp.intel.com ([169.254.2.182]) with mapi id 14.03.0415.000; Sat, 15 Dec 2018 03:05:41 +0800 From: "Wang, Xiao W" To: Maxime Coquelin , "alejandro.lucero@netronome.com" , "Bie, Tiwei" CC: "dev@dpdk.org" , "Wang, Zhihong" , "Ye, Xiaolong" Thread-Topic: [PATCH v3 1/9] vhost: provide helper for host notifier ctrl Thread-Index: AQHUks1TOZN4chJJIEC0Qg8fzkTrc6V9t22AgADdWfA= Date: Fri, 14 Dec 2018 19:05:41 +0000 Message-ID: References: <20181213011014.110089-3-xiao.w.wang@intel.com> <20181213100910.13087-1-xiao.w.wang@intel.com> <20181213100910.13087-2-xiao.w.wang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDEyNjIxMzQtMTE4My00MmUxLWEyYWYtNjljMGJhYTBhNDIwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWncxcjhWQmJkXC9jMUFENHVZK2tjUXM2a00zZVR6MiswYnlcL1FTRWxITzNvQ3JrMHVnRHVxa083aVZtaWFUWFZ2In0= dlp-product: dlpe-windows dlp-version: 11.0.400.15 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 v3 1/9] vhost: provide helper for host notifier ctrl 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: Fri, 14 Dec 2018 19:05:45 -0000 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVl bGluIFttYWlsdG86bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb21dDQo+IFNlbnQ6IEZyaWRheSwg RGVjZW1iZXIgMTQsIDIwMTggNTozMyBBTQ0KPiBUbzogV2FuZywgWGlhbyBXIDx4aWFvLncud2Fu Z0BpbnRlbC5jb20+Ow0KPiBhbGVqYW5kcm8ubHVjZXJvQG5ldHJvbm9tZS5jb207IEJpZSwgVGl3 ZWkgPHRpd2VpLmJpZUBpbnRlbC5jb20+DQo+IENjOiBkZXZAZHBkay5vcmc7IFdhbmcsIFpoaWhv bmcgPHpoaWhvbmcud2FuZ0Bpbn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