Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1767582rdh; Tue, 26 Sep 2023 03:03:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWsngT8jnJz+C2clPOHelbsEvmHhsXjBnuEYVrtge6OQBtsaid8LqY5ayuwkbLOddOHxgM X-Received: by 2002:a81:91c2:0:b0:584:4b5f:bac3 with SMTP id i185-20020a8191c2000000b005844b5fbac3mr9192638ywg.15.1695722580322; Tue, 26 Sep 2023 03:03:00 -0700 (PDT) Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id c29-20020a63725d000000b00565e509dc75si570708pgn.359.2023.09.26.03.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 03:03:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=D7O98zmy; arc=fail (DNS record missing); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D675780622A0; Tue, 26 Sep 2023 00:21:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231908AbjIZHVy (ORCPT + 99 others); Tue, 26 Sep 2023 03:21:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjIZHVw (ORCPT ); Tue, 26 Sep 2023 03:21:52 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2043.outbound.protection.outlook.com [40.107.94.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BB05DE; Tue, 26 Sep 2023 00:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lCt7WL0FS/b/W7UCbp+uy11XnPbsvJuR0zk+9Sc9GD5DxygF+n+yAtHNzieSbIhXBD5/AlO1PjtzRsGLscPM2lDDqTfRxrGw8kvPIqipnCH6TTKKWx4KnIy1LR1oLlRbEDQbWKeb1y0VjKraScAtOW17BofE2zlbRDKbegKvuv65mSTkWq1EpXHQGpcJg9QfhQkaUHeCMjv9t/6mVNaV1LMRrIRFZ0Yh5NHytoUaZrznCojDnNz7dkbiQ4lRfjwKGBkZPo0dCwHKY+QZfmDd8cyCA/7Vn5wVD7K+bsM8NIuXrbP59HAokRJayv/iLYHUgFb/GUmEf3maQgOZaCtXKw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SoQDVJcrfIc5tR693N/HJNPNjLgZOmUZj+tIWQafAaM=; b=OxSaDZzbmlDrMVM1pQG05Xr0HrZ+RWQyrJFCJer87DRAj53kJd+lm6qnyyFFMUEE0YpSsWhX91TaQq1QKk9ncpRkCQuaJEytX6cjcasqn6yypFiFVOoD4rvOViTZ3+1DOingyMibOyatlqaySKYtFBx0/gh9VLBd0u6Ff3gEjvJsC8qhi+aHu7TqUuzZJSU/Fz+/CviMfY+7zj6PYFY/1ARu4muZcQn28jSeVZQXrtJNjQWBb3MdIvkdKi1uMEBant3dOzT9c2kzP+3S/G4uGD5dWCsOvXSFFBDoNGrghjMUpdEJTOPnkWayjjBxzznpfjOdjTqilnjRmGNRxdm41Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SoQDVJcrfIc5tR693N/HJNPNjLgZOmUZj+tIWQafAaM=; b=D7O98zmyHVrlo0tmS0GoBnrge707wMr6FMnZFaO3PafqAyd5wdAwrl2me+HtWT5il4DYm62orsaK3R0n35nnnhXAl48+Yp7jK+t+qrE2f8JNHp4ZiMxYefPgjbv5zOUpWinA9e75F6vx9MSYFTHGiFjswsqtqwwHYrtz3u3vstDVSGPULslwzIyIYDxah52RNjVprfzRjd1/IVigS8MZTtYey1Ooyum7uNrDgr8KJUOuV2iDPIERj5A7pqavuBCCMXt2UqQCLL2oN/fdjLa/ebZKMAQNflV8ZpzgmIyzf3qzP5L/yv89ICE0aUM1rBcdaxbyrRHR8V35YCjKZWal0w== Received: from DM6PR12MB5565.namprd12.prod.outlook.com (2603:10b6:5:1b6::13) by LV8PR12MB9359.namprd12.prod.outlook.com (2603:10b6:408:1fe::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.23; Tue, 26 Sep 2023 07:21:43 +0000 Received: from DM6PR12MB5565.namprd12.prod.outlook.com ([fe80::fddf:d4b8:44d9:d378]) by DM6PR12MB5565.namprd12.prod.outlook.com ([fe80::fddf:d4b8:44d9:d378%6]) with mapi id 15.20.6813.027; Tue, 26 Sep 2023 07:21:43 +0000 From: Dragos Tatulea To: "jasowang@redhat.com" CC: "xuanzhuo@linux.alibaba.com" , Parav Pandit , "virtualization@lists.linux-foundation.org" , "eperezma@redhat.com" , "linux-kernel@vger.kernel.org" , "si-wei.liu@oracle.com" , "mst@redhat.com" , "kvm@vger.kernel.org" , Saeed Mahameed Subject: Re: [PATCH 09/16] vdpa/mlx5: Allow creation/deletion of any given mr struct Thread-Topic: [PATCH 09/16] vdpa/mlx5: Allow creation/deletion of any given mr struct Thread-Index: AQHZ5Xlk30nZFuaBXUOyCVsOMD7qbrAsnWKAgAAr3QA= Date: Tue, 26 Sep 2023 07:21:43 +0000 Message-ID: References: <20230912130132.561193-1-dtatulea@nvidia.com> <20230912130132.561193-10-dtatulea@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.48.4 (3.48.4-1.fc38) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR12MB5565:EE_|LV8PR12MB9359:EE_ x-ms-office365-filtering-correlation-id: 877342d6-9793-4499-d199-08dbbe613c23 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ip+j8oCPXnwakUbQyb5o5TwN0DKCr6ckIaq7RfQgJqTDw+ANLWFnkg0T0WeemdQrPIzSaFEDn24bfmjkKe0TSXgp5Qdez4Gyld1Dw7k4ObFfvJyMwrmhi7F0vy9Ggj2+EUGwH/RUAwC412tKZpHWNyLInJAcxlBzz98ztJ5HxQqxHQ2Igl6i9MHRyFhTbBx0FuQO5yg3Dtbj6gLTA3RxczYrEPNlO/Dwn7eUIWww24ApdYmsFfHJnD4BxCPVJFIWAyZxxIeTUKkHosevViAX49/h3V31rdLLk3+vRTskjZBvoE1nK/6j5Hs2PLO6V/N6bFua9uDD5TogwKrHNSwoncKoncbS8aF4MvnGMrkmCutG1tAcxv2F0X0IkKcBpdZU6Wim0yQF306eqkI8N/LkM8VAgtB/F/bKlx/zrwQQbKEGyqfzZPnsewfig3o/opEQkYwgOcHrtnyO2K38o+H+y+NmGy1IIEdmNqbrqVRoHH78Q8X0tdF9IWUpyO5hU9zfCj6IgYwul8IYQat6BNnTMsJnK07svkXEgRsn0fQNbj9nEFMSeCgl/l/+S6YJIdnGr1zVg1QzasQ2acQLZyVjwnYOMmUWoCVeJUfeB6VUG2R1GDdBwBQlMShubSUt2WeR7Rp+CCrcAhbcQebDAqneyOzkAxpPOo3O9mlFsCuzhD8= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB5565.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(376002)(136003)(366004)(346002)(396003)(230922051799003)(186009)(1800799009)(451199024)(71200400001)(53546011)(2616005)(38100700002)(41300700001)(478600001)(122000001)(2906002)(36756003)(86362001)(107886003)(6506007)(6486002)(66446008)(66946007)(6512007)(76116006)(38070700005)(66556008)(6916009)(83380400001)(316002)(66476007)(64756008)(54906003)(91956017)(8676002)(8936002)(4326008)(5660300002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OGdBa080L2V5TmhweWQxQWFuZXBad0h5UzMyRDRYSFN4YzBScVlHZ2t1bkpm?= =?utf-8?B?YVFFSklOWFJERGM5UUt4R0J3MzFmSVlKUVhQQVpmSEE5MEdSd01XM1RZei9F?= =?utf-8?B?NEkrdnJnL3czaDhPWjNjaUZHQmlXRDBKK2pBeWQrSTVCWGk4cjFwdDB1aUpt?= =?utf-8?B?dDhOUjRqNUZMMGdMWjR0a0N0bGVaeW9aSzVGT2RveTZqL2o3enJCV2JiU2xx?= =?utf-8?B?R2VvZGRpRG52cWhCYnBmU09rME5xbld5Mkk4d2hSZ3Q0d0FwbDBpekpsY2pN?= =?utf-8?B?R1UrenUxTUVWOVpXdHdOczBJSkhwRFNFSGg2bDJTLzVqcXRUWUVEK25oY3pL?= =?utf-8?B?Y1BRbDNtbzVud0hHT3RocnpnRVRud2d3YWkyVHJqdWtlVUt1cFQx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Skck8X9zbzyjywVBe9G4GkGab7Qmptj6JYNTlYE6xc?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB5565.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 877342d6-9793-4499-d199-08dbbe613c23 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2023 07:21:43.2718 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fY+bES3w9KCjDJ5WYfwbnFgZ0VnW4JGdGAQI8sHVQ7C6VmX8btgNY4wskekd3bwWX7jiVYgP/86rQs7YBYLvRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9359 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 26 Sep 2023 00:22:00 -0700 (PDT) T24gVHVlLCAyMDIzLTA5LTI2IGF0IDEyOjQ0ICswODAwLCBKYXNvbiBXYW5nIHdyb3RlOg0KPiBP biBUdWUsIFNlcCAxMiwgMjAyMyBhdCA5OjAy4oCvUE0gRHJhZ29zIFRhdHVsZ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