From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61639A0350; Sun, 28 Jun 2020 05:18:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 19FF51C042; Sun, 28 Jun 2020 05:18:41 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 07DBC1C036 for ; Sun, 28 Jun 2020 05:18:38 +0200 (CEST) IronPort-SDR: MUQlSC+3gAtwhFLAKXTV5EmQKAWGCw3ba1C/6TQkjCObeCKfikpysIsQ9cqeltJKR2UheXyQ6+ nIDr4CYBj2mA== X-IronPort-AV: E=McAfee;i="6000,8403,9665"; a="143970200" X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="143970200" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2020 20:18:37 -0700 IronPort-SDR: sUKA+GSmNrPnr/tSgOLyV9tyPcNJ06BDr21y/XohyRD1aNxI5XlNz/29+1LoSccIq0kWCEVRYU b/ajDJ09DEOw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="424463405" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 27 Jun 2020 20:18:37 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 20:18:37 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 20:18:35 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 20:18:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LrB7XDhgxU1B+iDHTVNSHSERcyYLr4w26P9h9OqLj+YL2K22+wmBrLdpYwCoBTjHdLAu9VwNL71vj836s7BmFaOK2st3880J+svTcUSQ8xG5ZL5dZs8zrg9uD7fa+7URdLJp1UAmiIIf0z1axLh4DS6CupQQq5R1o6DQJhHlXLCY6HX55TJGlSYlAToixrXhiIixko+ypWeucppe2wxx00zl2uS3vbRJOHEgUt3fq3HhlIk6XlQey7G9o1P+XcGDNI8Ai7Mh+890ZaNzzap3GpNCouBAO5ENe327Qo+ohCAzxT5qYbUZ7soLIhIBEtFd9JimvJQLCeG9fDLqZHQMtQ== 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=Qhe1jl7pKORSgLMYdocSQfMXEoQ7KPR66BTj5xE85nU=; b=EyAZJZOliBZqvz9B5f0dKstr171VDmPq+iiFcr/xx+6w2ApU8S/MlY+TPqOlbHoOs5cdLfC0MPdz5tKDq3diR0O/poK6FjMST/WHCSozYhUWHYT9yawmepzslfh+0iafcTXIEn1TlMQSY0RrzGshWHvtEFRKINew1MDV7Wy7YCACdJAukLF3wbatL8s3x6yQmWzql9hspCreZoVJGSMrrOzTapzGNuNdSMHRq6VOD0gawTbSVFPDWbSpxJCWRSQpuvt3YGbjnNQMiS4lQfNJxFsEPpi5nZkKqRVB5gNZUICjwX3/ING943zAYU+n102ntCxTdoXQV0JjJN0DXxOh1Q== 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=Qhe1jl7pKORSgLMYdocSQfMXEoQ7KPR66BTj5xE85nU=; b=M5q3HBf5kPV4b80YRAz6rYdK+qXrRVuvPzqYyTiKz2yWZ2Olf8OyHueesbnnZInSEUi1FVkhLr1DOhbw/gi2dTN1RGMGnVpdGUsVajZDtMORQDRgxUZb7fHFm0TD08lPQmIs/ESlIY1hBItT2nW+Qg6+AoUcax2fdxPN9up0oGI= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3646.namprd11.prod.outlook.com (2603:10b6:208:f4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.23; Sun, 28 Jun 2020 03:18:21 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::7cde:8326:5010:c47e]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::7cde:8326:5010:c47e%7]) with mapi id 15.20.3131.026; Sun, 28 Jun 2020 03:18:21 +0000 From: "Xia, Chenbo" To: Matan Azrad , Maxime Coquelin CC: "dev@dpdk.org" , "Wang, Xiao W" Thread-Topic: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA devices Thread-Index: AQHWSvX+In1LZSiLZ0e/SB4nleJ3UKjtXOzg Date: Sun, 28 Jun 2020 03:18:21 +0000 Message-ID: References: <1592497686-433697-1-git-send-email-matan@mellanox.com> <1593092298-52257-1-git-send-email-matan@mellanox.com> <1593092298-52257-4-git-send-email-matan@mellanox.com> In-Reply-To: <1593092298-52257-4-git-send-email-matan@mellanox.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 222c17e4-470c-4fb0-d3e6-08d81b11e950 x-ms-traffictypediagnostic: MN2PR11MB3646: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0448A97BF2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JxFqcQqXu2JEQzw977y4vU3JuB/XRtCw1vJxEUZiYlgPh2npgt5gJh4Jxs/ftZbguEBfS0bFvON/e3jHMreoft0FGbMhDfvidKNf7DZ2oR67sdt1pTfb0cpYi7c+5FQ0BPlIkpA/C5GFXMsF+4v+HbYxhIuq0g6yum4JRezU9eFO9kH/Q668P43oW+ODZRXBYkDo+WV6D2LZnWWHsFNcHz1RzcuDyGRKBaAwhGjyJaGhM9XZjFFvEU7Kj3UTQoBFR3ikb5/F6U1SSxNOQZgM1z556f4/xnbdPLGMeO7csTKF4gHwYsvGgDaubFm0NOIEaXFwNKV5r71OBh1dEgmnJA== 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; SFTY:; SFS:(4636009)(376002)(366004)(396003)(136003)(346002)(39860400002)(66556008)(478600001)(66446008)(66476007)(4326008)(8936002)(76116006)(110136005)(66946007)(52536014)(2906002)(107886003)(7696005)(54906003)(6506007)(86362001)(26005)(83380400001)(53546011)(186003)(64756008)(316002)(9686003)(71200400001)(5660300002)(55016002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: NjL1mtcqE6zffjDXkw7PIKnlLHJtUESKBAzyNx2sGWQOw2+VSQRClUHjG59r5LMw6xaiY44KF5Y6RNSNHhdwgiIWtB0t6iUYsET1uD0disaWNtG3Ybt4+75wQ/ER9caXmcv37/wlOahNdg0RS9ZMdV+BXnkFBDAH7tTPjNyPjJ/yOnPyTy62w+orhhmebdbvjiGIW35l0jcSLr7EVpqzO89z25jBWz7aoatvt5scXWQkHz8Qgo/7qCNmw3jK1R1c/bmm+4aMChYQE8DKEYC+WnyF+BSB/AhdXCy/d4N1DXHPtOzfLtwNIhxPtrxbD9k85zBvCD08NrHv4ibPhqnr+ha2nYAQTXjqN7yyMADlkDu5qzxcC2X5ht2VEuqnWWLhV/fD0JB8lfhr3/28hOMlo59RWxMgWJ3bpSROXyjrQtL1xZTJwcraP3euDj74nifiRl63dKCG6DmtsLS0jLW9V7Aca5yr68fOhDiCXy1hqgF66ZgvJLp+AyNnJgLoVs1R 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: 222c17e4-470c-4fb0-d3e6-08d81b11e950 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2020 03:18:21.4628 (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: ZKjNMLsi+Z6/hfnMyZV4afL4EQ5exDNQWb5Za1lYdn1nfhfY4DiGXnsxPHcE4oDPZuCeC7kE5og2kNbGvOjg5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3646 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-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