From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1A6B71B012 for ; Wed, 3 Jan 2018 02:37:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2018 17:37:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,499,1508828400"; d="scan'208";a="17665304" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 02 Jan 2018 17:37:10 -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; Tue, 2 Jan 2018 17:37:10 -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; Tue, 2 Jan 2018 17:37:10 -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; Wed, 3 Jan 2018 09:37:08 +0800 From: "Wang, Xiao W" To: "Bie, Tiwei" CC: "yliu@fridaylinux.org" , "dev@dpdk.org" , "stephen@networkplumber.org" Thread-Topic: [PATCH v2 2/2] net/virtio: support GUEST ANNOUNCE Thread-Index: AQHTbMBbwethdZEpa0SP6haaYwH1PaMyWSkAgC8xLXA= Date: Wed, 3 Jan 2018 01:37:07 +0000 Message-ID: References: <1511521440-57724-2-git-send-email-xiao.w.wang@intel.com> <1512396128-119985-1-git-send-email-xiao.w.wang@intel.com> <1512396128-119985-3-git-send-email-xiao.w.wang@intel.com> <20171204084634.p6kdqpwlyau76v4a@debian-xvivbkq> In-Reply-To: <20171204084634.p6kdqpwlyau76v4a@debian-xvivbkq> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGUyZTY2MmMtNGU5Yi00ZGI3LTkxYjAtOWNkZTE1MTQzODg1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJuN2dMUGlCWFBpME90YXdHQXhuNDcrYWxqaHlDMVM4cU9lak5XQTBLUGdNd2RMZEZwNzE3T3FPcUoxa0R5TVZmIn0= 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 v2 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: Wed, 03 Jan 2018 01:37:12 -0000 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0K PiBTZW50OiBNb25kYXksIERlY2VtYmVyIDQsIDIwMTcgNDo0NyBQTQ0KPiBUbzogV2FuZywgWGlh byBXIDx4aWFvLncud2FuZ0BpbnRlbC5jb20+DQo+IENjOiB5bGl1QGZyaWRheWxpbnV4Lm9yZzsg ZGV2QGR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