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 BBADFA0C43; Tue, 16 Nov 2021 08:54:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 554FB4068C; Tue, 16 Nov 2021 08:54:09 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B031E40040 for ; Tue, 16 Nov 2021 08:54:07 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="297067043" X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="297067043" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 23:54:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,238,1631602800"; d="scan'208";a="548499717" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga008.fm.intel.com with ESMTP; 15 Nov 2021 23:54:06 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 15 Nov 2021 23:54:05 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 15 Nov 2021 23:54:05 -0800 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; Mon, 15 Nov 2021 23:54:05 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) 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; Mon, 15 Nov 2021 23:54:03 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OfOX5Q0v3nIY/koxxqgC4v/4AX/9x1Cvd5rgdap5iONSFqbRJVGl/WQpf+ddoxnAWBnSxHfq9F+PvRYXsx67AZ2ZuVF7NZ3+cW8NJ3fSy/sZnmvtsAVYQuHjQQan6IBCVb7RhxK4zKR8S1/y9slnbt5BaPQEUD0BbHlWT6k92Gw/tMeXB4BV3cg9i2In3vk9ZZpr48EQEJeyhIQVusGCLHxNOdeUIG/wn8g0xc3seQLQW5yePKTK9JwdO8FZ0VqM1FpxxDthhpkpxk28kBY+cN06UxOJuPx5CFJ+NgGWaJa321wx9i5eXYQoCfbXfu1sLvSfW/8eSmvFO4nzMvFZXw== 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=wAd/13J7Re0UnZk6nozbzlpV2EP5VzlFdNnPPQzHM8M=; b=VGuZQLmwnBKfGQrjfkWUyUp2i503VHUnPfUMWfBxu06FvMUcktkIfxIxsf+7SBDKxeBY7sSsjJVrZVXduc+q2d9YNM7XnWWDUkFD206B5TZCypWoMhG2FzaL6y6SlvXUwpzgq6WZ5U+sFB3VsedLtWp2Ay+qz41Zbu0K21jwLQpABWriqbd/7lQM+EMLBAc1lNAEBc1M98pGmHPckec5j10/8WaymcTzbBOXskeRfPcXWhekDY/lrpQ1YKWAl2kaG2Bz8gGoIsDi1jSB3At45PxZkTgFNnL5DQXi3WgcP+IbmeTZb3NKGfojorXKV2K+krlpxSRTpYET5OpSai8Ftg== 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=wAd/13J7Re0UnZk6nozbzlpV2EP5VzlFdNnPPQzHM8M=; b=HKXmU7i60x2k/EHtWWyFIFRyyOjFX1QdS0PTlOSZObLVOxN+IH06gfH09UqS74fUkmEcBz8tRErApB3AC+U6mKnw8VImwOz5Qa4ufqb1x9NtV+6tIbfuxAlzDOz+a9kh2ftPa00kHRbVoDntXSkT+rO37T9ByMt5xxPRcvhWw38= Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SN6PR11MB2558.namprd11.prod.outlook.com (2603:10b6:805:5d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Tue, 16 Nov 2021 07:54:01 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511%7]) with mapi id 15.20.4690.027; Tue, 16 Nov 2021 07:54:01 +0000 From: "Xia, Chenbo" To: Bing Zhao , "viacheslavo@nvidia.com" , "matan@nvidia.com" CC: "dev@dpdk.org" , "rasland@nvidia.com" Subject: RE: [PATCH] vdpa/mlx5: fix return value check of mkey create Thread-Topic: [PATCH] vdpa/mlx5: fix return value check of mkey create Thread-Index: AQHX19OogrDItqlwr0iW2pngW69MVqwFzbbA Date: Tue, 16 Nov 2021 07:54:01 +0000 Message-ID: References: <20211112144245.9389-1-bingz@nvidia.com> In-Reply-To: <20211112144245.9389-1-bingz@nvidia.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 74c7a26a-d5aa-4031-0432-08d9a8d640b7 x-ms-traffictypediagnostic: SN6PR11MB2558: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:478; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 18S6IcYe7sWG67gFux9iGcmSUfCO8bNlzrj1oeWjH/Lb9d2OEAnbbuUszzoVf2u34XOef0c+QZil1Bv5FKIOwpK+ELoaxdqpHx4gP1xk6VQP3tL8mAzwtBerIwh6t4aC+LoIvz9B4XktMFdQfl4Jq5ZI0SiI6NWyBgdi4neiNcNis9wsI1N9feNYoq/rCL8N1vcyLps77wZjM1AV7ZYqgf/jIAXCVhTRr9x7yQs54qdM4sYJfXJSty9fkp0YZXmkYd5fg5f+OFCcdZbJl0sbrsc27UIXC7vs+0Z145Kw47Ejkh10GWcieOLTJOdT9pVrBUBOuR/xQIQ/Yn2FaySRb4ep19FZwzL5X6IiuiEUudCIMXqtnxNYorX5/PassuS0gjfrrdCieOw9bkj1vq4t8f8kIzmZQFAQn6n/shL3sDUP1C2wUi4msnC8RITLZTr7Cy9inRU8DV+Q5xcF9sSA9wFx4OkPN6n06jTNRgfza7Qayo5c7leTrh6MMeHDCVPIjiQmx78L+ztWbxQ8+JYaBNJ7gq5pi9wJ2KhHW0DDINy6xI8erp+gL45Q0hC29uhGRWuqgtKcrWfAevAzGsrc12syS1spgz8uimRvmzNWX0mLiSoL5ZJ1uCphEnRbJAWtl6qNcR4Xyur0jcvaxCpeis6+jWygruDP6iRszYAe5pZzv/d6BHQrt0AzJl92P7whLbfKKY5J+uPt5I66FrhnvA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(52536014)(8676002)(76116006)(4326008)(71200400001)(66476007)(66946007)(9686003)(8936002)(82960400001)(66446008)(64756008)(53546011)(55016002)(186003)(66556008)(6506007)(33656002)(2906002)(38070700005)(26005)(5660300002)(122000001)(83380400001)(508600001)(54906003)(316002)(86362001)(38100700002)(7696005)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RVlqOVNkTWV4ZSt3c2JkZWJVZDdPYktkaXR5R05JNyt3OTlNMmRYYXpPWG1B?= =?utf-8?B?YTd2WURIWjdrYXllMUQ4REVCK0RLbjNIK0RaOTJCV1Q3TFVlcTl3WklYY3lt?= =?utf-8?B?L2RJdG05M2dJWFRwK0gwUE9VTXA3VGgwT1pZblBma0huZGg1NjF3dktPNmc2?= =?utf-8?B?K1FWVU1LaUd0UjF2OGh2ZFR1UTFvekJwaDJXUXFocEFCTHhPZVpmNTdNdVJq?= =?utf-8?B?MmFPelQvZU5sOVJnYmpHRHlPWGJDOW5tanEvSmQyUUwvRkFHcExKclpwNlZ0?= =?utf-8?B?MGxlT0UyN2FQclFnT0s2NzlBVGxRK1VzTGU1UmE2MzcrVTd3MTgyQ0dBMHlz?= =?utf-8?B?U0Q4ajUzdE4zaGRnc3B1aDBnL3YxbW5xZHExSXlETS8wYjZlK1M2U1VzNVhR?= =?utf-8?B?WUJQTGJzTjlDVlNVWHF6dGNReUhZMTJzbXJmbUZQTjJrQVFrbHYveGwzM1BX?= =?utf-8?B?WTU0UHhlTmtScDN4ZDZkYWZWMFBYYVMxaDJHNUJtVU1NcmxGQUlGOFo5V3N2?= =?utf-8?B?b3FQVmlOcDl0T28zbWtRcUpTYTNHRFpXVFFjczdj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g5UWJYTURXUjBUOHlkYk1FQU90VTJIcTRQMm85aGox?= =?utf-8?B?dTR6bG85OFRPZE5aS1ZTemhyZXlzRkZhdTJ6SXVTOXBXbmZuaHY3K09oVlJP?= =?utf-8?B?NmNITkpZVkxKVFgzNy9rOStnZjY1MXR0MWZSNVpxandSTWVFVGVTZ3ZCMzBs?= =?utf-8?B?WXZWcWh5YmlreElCOVpseVNZVkl2VGI3YXp1L0lwUEUwMVREcExTTWxuV0F6?= =?utf-8?B?NmVXejY0TlFQTitEd3ZIaEI0MUpmUjhnNG1xOUo0aVVuUExLU0Yxa3c3T1R0?= =?utf-8?B?T0hEeGcwMU5kUzVVaXBsSEUrZ3NRVW9mZTFxdFZsRWJWeDUyYk5HdFVKdU5Q?= =?utf-8?B?YlBxZnk2R0J0S0J3VFlWbEVWc21BS3FwTU9HNHp4d0RnMS84QmpzaHN2aUlJ?= =?utf-8?B?SnlxSHE4MUExaEhHYUhpVFVaeWhuTGpvK2ZWSnh3UHdOUXJpWTIwYlJ0ZW5L?= =?utf-8?B?d0RvMDJsZE1ZRFF0NEdwd0VXa1lrSE5xZFNQZzNidnZmdXJsRE1Ic0NzV1hZ?= =?utf-8?B?SEgyRTZkWCtKZ3pRMUg1RlpVam5DMjJtZ0o2YUFYaFg4RUdTMkRPOUdKZ2E4?= =?utf-8?B?V0d6VWplcXNaWXV1QlZHVEF5VTFTbWNmSnVYRUtPNS96Rmd5QmxFcjAyZ3Zy?= =?utf-8?B?Wk44TFMvMFYrbVNJK3BTUTZ6Z1VaNUh6S1ArMUphTEdnYzZYaTVZMWlHTExB?= =?utf-8?Q?8pBYlklUzhwLYDg3UiOeH3k=3D?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74c7a26a-d5aa-4031-0432-08d9a8d640b7 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2021 07:54:01.0470 (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: AdMK4sh8UBFvXxMr5pAAZZwBLcKvTkPnWHlpNvMwrMKHa4dTjt7610K9Z+q5OnOpGFuY0m5BXb1OGfzrd92aJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2558 X-OriginatorOrg: intel.com 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCaW5nIFpoYW8gPGJpbmd6QG52 aWRpYS5jb20+DQo+IFNlbnQ6IEZyaWRheSwgTm92ZW1iZXIgMTIsIDIwMjEgMTA6NDMgUE0NCj4g VG86IHZpYWNoZXNsYXZvQG52aWRpYS5jb207IG1hdGFuQG52aWRpYS5jb20NCj4gQ2M6IGRldkBk cGRrLm9yZzsgcmFzbGFuZEBudmlkaWEuY29tDQo+IFN1YmplY3Q6IFtQQVRDSF0gdmRwYS9tbHg1 OiBmaXggcmV0dXJuIHZhbHVlIGNoZWNrIG9mIG1rZXkgY3JlYXRlDQo+IA0KPiBUaGUgcmV0dXJu IHZhbHVlIG9mICJtbHg1X29zX3dyYXBwZWRfbWtleV9jcmVhdGUiIGlzIGNoZWNrZWQgaW4gdGhl DQo+IGNhbGxlci4gQSB6ZXJvIG1lYW5zIHN1Y2Nlc3Mgd2l0aG91dCBhbnkgZXJyb3IuDQo+IA0K PiBUaGUgdHlwbyBpbiB0aGUgaWYtY29uZGl0aW9uIHNob3VsZCBiZSBmaXhlZCBpbiBj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