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 60B66A0C43; Tue, 16 Nov 2021 11:25:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48863411E6; Tue, 16 Nov 2021 11:25:36 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2072.outbound.protection.outlook.com [40.107.243.72]) by mails.dpdk.org (Postfix) with ESMTP id C2F53411DB for ; Tue, 16 Nov 2021 11:25:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y+eDhekQbKiFH1jUUBDnmV6JKwAIBukOoL/WLuvrSEh35sGEVfcNBogIobmwI4vvlGBS3nPMCLkCq6fjdU8kcYQETKxdCXFhVtYVmnHKmwSv6DVSaG5maw8G/GThcnSXMgAh6fEX/SJeW4HuPr0wlZySxl6hX9j+cUe7P9H8Jwez+Pc2XBONNpmQx1Y+IRK4MuB0AuqndGC1NQ1Intb4ck61gqf/XCpRKYW9ikHuO7buyB+OHX11F/5lRCO4no5+Q3ac5YRKu2wM6CndZmwYhwRRdha8G61xmcpaR2mjx8kW5+QMp/yzBRvwVaRBRUVLqUUVKj9DbdIZmfDpqxY1tg== 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=tEdNia5F7U8EfrR1TIzk9YoVWc3gpA8+MmyE4UzsBL8=; b=Z80TRCIauX5XShC4f50L7yugIaxFetEyAAga0eWGZMA4JK99nO4yywTgetQKYxV1HMX+1GWYntH0h/lW6rHZpqO9NRQVNMM9VpJidm5omNSKcPPb5kYmSVfcDO98yGPtc/7Rl/V5VZQiLN7VE0r4zBAzmDd9nh/1y1eXszSuUxgCfTbvnAfqa8V1d+m0eZK5/Slo6IpVuIYy+0k1zWGqCHG25FP65hDzzSCsoFih7Ur/LvuWr61sORBgbmZEpwfSZxzP3NomIyA+xmztx0xvSFEeX5u2hmIqWDMJ9YzdxUmhBOLoqUOXP/I0At1QslBhr8KBTKGlmhAQ+1F/0e8BIg== 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=tEdNia5F7U8EfrR1TIzk9YoVWc3gpA8+MmyE4UzsBL8=; b=gpZvZb7zzD/knlB+TRe4oivlP4em7o7TMKR6v+JZGySOYgwl+DfV07Rvpt7LuK4JNCtAr+lOgY4tinzxoeQObbEAy/bS0sIg52R04QaHXhzk2YFgA4wKa/t+dzlGxx4vjCBYksZgbL484gyVNN+995z778OZ8r3cz+WUS+EItMYctZA1bcGzhE2c+x1krIFf+GEO4l3noUHum52HKvQdzGt0A2e20iXHon8v5hn0UkPMyFvKiiBdDLRV7nBTqCP611ORw3o3AMCTb5hHptV3QoAu+aUU6/Y3Nb0WQoBGBjm6PIv2kMsf+1EkAXlxOJHtmbY8I15d9J2k2o1EbXVA3A== Received: from DM4PR12MB5184.namprd12.prod.outlook.com (2603:10b6:5:397::18) by DM4PR12MB5344.namprd12.prod.outlook.com (2603:10b6:5:39f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.25; Tue, 16 Nov 2021 10:25:33 +0000 Received: from DM4PR12MB5184.namprd12.prod.outlook.com ([fe80::116b:486a:a864:fa2f]) by DM4PR12MB5184.namprd12.prod.outlook.com ([fe80::116b:486a:a864:fa2f%9]) with mapi id 15.20.4690.027; Tue, 16 Nov 2021 10:25:33 +0000 From: Bing Zhao To: Maxime Coquelin , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , Raslan Darawsheh 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: AQHX19OekzcBWqeIO0C8ccypA+PwQKwF+KGAgAAAJeA= Date: Tue, 16 Nov 2021 10:25:33 +0000 Message-ID: References: <20211112144245.9389-1-bingz@nvidia.com> <65a4c5ea-d0fb-c1a4-56de-7fdb99b8ac53@redhat.com> In-Reply-To: <65a4c5ea-d0fb-c1a4-56de-7fdb99b8ac53@redhat.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=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 640f51d0-c6d7-4dcb-2d9d-08d9a8eb6c16 x-ms-traffictypediagnostic: DM4PR12MB5344: 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: 0m2FURdQh8mjTXvDtZeljzxOO4BVGrveAU4O4Fk2tJyJAmaBu5eGmHh9bwEvnGSgcyvSyYVtE28zMML00ASOx4pVjvxcRcRmtUbeo2t+KKRSCBexcH6oCOmCVwvZIaVJQJY0jxnQk9ANcqujYSTPJIcXmoQCbwP/A00uxUEFANnYSURizKdC7E9HvkLukoM9jlHsbQ82ZVreYmSiPKVrOWAoGqUidOUeLcWCvh9djLr+f+CrCzxo9h4LAC0EkYixVty0xzknaf23Xbm7mVnd4cnlFXp83+MHeUG3iN25dOJikbS1U8Tt1yBbotNKA+GFOY9GWDRozkPR5tmmLtxNg2rz2NOqRf2lAqiDMOoQdLhbq1sm+5N536jGO9IIeLOdFEHa/P2FxRyyGnQaOuO2lUi+dHWXQxs5oSufCvLUmN+HvILCf4xfXp1WTr4gaX7vGs32Vt+l9Ui8YN5W2Hlhm9kVmIt8sSIl5EOfwOn3HXSu5spHJysrgKhYBG+YDVEN30jCgm57gT2IDwai8aE1HIltAThNBJYHTt9Li+6sAqjYGZiVlgwH6makQwoJJ3nLKcPPxLDvvWh93h+XxoQ6qpqDuyFYGjLBu4WFL/pmJwWswUTIWANqH7NZxexeZVf0OteAN3L8cvS3BYgTjMjrdA78iRSdn2nuOWvvFcq5fiukuS8QvkYQakSh16vR8+SYBG5AqCTbZcLDORW+eYLWpg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5184.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(52536014)(186003)(83380400001)(9686003)(8676002)(508600001)(6636002)(5660300002)(53546011)(7696005)(71200400001)(2906002)(110136005)(26005)(6506007)(86362001)(66556008)(38070700005)(55016002)(54906003)(8936002)(66476007)(316002)(33656002)(38100700002)(122000001)(107886003)(66446008)(4326008)(64756008)(66946007)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bXIvZjVJdnR6MGN5SEJ1emNkNnUrd1hQakNNVnJhRkFxRVVpa210QVllamU5?= =?utf-8?B?SGoydkFtVENWUXNRdXFoTHdIRTJvaWZXN004RnM0M1JGejlycFFQNDRILzVR?= =?utf-8?B?eVBDZTBVNnJzRURBdjVMTHhrcGhINjFjQy9VNE9WWXZIN0p1b0xaYWw2clRj?= =?utf-8?B?c3VoS2ZZUDY5cE5La3ZkbXUxNVcwNHhyektCd1h0MU85ZnZYZENxV1YybCtD?= =?utf-8?B?NnJtM1kraTM5aXNrMmtOUG1BZEszNmhkY3AwM1FNWUQ3WUtIT3FHSnR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cGVtZkczY1RNOEYrUUNHWmswaEVacVJocGhCM1RCaTVrTUlKaHVj?= =?utf-8?B?MFBPdDNHSkhPT0Z3emR1bUNFcUgvUkQwcGVIZzFoZ2tUVEZUR21Vb2hkZVJz?= =?utf-8?Q?xbmjfDZdvgcoMbuD+epo41k=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5184.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 640f51d0-c6d7-4dcb-2d9d-08d9a8eb6c16 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2021 10:25:33.3013 (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: K7cG4SX5dhhYqCAbnGtKfeOQFqoI/MeQOmzTSEjRgBx7BDjaCJxmq5Lnqvoim8cz31Na7x5PdP0L6Ig4B9nAeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5344 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 SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXks IE5vdmVtYmVyIDE2LCAyMDIxIDY6MjUgUE0NCj4gVG86IEJpbmcgWmhhbyA8YmluZ3pAbnZpZGlh LmNvbT47IFNsYXZhIE92c2lpZW5rbw0KPi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