From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 0D86A2BF1 for ; Wed, 21 Mar 2018 17:11:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2018 09:11:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,340,1517904000"; d="scan'208";a="39968720" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga001.fm.intel.com with ESMTP; 21 Mar 2018 09:11:32 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 21 Mar 2018 16:11:31 +0000 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.176]) by IRSMSX156.ger.corp.intel.com ([169.254.3.229]) with mapi id 14.03.0319.002; Wed, 21 Mar 2018 16:11:31 +0000 From: "Zhang, Roy Fan" To: Maxime Coquelin , "dev@dpdk.org" , "Kulasek, TomaszX" , "Wodkowski, PawelX" CC: "jianjay.zhou@huawei.com" , "yliu@fridaylinux.org" , "Tan, Jianfeng" , "Bie, Tiwei" Thread-Topic: [dpdk-dev] [PATCH v2 01/10] lib/librte_vhost: add vhost user private info structure Thread-Index: AQHTr+iyijb4KVcYIUyi4UvFWiTTq6PN9cwAgAyEBhCAAFAfgIAAJ26A Date: Wed, 21 Mar 2018 16:11:31 +0000 Message-ID: <9F7182E3F746AB4EA17801C148F3C60433102B6A@IRSMSX101.ger.corp.intel.com> References: <20180227162917.35125-1-roy.fan.zhang@intel.com> <20180227162917.35125-2-roy.fan.zhang@intel.com> <0f21227c-5b5f-a3f7-707a-60476826158e@redhat.com> <9F7182E3F746AB4EA17801C148F3C60433102660@IRSMSX101.ger.corp.intel.com> <87a9b225-dfa0-adbd-5a5e-483a1dcd0027@redhat.com> In-Reply-To: <87a9b225-dfa0-adbd-5a5e-483a1dcd0027@redhat.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGNmNTc4NTgtY2IwMS00M2NhLWJmMzMtNWQ3ZmU4ZjAzNzRiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ilc4Rzgyb3MzXC9Hd0N4TG9KemptVENZTWZFN3p6b01KSWhsRWRidEducDU4PSJ9 dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 01/10] lib/librte_vhost: add vhost user private info structure 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, 21 Mar 2018 16:11:38 -0000 SGkgTWF4aW1lLA0KDQpUaGFua3MgYSBsb3QgZm9yIHRoZSBmYXN0IHJlcGx5LiANCg0KPiAtLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gW21haWx0bzpt YXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbV0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