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 39B36A04FD; Wed, 22 Jun 2022 10:03:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2BBC24069C; Wed, 22 Jun 2022 10:03:47 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2072.outbound.protection.outlook.com [40.107.236.72]) by mails.dpdk.org (Postfix) with ESMTP id 7955840689 for ; Wed, 22 Jun 2022 10:03:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X4sdn1vH67sWkgbm1MEQ1h3zxJIjqSNvILGBSWreHmBJE/Eqrvtb+MetJfL/pcFoFYb3BXhilLUTCwXbBDY1bqKNVczi0qhdMUHNcs0qVbysu/xsg416n4efcnskTrWPH5hX2U6FmLqmNFhrpBz018kWP5fmd5sQkC8ZiCGyadhE5Yhdjn9Pe+JQqGc3eDRSq2zI7foPZPN99xfO6KWEW2B4TqbkLXzVe+ff+Qe7WyxvrZE9/9pg3z8V/JOmX/OTtyenJcEb59iOut1Bmn4u+NIG7J27asAwS+F1iwHPyzywJSeKtOlLTXCEwTiVrm+YT9DruXot2x+p4APJkrZOyw== 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=zlJfioXwORA9YH3bY1oMWdVAgnKFKalGVao1o7+QVQ0=; b=GRio+8ndj54NmhxxVfPRTPWLD1GD2jpXsElv+r9EII6Wefsl7Chy/ouV6i+ZgbXcsuUnbbrGOkJYsiDM3r/NQk8nO1UoJFoF/TZVUMKKmRfNN50Pmi0bCW49eydbNcTTqNhXQzZIlH58eM8BR2BVJbmwoFZFDlFYzyOBXTALOl3/562lx5cOTH1LZG4iDtk3rE6+L7Of4+ARvFuKPGbiokY0Oosr/NX72NvYQBrzjwWwp9R3FU0qjrSTu+cTsf9YSIU+R6DOhy974k5ZlNzwQA23uhw6pT+c6LEZsLNkDAdIdvMl1nQpB3E0rBKWjQLtxD/rfvZmqTWVhmv7mYL5+g== 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=zlJfioXwORA9YH3bY1oMWdVAgnKFKalGVao1o7+QVQ0=; b=bVM5w497c3oKfnBGnAiRHCvSC8yp1F5nDg/bV5DlUEyg06iOE4sIZ5wjeccwyEAnzQj9phnBnZ4vmFTSNZt9wjsWxeHWaiEjqo42LsGIwCJ/xutUw78Or9h7FL3GuddKSdp6ZcZS334JzwCoBGf8WoXuR7y/9GAEubv0k3d+V+OlFCbOUxcoXBh4kv/QKdKwPoL94w6tGARis67d9jZf/y7DBYiVpWep5dVW8LnXjT7vrtZlT3GP+y8DaMKGMGTt2sfGKNNX3/td9DqDrGwvYuFDuWKkHmDNEpa6Vdcb4oRVMqNkUfolA1IjU9wmru/S6EUUTLijeCtCfhwZm6mS6w== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39e::8) by CH0PR12MB5314.namprd12.prod.outlook.com (2603:10b6:610:d5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Wed, 22 Jun 2022 08:03:44 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::ccd3:db98:f1b5:3442]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::ccd3:db98:f1b5:3442%7]) with mapi id 15.20.5353.022; Wed, 22 Jun 2022 08:03:44 +0000 From: Matan Azrad To: Maxime Coquelin , "dev@dpdk.org" CC: "835703180@qq.com" <835703180@qq.com>, "NBU-Contact-Thomas Monjalon (EXTERNAL)" Subject: RE: [PATCH] vdpa/mlx5: return correct error code after rte_intr_instance_alloc failed Thread-Topic: [PATCH] vdpa/mlx5: return correct error code after rte_intr_instance_alloc failed Thread-Index: AQHYfmZTnXKto7JzMkuteLTowAn5BK1OqaUAgAx2D4A= Date: Wed, 22 Jun 2022 08:03:44 +0000 Message-ID: References: <640b6f87-fa5f-4a94-3228-a2c880861a53@redhat.com> In-Reply-To: <640b6f87-fa5f-4a94-3228-a2c880861a53@redhat.com> Accept-Language: en-US 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: c1d2b65d-8442-4ef1-e037-08da5425ba4e x-ms-traffictypediagnostic: CH0PR12MB5314:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9bniGp3nJ7pnyRvZYYCpE8RgyH1GSDxnBUN84QmtyIvnqmnFlWLhPQkz/uPTotLTOh8tCUkh4E1EBIZImhuKU6b1UI75fkgkzWW9Eu26vhhEuGogC7aFAn4JxAUjXauC5n+jB61wkZ6q+Gli5B6d1Fqml+RB8GOcMzKYA/s3C4LsClOLbyfzq10WZYXSitp2GTlbdA0HTWye5DliB48mHXQkS3eBK2GmyVVYYWIh6UGUdu9A6dJuW0Q8mwHmYWPEZ4FIY8eU8BZg/vrlAK0OQeO4G3DOm93ME5EDMatQf62OdFswcuN3nGLDN88mL0mgY7IH0cRorCOMJLyxjf8IQXbCzOus7ctsu6Tr3W0aoY1G2paQ4bMdZ1l+3I4Qon1MIGIbqEFWuNpIE/TPlbV7WTSjm5ylT9d9U6J+/syjPQhIwYSGdB074p1J+TMPS5Yvbo4RkLIsLixKvjRsdLDR68DVHOx49wQCWKA9yOU80bmTy85dAjPJbaKxZHd1GiPPttXqLor5bfj43sRxYq00OI16ii5tv++2vxeIzhZnUOoBPtlqRtu6vAd24XlZiheoDtj8YL2/dATvDeoX2V1WvjmI+ZxbZK3d335+GD+nofnl8qRHMlPd7y0nURVDeCUsmGMGcOwbiFWgD9mgaSB9Tg2WWuW1emYe8sQAgXMPW0WRIPeg8/hT0fpcRKNis9v+PUiJgDopWE6P+uvoX8YVYPYwfGOt6MVO7tYXjKpKC7p/bc6ZmIblam3VzRYaadNv8SBM0Dn8bjlBNkaiqgp+uQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(136003)(396003)(39860400002)(346002)(376002)(86362001)(7696005)(52536014)(33656002)(186003)(55016003)(38100700002)(122000001)(6506007)(38070700005)(478600001)(66446008)(66476007)(26005)(110136005)(9686003)(54906003)(2906002)(316002)(8936002)(41300700001)(8676002)(76116006)(64756008)(66556008)(4326008)(5660300002)(53546011)(71200400001)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VnlOWXh3VUR0MjRtcFBJRFJldlRhVitOVm44MS9XMVJaUm84K3p6cUxDY2dR?= =?utf-8?B?TXpHY0l4RjEybVVmTjlnbjNOejNsVDlpZ3gxTGhuZitvL3pnTmJoRmU4SXNm?= =?utf-8?B?N0ZuVzNmZW1BMXV4OUNWWWJEaU4vYjlOMWR5SEk4ejFES0R0OFkyMXF5Ync5?= =?utf-8?B?dV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Wc294Ukc3bVpmMTdVQ2h4?= =?utf-8?B?RDQrTGpIcHNETXE3Q3BubURvU2J4MGVKVnBRc0FjUXY2TythdzUybEtCejZD?= =?utf-8?B?K05CaUFmVFN3SGtaNllldUVIVk91RUxQc1Q4SFZvQVc0S1hpR2pPQ3E3L3k1?= =?utf-8?B?VCs0azVLbnozcDhvSVBWRURySzl1bnJ2NTJYME5aSU5mQnZjRUNsT1BCTUQw?= =?utf-8?B?OWh1YmVjeHd2VWhwMXhCc2JHTnZLTmZDVGdSVFVRY1dCSXplTi9QdEJwWURi?= =?utf-8?B?eDB6MXFNd0tRanVWSlErT3BVMm9wTHlXS1R2SjliSjVlR2RxbUNya0pZT1ZQ?= =?utf-8?Q?y+lpoPvXYddihmhlMg?= 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: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1d2b65d-8442-4ef1-e037-08da5425ba4e X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2022 08:03:44.1822 (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: DuhWVNW2WRYf6zFk1MOYCnhq/HxuXwhYwhCGR91IKtUYnCeuSnUak5QBSvcvQ9ElNRjp0bFgT11fgeG6Rn1d8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5314 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 SGkNCg0KSSBwdXQgaGVyZSBhZ2FpbiB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