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 6722DA0C43; Thu, 23 Sep 2021 10:48:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF19A41225; Thu, 23 Sep 2021 10:48:44 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id AA4BB410DD for ; Thu, 23 Sep 2021 10:48:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="284807699" X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="284807699" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 01:48:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="558232224" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga002.fm.intel.com with ESMTP; 23 Sep 2021 01:48:36 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 01:48:35 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 23 Sep 2021 01:48:35 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 23 Sep 2021 01:48:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y5eTApICYnaQC83cSw02nRWcBCY7Xc0/ZmGco/v1JitAE3X0LpCghZkEewFH9iiP/uU6XLkIRBKWFSmW0YD/SiBb187SG5y80dY/rZgipqyfC26WnrKyPDaR3vw6prvjJ24G5UxYyhLe1no1EByn7DF/7Y3hR+4zcQMQ0L4gbwYNm4UD6akpLT1ovcF6aAAKx3pHdeBiZyHmPfttzdkmhX4V6VqbGYO6c18+QILEsdS9HPea6CB9njPVwur4DbNNcMC47zJyvPv0vsMh062tlolZPqTJAs5SIDHv4aqbgoYyDG/kFXKlbbt0BNR6P/vymvJzukM3INOfQQGMCkK91w== 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=FbAowe2SX37fsP9Wdi/kg00q6lfr9Rr3Jb3Nc6PZjGM=; b=HRgZXHyFShTvqQFsGI+DaymBTuia3Vahwa0Hg8cCrqhYI544WHgzOIVArHO9e8b+loZqXLYKhpq9BuuA3Nrd67fxAWunmsisyHiVsR+9U1V1jCHka0v8CfBBKMBzDSuLPYbKe+oK9WfgGZ7fQUbnB2ocQVm/HF8lryDnTGWkvqhF/G+deaNhbK8U1njOuHb82NHn4+psBeCCZ7HqL4NFt0b1+Ynkc4AH3B4Kpt+UWMQMZh/yZLJxZvxm6rx1qDKZxfrdWwWD2M8n3g4AFg+6NQ7+Vy9Lq3vJ1z5op0J6+de5QNJ9oZ5ndV4SDul4r5P2oMXunBieFoYD2kxmNqVJ7Q== 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=FbAowe2SX37fsP9Wdi/kg00q6lfr9Rr3Jb3Nc6PZjGM=; b=YwPlDS0fAsu3Ls5Le0Q6rBIVrAOUxWZ5CuImFo8Kk0yXthC8VhkN2xpgnfgEXSm3HKEXpvm1MVLM3SrKMlVFH14QAT0zPDqw7WarNiXWWbUU/ZSLewwXb8g7qWUbKZsMlRclXX2En1noApnfQIRqAFCMztJRwXSzTh8/3A5yf0I= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3584.namprd11.prod.outlook.com (2603:10b6:208:ef::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Thu, 23 Sep 2021 08:48:33 +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.4544.014; Thu, 23 Sep 2021 08:48:33 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , =?utf-8?B?RXVnZW5pbyBQw6lyZXo=?= CC: "dev@dpdk.org" , Pei Zhang , Jason Wang Thread-Topic: [PATCH] vhost: Clean iotlb cache on vring stop Thread-Index: AQHXm15oomlvFF+bA0e0R+7xpMFXs6uxdMYAgAAD0TA= Date: Thu, 23 Sep 2021 08:48:33 +0000 Message-ID: References: <20210827161231.579968-1-eperezma@redhat.com> In-Reply-To: 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: 6eb851d6-3235-4a66-34d9-08d97e6eecaa x-ms-traffictypediagnostic: MN2PR11MB3584: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VxjiClT0QC6ivq6yTnx88ZKCphucOuIa04rE7jUI759VnEQfwCMVCSwG6TiqDT/uY4hWCUIjwKR0q1CJuxpCqL/0Q13b5JvkdPvFZJzb2q7S0fm1qEpr/jPsVMg1if7dj5ShhpMskcdel01BelhnF9/IpYEmqOjRJ5JvbnmKMtxaNRwhd0J1kYakXyKZmUcM8dUu0UkHqEKcvw+Jxul2uWtuCjUR6caWOoKr0STBmfIPGDAUrtrp3x7QwpkZMOxYzIWxzZgm1DKxAmw+fp7NFGRxDf6ZrQwKrz3cifU7pp2fQo1jnbWj2dpC7P9zaG2uqySdWi/w92s3yVWb2wwLs3NvXyeymSmK+XQPyPumQpOIovzt0NzhiLCj1oVVCeJQJcbynDSBU+pPaIZGPRILTXZrBY3LBJEjXtU3OQ/Y/ASMngGpYIwfieodwtHXEBObowrH1JBYzJopBPoACpR4BZqOcEvwqikYlQ9HTMx/kswpz1MdJgw0QhaaGSeL4PSI6iwGbT5lEQZ4LRiakBoWCqPtk+HFe7SMHqfjAfWsDv+UJVBif2Ks2ufGoY+lCQuC57qWv75S5LwgOpFBoWcTFtz3U2Lx8Rs9UsI42ZDq3PglVSCZqGmnbJ9N4Zmq2UOyVWmlcLYYN6sOlGjk8edXPX2pNoh2157EjPRMPXVYnvOvveMr+TAJAtM0uMAKIsbzHH+EpB2JTohazXFa+GHXXg== 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)(366004)(83380400001)(5660300002)(38100700002)(26005)(9686003)(53546011)(8936002)(38070700005)(54906003)(316002)(86362001)(7696005)(122000001)(6506007)(33656002)(110136005)(508600001)(66476007)(66446008)(64756008)(66556008)(52536014)(8676002)(186003)(76116006)(4326008)(2906002)(66946007)(55016002)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WEF4UFhBS0ljeWtkRWhjZ2RJZWt2cEZNY0hSWS96VURVSHFxWUsycVV0bmxQ?= =?utf-8?B?V3llN3RPUGdYa3h2THFSM0ZYRGlheWZKZFBMQ1ZHbGJhODgxcjUrb01xQkwz?= =?utf-8?B?UVZPb21tdVNKUE9jWG1YRUhrV3EwNEpUQTdzR1NMakZ2U1lvazN0QTdpNVpL?= =?utf-8?B?QlBBdUg3TEt1RHRSLzFwamhReGNTZWtxejBhUkJtZm1GL3lpSDdYdG9WcUww?= =?utf-8?B?bllBNkFhMnhkYU83blVSSnVuMExDREJPZExtZmUzeWZDcjdUTWhjVkdEaE1o?= =?utf-8?B?dHdmUkpzRS9iMi9WTWZSbUpDc0xyUWc3OHAxclhjVXRKUWp6azM5QmhPYkhF?= =?utf-8?B?ZGNoeVFhTS9sYUMwY3phQ1V6amRGWmNoR21DQkc1SjAySmc4VG51Q2wvMkFR?= =?utf-8?B?SjRyTFVyTEpxZm00UUJud0FxN1dOZmdzNnhtQ2RUdUtra3JLTUFvWkM1cmox?= =?utf-8?B?cEFNK2RBZXpGamdQRG8xQ1M5VFoySWhlMUIyTjdPTkpuV2ZyWUN1MFNkYWdC?= =?utf-8?B?QXRIM283anoxa0NJbVpEODV5dis3LzF0Rm5FUXlZOFhsaUJEUXk0MGdqRTI5?= =?utf-8?B?cDZ5Zk1oQmpKMkttNUQxR0xqSGpPMXlDV0doOGNsRTFDTVVrU083bDV4MjZK?= =?utf-8?B?cEpVOGVIYTFmTTNFbHBSYW9aUWJvc0U4TEZNc3dCZ3BBY3V3cmJwVHQzS2VG?= =?utf-8?B?MmhpSnN6bHYxaEFLcjYwZkFrSTA5MVdta2M2VjV1MnI1MW5jNnN0MDRJZzJL?= =?utf-8?B?L1JQWFc5a1JPdmRR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8?B?NDEveGJMbnVFMnB2TTVqTHdQK3dsL3NjYkRJQ1pXbktYOGFYSDV6a1NERzcr?= =?utf-8?Q?fNNBh+fsofG67CpIf8XlQ7C6PdT1FJlCLVxtmkS?= 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: 6eb851d6-3235-4a66-34d9-08d97e6eecaa X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2021 08:48:33.0926 (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: +9JaMVHcbucrbSbRWPxkmHyq+3WbBJKOYPy2BRncBkB9F2auAGNaJgq2+IJZUvhjRo+lPgs40Qp8vbaCIHQVvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3584 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFRodXJzZGF5 LCBTZXB0ZW1iZXIgMjMsIDIwMjEgNDozNCBQTQ0KPiBUbzogRXVnZW5pbyBQw6lyZXogPGVwZXJl em1hQHJlZGhhdC5jb20+OyBYa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