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 92D33A0546; Wed, 7 Apr 2021 09:10:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 23FAB407FF; Wed, 7 Apr 2021 09:10:29 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id E87084069F for ; Wed, 7 Apr 2021 09:10:26 +0200 (CEST) IronPort-SDR: 3I/DuY8PK/f3HpV1Vuq/Z+UIXBFL4ychuqwIgbmc/rm+F3NZGItR3xwdKbk/ct/BaskSRw5uCE JaBq+VV6tBTA== X-IronPort-AV: E=McAfee;i="6000,8403,9946"; a="180374454" X-IronPort-AV: E=Sophos;i="5.82,201,1613462400"; d="scan'208";a="180374454" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 00:10:25 -0700 IronPort-SDR: U7qnIeS34PiuzWQWiCKi5xYe63EOsH6FzJpade9/187TkE66GXTKFlKm3aFTs6xA43e/KKdKQr zJEq+vQ1Y1AA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,201,1613462400"; d="scan'208";a="421570676" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 07 Apr 2021 00:10:17 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 7 Apr 2021 00:10:16 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 7 Apr 2021 00:10:16 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 7 Apr 2021 00:10:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=md76yJa62j11euFnKRAoQzNM5sXnfXTbfmBdrLwfewjzvpck4CremRn03aOGZOid/34AqRn32356467HBKfJYuPo5wj6JErkOEXfA97KgXuqK36UqL/34jR2a13iOHzPUQDnPsgrykzEzySrlc9pNmprnjvlRDVupGO7qn7jf/pzC89lLHLSve8vT4AATi5WlTFwvY+4P8VxCrcxgb9qfp6ueP+81jeLvBvKwcxAxG4GtyBfuY/JZw3I3JPhbOyXoOMPWm++JWT5IO7lXR0LN/VPa5o6MxkRT3KyzmmIvD472nRAvO2Lf5Z605rb18Jv9+65ea1FpvuSNwhEZ0mPlA== 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:X-MS-Exchange-SenderADCheck; bh=/mglvfYGm2tIf76oEWjSKginJpZFFoBBvqd6bnpDplE=; b=EQqfzZS/mGKCT7ewGcWOaWKBNizZubeJt1pRjuDB812uF3VqQzc6XtfMYdL/FH+HhXljEdpcS2NvEbf0Cgri8v5L7s1LTdcTOPk4Ms+29K9JXwWiK6NqKP4E5rGmXOC9iYGeqMcCUIiruf76ws7VHZfL75vkiwFwYL6I7GOYow7pdgf0FbZDCfBVrvNRdPSJmdej+sY/GN7U5VfXEtd+rH+pCqbwNXph76PTCpVoUU4TpYfMQRzPpaX6eX8LiJSux+xvupqWw/zsyqUnWF3dmlsGUC0SdNS5wCsApgywJ8Ra2XDJiDpzNFA2YLu+Av4BD+8N3zNIFMamHYaGwa0mag== 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=/mglvfYGm2tIf76oEWjSKginJpZFFoBBvqd6bnpDplE=; b=H2xleFPNOOGKB/zjhEFaiTryjzHkE2TouAvWnhvhy13vX2R8K4Wde1V0E7dmaN7Kz0nf3+g9lYgBPlmiJPnK7b5BebfhtsPk9i56FF10OslExXb+x+Kd7CXdilgDQsbfJTJc1S0UHPxObzdJJrnUQ8UBYJPwC72c29L4sy300IU= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4727.namprd11.prod.outlook.com (2603:10b6:208:26f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Wed, 7 Apr 2021 07:10:15 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7%6]) with mapi id 15.20.3999.032; Wed, 7 Apr 2021 07:10:15 +0000 From: "Xia, Chenbo" To: Wan Junjie , Maxime Coquelin CC: "dev@dpdk.org" , Peng He , Zhihong Wang Thread-Topic: [PATCH v2] vhost: avoid iotlb mempool allocation while IOMMU disabled Thread-Index: AQHW+Tulqaj+eD9+NUuJL6ojFbNJtKqpBdkg Date: Wed, 7 Apr 2021 07:10:15 +0000 Message-ID: References: <20210202081446.79331-1-wanjunjie@bytedance.com> In-Reply-To: <20210202081446.79331-1-wanjunjie@bytedance.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: bytedance.com; dkim=none (message not signed) header.d=none;bytedance.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7cc8d084-ee7f-4f50-b71e-08d8f994318c x-ms-traffictypediagnostic: MN2PR11MB4727: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:826; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oLNAY2yArzRy0ACw0WRC3gl3uAeOVCM8yESza3IJ2ViEOS9On44Yt76nfoXm68MCfsAKQu5nx+S5TscjDYb+4cVoPFTM5EYdhTlhIo+ITUbxK+e16hHjsyNQnWn02Pu+qCrz5M/XHmvraB9IvwzAyjcKAl1MpnDWsiAa5+BXdvWmmyaI8qhwWO1Du4nUA89RBkaQr1hodfyJMN8Ri5jFby7RN6SSM127kXRVnnQxzVhH8wkH+6dJIrc2m2hiHSEXK4ro/SiVtJVY80FM5y3GzvTFZD506wtuLW22NenDsX976npqkKELlF1CLH6L4SQHSwsdE8eiRQm21zI6kQkc0iFjOlRI4QraM++mI02PmJQFzuNqJZUFL58x9YUMYVq84/v8yIi8jE0v8xPz8Kamyf+6+TGjJCdaxSbixHR7jlU8D1uSiOIutCx24WyQoZRhsYslryOk4W8xvR6CEh8sKzsIrLqGpjcAnKdN78F4bHrpWta7qoWx8KWWp2RwVZuT5ANDwcWNA2JnKPz/U5FU8IA6TzHEtM5UuL3NJJBeO9oy5LTBXORpa339G45dbh0IGKdFv2Wbd54BatpJV5cEyhc+OdKcZ4WmLnd48UhZDBphUSMVvAwEx6kUMDhfB2ZozEwLrGRommbvow+xPfP5kN7TFHpWVXGNF8+gzgiG6Qo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(346002)(39860400002)(366004)(136003)(396003)(64756008)(316002)(52536014)(8676002)(4326008)(55016002)(110136005)(9686003)(66446008)(53546011)(86362001)(4744005)(66556008)(83380400001)(66946007)(5660300002)(66476007)(54906003)(478600001)(6506007)(7696005)(186003)(8936002)(2906002)(38100700001)(26005)(71200400001)(76116006)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?a3pmcjk3aUxSWThwRS9uZmRSYjREVnI0ajlMa29qa3dqbGdtTFVlZEU1dzha?= =?utf-8?B?RGt5b01SUzZodXVsWThYMkZLVGo1Q2hBQVJVajh3eXkvYUxtM3I5OTh2ZDJh?= =?utf-8?B?QTRMV0NHa1ZzMTcyN1Z3U3dnVG9LQUI3YjRGL2RwODhZTFBjNUZSSy9YNjBs?= =?utf-8?B?VDhzYkJPbTFhaE54bkNLRU1qaXNKUXY1OUFhYW8wSHlIeDR5ZzVNbmFqTkRW?= =?utf-8?B?RmNkYU8rTURicTFXbFYzN3l3dlJSS2ladVkxMWJPdXpCY0NnTnBITVkvRXMw?= =?utf-8?B?ZmJZU0NVcXRzaU9mNXlOQnA4RllsdXlhM2JaRnNRRXJQMnM2aXdhQWVPV2FT?= =?utf-8?B?WnZqU2NxRDlJZ1I4ZTlwbkJFV1B1SzJ1dDZPaUZtSmxXSG5NZ3dQWEVuT25n?= =?utf-8?B?eVM0anZPQTFDM01RYWxDQXdBamJWRXdqemNFRU9jNjNDZzRSOGQ3LzNha2RJ?= =?utf-8?B?TTJQeVpLLzZTeG90VEhPcDRyY25VOGpNUjJHZ2JGWFZVR2pkeWZUbXUzMDM4?= =?utf-8?B?Q3NqZU1pTUZhY2t2WmdaYkxIa2tlUEdoajhMYVNoVFp0clNhQ2F0cjJNYWV1?= =?utf-8?B?a2RnWnhDV2wvcktpQmVRMnBDNjN6M0VSVEZGUGFFOWFibXRDSG9SelJCU1ZD?= =?utf-8?B?TGlhSG5DamxtOVhzWHcybGhMcFQ0dDh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y8yZE5RenJqNU5lZTU4MWNYNkI0RHZMamJxbDA1b05qcjlmNDYr?= =?utf-8?B?anB2aWxmNEVkYjVyKytEbFVGWi9uMU9ZcnBuOHI5czhjdDIzd3ZUeVI0TFRr?= =?utf-8?B?Zk54VlFpaGdpakYyTTZ5WTNaMHBRUWFUV09lOUxpaVpJa3JPbml1NmRobnFM?= =?utf-8?Q?aZsqZdN3nyEmcTSx50CUEcfEiH9veVi1IcN74XD?= x-ms-exchange-transport-forked: True 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: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cc8d084-ee7f-4f50-b71e-08d8f994318c X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 07:10:15.3697 (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: Ke82JNhsDl1hPRDzUi6LxFwKVauSU2P3kMGz48vPeLcfFxrZCBYft6gnHkEd8wN0FU4Slzo+qqhBlhSf9uiIdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4727 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] vhost: avoid iotlb mempool allocation while IOMMU disabled 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBXYW4gSnVuamllIDx3YW5qdW5q aWVAYnl0ZWRhbmNlLmNvbT4NCj4gU2VudDogVHVlc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