From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7AC57A0C41; Thu, 30 Sep 2021 07:17:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02A87410EA; Thu, 30 Sep 2021 07:17:49 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 88C2C40DDA for ; Thu, 30 Sep 2021 07:17:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10122"; a="310649713" X-IronPort-AV: E=Sophos;i="5.85,335,1624345200"; d="scan'208";a="310649713" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2021 22:17:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,335,1624345200"; d="scan'208";a="563849554" Received: from irsmsx602.ger.corp.intel.com ([163.33.146.8]) by fmsmga002.fm.intel.com with ESMTP; 29 Sep 2021 22:17:44 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by irsmsx602.ger.corp.intel.com (163.33.146.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 30 Sep 2021 06:17:42 +0100 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.2242.012; Thu, 30 Sep 2021 13:17:39 +0800 From: "Hu, Jiayu" To: "Burakov, Anatoly" , "Ding, Xuan" , "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" CC: "Jiang, Cheng1" , "Richardson, Bruce" , "Pai G, Sunil" , "Wang, Yinan" , "Yang, YvonneX" Thread-Topic: [PATCH v6 2/2] vhost: enable IOMMU for async vhost Thread-Index: AQHXtNyfe5Aqmd3Ow0K6bTEBAJi7+Ku6grjg//+5JoCAAc84cA== Date: Thu, 30 Sep 2021 05:17:39 +0000 Message-ID: References: <20210901053044.109901-1-xuan.ding@intel.com> <20210929024127.15547-1-xuan.ding@intel.com> <20210929024127.15547-3-xuan.ding@intel.com> <77682652-45d4-e8ba-7af9-0524e1924b36@intel.com> In-Reply-To: <77682652-45d4-e8ba-7af9-0524e1924b36@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v6 2/2] vhost: enable IOMMU for async vhost X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnVyYWtvdiwgQW5hdG9s eSA8YW5hdG9seS5idXJha292QGludGVsLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBTZXB0ZW1i ZXIgMjksIDIwMjEgNTozOSBQTQ0KPiBUbzogSHUsIEppYXl1IDxqaWF5dS5odUBpbnRlbC5jb20+ OyBEaW5nLCBYdWFuIDx4dWFuLmRpbmdAaW50ZWwuY29tPjsNCj4gZGV2QGRwZGsub3JnOyBtYXhp bWUuY29xdWVsaW5AcmVkaGF0LmNvbTsgWGlhLCBDaGVuYm8NCj4gPGNoZW5iby54aWFAaW50ZWwu Y29tPg0KPiBDYzogSmlhbmcsIENoZW5nMSA8Y2hlbmcxLmppYW5nQGludGVsLmNvbT47IFJpY2hh cmRzb24sIEJydWNlDQo+I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