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 BB17E1B171 for ; Tue, 9 Jan 2018 12:03:13 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2018 03:03:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,335,1511856000"; d="scan'208";a="17814410" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 09 Jan 2018 03:03:10 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 Jan 2018 03:03:10 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 Jan 2018 03:03:09 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.218]) with mapi id 14.03.0319.002; Tue, 9 Jan 2018 19:03:08 +0800 From: "Wang, Xiao W" To: "thomas@monjalon.net" , Maxime Coquelin , "yliu@fridaylinux.org" CC: "Bie, Tiwei" , "dev@dpdk.org" , "stephen@networkplumber.org" Thread-Topic: [dpdk-dev] [PATCH v7 3/3] net/virtio: support GUEST ANNOUNCE Thread-Index: AQHTiQ3vFtnygwhEqU+DuPqGPwoKmqNqtVIAgACrAXA= Date: Tue, 9 Jan 2018 11:03:07 +0000 Message-ID: References: <20180107120513.142196-3-xiao.w.wang@intel.com> <20180109142651.84582-1-xiao.w.wang@intel.com> <20180109142651.84582-4-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmIzNGZjZmMtZDAzNy00MWUzLWJhODAtOTBhYTE1ODYxMDQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiIzMG9ybkJvM1Q2MGZoeloraEVcL3Zqbkpoc0pZcUlcL05HYThaN1o1UkNTSW1sVDFkQlFDOEk3d202c0tVZ1wvYnR4In0= 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] [PATCH v7 3/3] net/virtio: support GUEST ANNOUNCE 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, 09 Jan 2018 11:03:14 -0000 PiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gW21haWx0bzptYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNv bV0NCj4gT24gMDEvMDkvMjAxOCAwMzoyNiBQTSwgWGlhbyBXYW5nIHdyb3RlOg0KPiA+IFdoZW4g bGl2ZSBtaWdyYXRpb24gaXMgZG9uZSwgZm9yIHRoZSBiYWNrdXAgVk0sIGVpdGhlciB0aGUgdmly dGlvDQo+ID4gZnJvbnRlbmQgb3IgdGhlIHZob3N0IGJhY2t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