From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 0A6052904 for ; Thu, 4 Jan 2018 08:11:20 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2018 23:11:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,506,1508828400"; d="scan'208";a="192121347" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 03 Jan 2018 23:11:18 -0800 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 3 Jan 2018 23:11:18 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 3 Jan 2018 23:11:17 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Thu, 4 Jan 2018 15:11:16 +0800 From: "Wang, Xiao W" To: "Bie, Tiwei" CC: "dev@dpdk.org" , "yliu@fridaylinux.org" , "stephen@networkplumber.org" Thread-Topic: [PATCH v3 2/2] net/virtio: support GUEST ANNOUNCE Thread-Index: AQHThOd7RwJnU43z0kWTcl6KW+g3uqNifc+AgADLo0A= Date: Thu, 4 Jan 2018 07:11:15 +0000 Message-ID: References: <1512396128-119985-3-git-send-email-xiao.w.wang@intel.com> <1515051700-117262-1-git-send-email-xiao.w.wang@intel.com> <1515051700-117262-3-git-send-email-xiao.w.wang@intel.com> <20180104025105.ho6vdzpjpmqb7gwp@debian-xvivbkq.sh.intel.com> In-Reply-To: <20180104025105.ho6vdzpjpmqb7gwp@debian-xvivbkq.sh.intel.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWZjMDlhOWYtYmZlMC00ZjBmLTk4ZTQtNjM4NTUwMjdhOTc0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI5MVwvS2ExbncyXC9Na3NzRWR2d3BpMUE4WGZUOTJXZHdJRVVGOHB0eWFLTDFwekJmYmtaMWQ4XC95ZmxGMVJ0dzE1In0= 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 v3 2/2] 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: Thu, 04 Jan 2018 07:11:21 -0000 SGkgVGl3ZWksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBU aXdlaQ0KPiBTZW50OiBUaHVyc2RheSwgSmFudWFyeSA0LCAyMDE4IDEwOjUxIEFNDQo+IFRvOiBX YW5nLCBYaWFvIFcgPHhpYW8udy53YW5nQGludGVsLmNvbT4NCj4gQ2M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