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 A55561B012 for ; Wed, 3 Jan 2018 02:41:03 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2018 17:41:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,499,1508828400"; d="scan'208";a="17665873" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 02 Jan 2018 17:41:02 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) 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:41:02 -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:41:00 +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: AQHTbMBbwethdZEpa0SP6haaYwH1PaM1qZWAgCvkGsA= Date: Wed, 3 Jan 2018 01:41:00 +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> <20171206112311.u7uuv66lev3er4yh@debian-xvivbkq> In-Reply-To: <20171206112311.u7uuv66lev3er4yh@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2E3YmE0N2YtZmYwYS00ODg2LWEyNzctOWUzYTg3NjdhOWM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJhT2Y0Y0dIb25xaGxaSW4zaHB2a0JEUVhzbXM0RXJsbm9MU29PSEJtK2JoVmVKUUJWSEx3MG51OTBHZzRqZnY3In0= 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:41:04 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0KPiBT ZW50OiBXZWRuZXNkYXksIERlY2VtYmVyIDYsIDIwMTcgNzoyMyBQTQ0KPiBUbzogV2FuZywgWGlh byBXIDx4aWFvLncud2FuZ0BpbnRlbC5jb20+DQo+IENjOiB5bGl1QGZyaWRheWxpbnV4Lm9yZzsg ZGV2QGRwZGsub3JnOyBzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZw0KPiBTdWJqZWN0OiBSZTog W1BBVENIIHYyIDIvMl0gbmV0L3ZpcnRpbzogc3VwcG9ydC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