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 31E86A0C4C; Tue, 28 Sep 2021 11:03:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9878E410EB; Tue, 28 Sep 2021 11:03:25 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 403E3410D7 for ; Tue, 28 Sep 2021 11:03:24 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10120"; a="310202574" X-IronPort-AV: E=Sophos;i="5.85,329,1624345200"; d="scan'208";a="310202574" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2021 02:03:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,329,1624345200"; d="scan'208";a="538034270" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga004.fm.intel.com with ESMTP; 28 Sep 2021 02:03:23 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 28 Sep 2021 02:03:22 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 28 Sep 2021 02:03:22 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 28 Sep 2021 02:03:22 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 28 Sep 2021 02:03:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L7DCuSrMELLAZaf4tDuOF6+yaikz0wepcSzhhSho6e+ErqRlHrv/3iK1miIOyzNWTnr47C+hEWxvkCrSL4R1o0W1M4CT8VaQLNTSVmMubHyNtziBKE+fKscrS8wVLkjLylgvbZ7WnDJv8OCAZJeqt0izqyyKehhOSUkWlXQNM9oEDqJfW6kXT8dgodCBZ5/84Y3N5jCMtBU4c3bJvVrtu6Tg1U75ItMds+CbkWQpykvMLmSwFaeDyG+LBbO0Q9reGsRWk8+ZW9t63ek7iVRzv8OmcIoquqM2welsLZZ5knVkqT0zmcY6VXLzlkTSu+YHMPZPm+2r0st98PzESwCR4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HQUKnj0TKdJhSC0KX458ufawQ/qY4jfCz09MuTp5Yyc=; b=fLBn8c1dH9KhK5/l9FrrluGeNnpHi//Erfm6op+zMCDK5eFOku4kLm5GjG9A2ovh0TKwG7ZRMeTX2HL04/KtIBV2el3bAnForcvo1l0wpDmniTRT4C6TqaxWpUgjczpaBLIu+6o5qgUEXwOKZTANv1PuAnV2DQVJKzWaeaQCTXwO2XZ7XSejvXn+GTKX6brZCH9UmDxTx+keboXDEsHhPJYF4FC3CfLz7EBpnPG6zr24cdw/nLaw7SVAS8HHfBsqB5X55qbVRFylGoCvF98+GcMYq2zbQXosPnebTeJSlnv3OCv133cGOa/1noA9zwkft8McMRj5Os54iicdtuNR6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HQUKnj0TKdJhSC0KX458ufawQ/qY4jfCz09MuTp5Yyc=; b=JRWbgrE1+pXcEnsO86zswfNmmMYOoWIf7HsOi8jGsgen4EZnFzY8eoFPFrAfHyAvC539EVcKaBzJ/fCZebpu/nUtF+hxE2usmipND4pMTtg/jeblooLDphIPZtoZ3TjsiaOo6ypz8Lrgi2eM3f0KgsvbNKmcvzfKLPiyeYhBwec= Received: from BN9PR11MB5513.namprd11.prod.outlook.com (2603:10b6:408:102::11) by BN6PR11MB1442.namprd11.prod.outlook.com (2603:10b6:405:9::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15; Tue, 28 Sep 2021 09:03:19 +0000 Received: from BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::99b5:c482:4da6:799e]) by BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::99b5:c482:4da6:799e%7]) with mapi id 15.20.4544.021; Tue, 28 Sep 2021 09:03:19 +0000 From: "Ding, Xuan" To: "Burakov, Anatoly" , "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" CC: "Hu, Jiayu" , "Jiang, Cheng1" , "Richardson, Bruce" , "Pai G, Sunil" , "Wang, Yinan" , "Yang, YvonneX" Thread-Topic: [PATCH v5 2/2] vhost: enable IOMMU for async vhost Thread-Index: AQHXs3UglD9HE9BpvkCWup3eu85Rpau3y1MAgAFcs7A= Date: Tue, 28 Sep 2021 09:03:19 +0000 Message-ID: References: <20210901053044.109901-1-xuan.ding@intel.com> <20210927074806.90020-1-xuan.ding@intel.com> <20210927074806.90020-3-xuan.ding@intel.com> <534b1a11-08a0-835f-9512-5a9570cc58cd@intel.com> In-Reply-To: <534b1a11-08a0-835f-9512-5a9570cc58cd@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d9e9a78c-a488-4bc2-db77-08d9825ed14c x-ms-traffictypediagnostic: BN6PR11MB1442: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YBysaMWl2q7hwzCPw1U8qsv5+fdvU+p1NN+Q60ep41Y80Bqvm/GrNMPY/wEwUKbNljMc5lPA8++G8b5WKLRglT01WZdBQhLqhosY4eK3RV+yT72aBIRgtC9CnHR2miyI6gEDvbB6iqYwD8V2A9PdnA0qMZW8JDaNrxV8Nff/q9XFckd1iDbVbtEAw7/C0rMzZyVmpevaSuVjkjefHanbWscWdF8MTde34+oV1u0Q9LbHimFsedqt0xG5BqxNEFXrT3DAx3w5CCXFCT3Zkxm+LSHzcQokE9IV7NzdQBxmgVKMsNcaLtaxuZ0/icbuyWGi7OPq6XwRONNVuHI9M7YzjVhw72ahshKbNBrvajAjcRe3NdO2MBvcU3Q9Q/UiKXXQz/t+metJH3oiecWfct/lOgFdRLETiPVxbeli54G4Mvs7m/oT/yH/rBYu99ZUOXJcqeAPxOZe91vxujfWPuczSuvGWnFNATWKLxd9LKc5ZLcUIosFRIT1O9TNlpRxP3IVZUUwLHT8GGKk5+bf6wTisB85HYKs6rET0wTjcxD7r4uFRSa0ydP4ZgJGzQ9R4CZji2EIrv9QTM9a/6cR43MXc8zZBw05h/LF+XJeOA+nEJBEk4PWCagIUr3/Hh0Vd4tXuVBxNPdS8VZ5XtHr5KviYEzgu1CZFogzS3k6ORYTxAw9YOQ8xHd4pxsyXwTMgShJgK9avo7pQifjF3OuQZ458w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR11MB5513.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(107886003)(76116006)(9686003)(66446008)(64756008)(38070700005)(66476007)(86362001)(66946007)(54906003)(55016002)(316002)(110136005)(66556008)(6636002)(186003)(4326008)(52536014)(8676002)(38100700002)(5660300002)(53546011)(508600001)(33656002)(83380400001)(122000001)(8936002)(71200400001)(6506007)(7696005)(26005)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Nm1PRXRsMklZbEYyUzFOdWl1MVJzMVZGb2pxTjdwWWRUSTdsbHpYL0JicWtj?= =?utf-8?B?MllRMWtkQXdUamUvZCsrVE1KQnNFd0F6dFBPb2RUZC9nSjVPSjNHcjJkcUNF?= =?utf-8?B?M3Q4N2ZRSGNZNHFPdGI3NG9iWkhVL0tqV2l5b0hHbU42V0RCWmpWdlZoaGs5?= =?utf-8?B?ZEFHNS9kY3RGcG1BQW1XMWIwSnF3SUp1U3pySWYrMUR1TFFqbCtrdHRIckhy?= =?utf-8?B?SHQ3SW1iZTB5Vk5ZR2wrdE5xNENzdUVycCs1ZHZITGlYaVFYM09DbS82SzBM?= =?utf-8?B?Z2JjdFBJb3FWMnE4NnFFckE1dUhDcmFMaVo2QTMyYTh4SUlVMkpmeDhYanNC?= =?utf-8?B?VTNQUnhVaE8za09GU3RSZlc0dm1BTkhZeDV2M2h3R1JxSFExRU80YzJWZkU2?= =?utf-8?B?am8ySFh2RUJLRFdWaVoxamh4SGphN3ViSVcyMDU2T0lRaWFJZ2srR2p3Z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EN1aDBiN2haWkdp?= =?utf-8?B?Y0Uyci9ibnFRWW5JeVVZOVdHdG5HWEg1MTdKeENXaGY4dnpYSDRaeGxjODdL?= =?utf-8?B?N0Jtcys1WlMyaWdobVhYdmZiOVJ2ekZyWDVwMU5zNEZVWG5ld0FMTklhZElO?= =?utf-8?B?UmZwSlFWTUhoTVRYVjdVWjFkTVN4WnNUaERHbU1LUXpwWmdQSkswWkQrZWxO?= =?utf-8?B?SW0wbk82Zi9IcW1EeCsrYVo4SHRka2g0bGVHNXZTbDRZYTB1QWFzKzl1UVAz?= =?utf-8?B?Y3Z1cVUrQnRyME5tV3pnWFZLdENDNVdEWEk3dEtGNVdEVDhsd0svYlloMGh3?= =?utf-8?B?UWh6WnRMYXJoaStvNktHSmdSQmRrMHFqZFY5ODJ1V2R2bS8xMFZMdUdKcy9L?= =?utf-8?Q?qTzQbf/wAEQ91tCzF0bDWb/nmfCL/cxUllgYiF6?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5513.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d9e9a78c-a488-4bc2-db77-08d9825ed14c X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2021 09:03:19.7656 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8zcXvi25YqWBefU7gkXvHaIp6/OllZ2I9s2hYXrH9uAHuYhjJQibNWyOLjjHA9qv7+ReR+x+FbV5hCGwi/BKzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1442 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 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" SGkgQW5hdG9seSwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCdXJh a292LCBBbmF0b2x5IDxhbmF0b2x5LmJ1cmFrb3ZAaW50ZWwuY29tPg0KPiBTZW50OiBNb25kYXks IFNlcHRlbWJlciAyNywgMjAyMSA4OjE0IFBNDQo+IFRvOiBEaW5nLCBYdWFuIDx4dWFuLmRpbmdA aW50ZWwuY29tPjsgZGV2QGRwZGsub3JnOw0KPiBtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbTsg WGlhLCBDaGVuYm8gPGNoZW5iby54aWFAaW50ZWwuY29tPg0KPiBDYzogSHUsIEppYXl1IDxqaWF5 dS5odUBpbnRlbC5jb20+OyBKaWFuZywgQ2hlbmcxIDxjaGVuZzEuamlhbmdAaW50ZWwuY29tPjsN Cj4gUmljaGFyZHNvbiwgQnJ1Y2UgPGJydWNlLnJpY2hhcmRzb25AaW50ZWwuY29tPjsgUGFpIEcs IFN1bmlsDQo+IDxzdW5pbC5wYWkuZ0BpbnRlbC5jb20+OyBXYW5nLCBZaW5hbiA8eWluYW4ud2Fu Z0BpbnRlbC5jb20+OyBZYW5nLCBZdm9ubmVYDQo+IDx5dm9ubmV4LnlhbmdAaW50ZWwuY29tPg0K PiBTdWJqZWN0OiBSZTogW1BBVENIIHY1IDIvMl0gdmhvc3Q6IGVuYWJsZSBJT01NVSBmb3IgYXN5 bmMgdmhvc3QNCj4gDQo+IE9uIDI3LVNlcC0yMSA4OjQ4IEFNLCBYdWFuIERpbmcgd3JvdGU6DQo+ ID4gVGhlIHVzZSBvZiBJT01NVSBoYXMgbWFueSBhZHZhbnRhZ2VzLCBzdWNoIGFzIGlzb2xhdGlv biBhbmQgYWRkcmVzcw0KPiA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