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 30E13A034F; Mon, 30 Aug 2021 13:57:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0A39406A3; Mon, 30 Aug 2021 13:57:55 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id D8A1940687 for ; Mon, 30 Aug 2021 13:57:53 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10091"; a="216412174" X-IronPort-AV: E=Sophos;i="5.84,363,1620716400"; d="scan'208";a="216412174" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2021 04:57:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,363,1620716400"; d="scan'208";a="689231332" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga005.fm.intel.com with ESMTP; 30 Aug 2021 04:57:49 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 30 Aug 2021 04:57:48 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 30 Aug 2021 04:57:48 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Mon, 30 Aug 2021 04:57:48 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 30 Aug 2021 04:57:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eJ2JYwicfOEopIQj0XwCj5mO/F0mQUpCyhufDV+TZ5rn32evX3+mvaQxoZNyyilEnm364+d50dNUEkgU+QsYVrY0XvbTatiM8oITxSlQgvYwUYy2CxWPETjmOtRZIFSBBBGaMJ7Xdj0vvv3r6hYbR/fOglBdOWos8Nvgg0gd4keuAUdKxRSq3rpEUgawtDJPwH8Pf5x3dte9FtZ9CCuIY00+ZKuahaHFrFejRqWJPtr9uZ/HOk1wc5QZNWjzD0wCWCco7Va/yjA1xxcfxH8ylcyy7TGeOiP0FvBLlanMcbJpQKNam0eyICVj1X5Oy01iX6z+klzuGtJ1+F/ASJ5yYw== 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=XmaYiWjmS4m7FU3/lKnxSQ6dSWE0muFbWvl+3It2I5I=; b=VlHHB+u6+qS869NSbA9nv60Wmbi6VzmIVp6FPPjaKSHfgaZa3NZGKP7YZanqWMWAxSMG/2G7OCwPYjcvpkNKpMCD9YLXOGA14O1KIB8sP9sBbT3ipp9ttYk2ilXjtDpy1yM1fW9oWh36KbyU7lgcCApcEdn7P6sFjn31CFSqtrmNm93isrHL9GpUawJd7vQfe9yV7+KLxB9ncTh2BspwYUo+dYfpJHrqSoMVhcMCvdNRfTQ+vFA6LiH1rqHPOjRY7QR4GcIDrtxjfBEG4bW59vWrdTK0KnMS7u9ot7TQKIjxFfm4cW0x9S4YPKUS6EipZeSRLoZFA0RV5Lhbg83XLg== 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=XmaYiWjmS4m7FU3/lKnxSQ6dSWE0muFbWvl+3It2I5I=; b=Ah3ttijeQzhl4pdgKcmvgw1od7LxFmjXcIaamms20wvYc6ZWia6y7f1OIyuau8mrBm5+TnsAz+T+0+vG+ZbfuHnqyyaJ5GUMiNEJeyerge64w1EThGIsJ3+/+voU/w97Ma5yHandiGzjVsUS+Qjsg8mfK6SobwNxBtwAG/tGbsk= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by BL3PR11MB5748.namprd11.prod.outlook.com (2603:10b6:208:355::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.20; Mon, 30 Aug 2021 11:57:47 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801%3]) with mapi id 15.20.4457.024; Mon, 30 Aug 2021 11:57:47 +0000 From: "Xia, Chenbo" To: =?utf-8?B?RXVnZW5pbyBQw6lyZXo=?= , Maxime Coquelin CC: "dev@dpdk.org" , Pei Zhang , Jason Wang Thread-Topic: [PATCH] vhost: Clean iotlb cache on vring stop Thread-Index: AQHXm15oomlvFF+bA0e0R+7xpMFXs6uL8w5w Date: Mon, 30 Aug 2021 11:57:47 +0000 Message-ID: References: <20210827161231.579968-1-eperezma@redhat.com> In-Reply-To: <20210827161231.579968-1-eperezma@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5e778399-e93c-405d-f827-08d96bad627e x-ms-traffictypediagnostic: BL3PR11MB5748: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 78QsMqzhj+zHxHwkgSYDBAqfb7NAEIfL+kmp/9y9LvUt1ci0oDnGIsoKuDPZS/9+KHiaTtjcmkGcW75XvJ2rLbakLN0j0OafI3euVRF4OsjQIcAod+FL/aeuiP0w7cBk7fWigvF9wePBcSi3aSCTyuTYC6uktjqkgMnpL4SBJmcjtJHlK3C8V6BhHMTp/kmNJbykBZiZHOc0wqX8ZMeTkM5Em4RFra2LzBnKJG+Q7m+IfYrWLO3DlCzKwa8RPdNYIo+/Q9Q1utuklyYsnjAcoaprXzzHG72uPVN5z1pW2LbTx0zyNhakEP7adJATJetcBtH7ddVhr2BDQGsoeP1cLwe7SW623IziRoRjC9DMSeGsTdeOH+MbNc6awD5of7vnGANmzZbd6W6WJ/8D3Rmg2nxLJTQIrr6EddR+L5+2bZ2XOFOjJ5Mv+XKy39bVMY97LvPH8VZV+4S9D0Ef19r/dZxa49UT1u3TrtWzRVhHONcusrlUyRHjJID896KlqrW9GCESkuV+KT6CF7+v4Kjsz3gFgs5yyxhlChGNbICYkgsslKgbPRbQtDCZAC2NIGslvNGYkYs76dXQZxSYZi+dpgqi6hO6AxtfX/wKfWWiwkU6q3bmajoa0CxJ/aw0lqqvPHgjHRfwBXv32lNAw5Vdo4ZE/ALX5wsFHhFVntiyekliuJIYanTcw2XOvfwFhtMHN1+V9t3POg8O+Gh0WWTssA== 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:(4636009)(346002)(39860400002)(136003)(366004)(376002)(396003)(110136005)(7696005)(186003)(26005)(2906002)(76116006)(33656002)(9686003)(52536014)(71200400001)(86362001)(55016002)(38070700005)(66446008)(83380400001)(64756008)(66476007)(8936002)(8676002)(38100700002)(54906003)(122000001)(4326008)(5660300002)(66946007)(478600001)(316002)(53546011)(6506007)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OHN0amFQSHZhbmlUb0FrM0NtNnJZd0w2N3VEb1dJYjJ1NHdobzR4ZUhDTGxZ?= =?utf-8?B?dTc5QmpvOWl0UXpIejl0U2djRTIzYllIb0gwRm9QSFBBT0U5RGhVOHlhT0ph?= =?utf-8?B?M1BEbm5NWnVQL1hmYTlRV0ovT3dIUU9qSk9FdGR2bmdMbDJLYlk1WGF4d3pz?= =?utf-8?B?L0I0ckVqNDJoblhHNUFqUmlOeUZYdkJ5N2FaUXNWQlhSZlp2NTdJM0ZoRjk0?= =?utf-8?B?eGdEcUNKK0g4Y0MxNGo0aTdOem1ld2tQb2hTTVUvODd5Qi9ydWxCbndUeHBM?= =?utf-8?B?Y0U2NysxcHA0bndJRFpSR0RMRzI0d0g4WDVIeFBqeW9CdUVrcWZSL2VOOFZX?= =?utf-8?B?N2lRMGFHVGJoazF0ZnFwckFiVXNnYlhaZUZVNlVhdFN2TFdiRWhlWjJ1Mm8r?= =?utf-8?B?dkE2ai80bEhOeUl6LzZIRFNqTnFDWFBwWk1hM2paSTRzNitCVW11MjBxNFFm?= =?utf-8?B?NFN6T0VpNTVOekU0OGo1VGdXa1piSHBJdER5Yyt3R0x6OTBwbVYzczd2QzJX?= =?utf-8?B?UjJRdm80RmlCM3ZoVEovSnVQdS9SamM4WDhTVjBOVUE0NVo0UHRLdXdSWFlv?= =?utf-8?B?clNCSVRmOW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= =?utf-8?B?RU1ES08zQlF1Y0hvTEI2djIzZnI2RzZycUZHZ1BRb0l0TFBHUlRZYk1nZ21U?= =?utf-8?B?YVhWV2pPeEQrNUM3Mmo1cFVXMXlVQ2tMcGNkaWRoSTRWU0doSk1HdlA0UWRo?= =?utf-8?B?K1YwbzQ5bWdsTVZ2S3NKMEJQTmhZOGNtY1lWTjE0RmEyQVJOcUdQYWliaGND?= =?utf-8?B?VTZidENZR20zZG1YR0xVSHB3UHNveW5yN0ZIa29aZ2xWMlJ6NWlXSnBPM3p3?= =?utf-8?Q?VQ1dY92EhpzX8dkgmc=3D?= 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: 5e778399-e93c-405d-f827-08d96bad627e X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2021 11:57:47.4588 (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: EDXXGCIwnufAGsks6Rg7HYUor6CrLZdLOFvV6Rm16YkKUE9QXBQA92nOluDbD3Xk5TEhG7/TrRAEXrj7UIIC3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB5748 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] vhost: Clean iotlb cache on vring stop 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" SGkgRXVnZW5pbywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2U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