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 39D5BA04A9 for ; Wed, 26 Jan 2022 16:27:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2CE1942716; Wed, 26 Jan 2022 16:27:55 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2070.outbound.protection.outlook.com [40.107.237.70]) by mails.dpdk.org (Postfix) with ESMTP id EB29D42716; Wed, 26 Jan 2022 16:27:53 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RMmySyuNgu6YEFvMngIge5FZfS0OHABrvspyBQHiPiiBFEpS8q4mSoessiNtxJuD8gfXQGmXAiN6XrPkklhbbRmrQjIkAFXn0KUYKdzXowj3Zd8tWCw4dDa52qYt4LxWaEUbxqMI+OrlzT7HvabwYq+WTwsPihfnhVJjRye9jv+u7mlZ7tOthGPoNfMeR3gIR1wajXzOuVJrQwn1bss/xuDCt4fQcJzSV9S3+6bkM692SF5g6M5boyHWmRmmGNCpdqpu2MEWrMAu6GMfzWEb+wzuAxiLKPVraqQl/z3G7J9HXpma8fZDYpVrXgxa1gkWncNZ6XzWmgKQGVFOME8CXg== 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=ZMqNMM6UFY1bztxlDbDtdPLb7MgaZjBKlENQXKNBZ50=; b=AzPWuI8VbsYl5AG5kSKlD8wGYSc8OXEObnB2le3GHh5vFzbBq72bxbSavBBiY4q7Tc92Uh/cLmR90wgq109kctg4sTtDpmmDoEqxZr6eAfgFY+L4spHvezrlMgdpg/FF9ho0FBA5OGJAU1FJrpf8HhQairJlWENoG4CTao4GWnVwXff/iegLUEHh50i69an0KW6+zsP3iAhr3OG6o3QLXZMSQ1wwa5O9DjsUib2rqhnzCF6xYNnpmw3NXtwMJ9+K2fDj/lAjnIi1HBveuUZc+ZI62fbV49LcizzWOQhqnQsgi8YX44MIgvY5oZkWibl8Tb8iCjGshlnPzHu7fUcn+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=ZMqNMM6UFY1bztxlDbDtdPLb7MgaZjBKlENQXKNBZ50=; b=Xvis237S5jitrF5OCZEUPhrZe0BA9803owNWbpAHjhzJxz1tulXrQNkNMXRS9YUHwpCIIyhe9CXIquHfKnJUHg6ZVEZvLcbAyCxZVC4GGTjuoK1kUvRc//hjSH2THbBao2UDYAsxXlhrO++7DpPEP/01nYiu7E2EL1fMlakdJZdL2ZmdA8DHghYOQyJQpZ0twEt/x9S6CEOStzTi2bp/g63vxYF+FyhB88na0G9JdOhBJ9gXGpru1dRh3rLViDWq6TJbaZyO06o8E96/ItvRWr3bm159S+cHZosA87oUYjQ9lM9YC//JnX1jC8F6YBZ9SNMdFiqin0rjfBECzts+VA== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by CY4PR12MB1541.namprd12.prod.outlook.com (2603:10b6:910:7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.13; Wed, 26 Jan 2022 15:27:51 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84%4]) with mapi id 15.20.4909.019; Wed, 26 Jan 2022 15:27:51 +0000 From: Raslan Darawsheh To: Bing Zhao , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , "Xueming(Steven) Li" , "stable@dpdk.org" Subject: RE: [PATCH] common/mlx5: fix probing return value when failing Thread-Topic: [PATCH] common/mlx5: fix probing return value when failing Thread-Index: AQHYC8qbPBApgf+NgUGT4gtJr9Nl5ax1essw Date: Wed, 26 Jan 2022 15:27:51 +0000 Message-ID: References: <20220117174914.82613-1-bingz@nvidia.com> In-Reply-To: <20220117174914.82613-1-bingz@nvidia.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: 8f25f3a5-1298-4efa-6fa6-08d9e0e06a60 x-ms-traffictypediagnostic: CY4PR12MB1541:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AqDQnbegs8G9/9V/dvCLaIAxgHw4GwvWFVN1043IVlj/YqWfm04h+qUrzw4J2HaEOVSwsUJjxtu96xpjlC1QJgzW2Zx3dpmRvXiGiZLXKq0LuUdzWTSrJaGqt1KY/agXIhv25xMJDGAYYtDMdfpSBsIjirkxZMmJClttVmwQ9AUrwKSb74nQULPh81HSjWTLFhuMx5iCIeJuJcvbPdFQKHK3rZYvgJy4/aEkqM7+MvXS2CYdIGkeg2qw9HsEIIBJYLVMlxEYG0Pb+8a/sogMe/3Fz/R03B8X1xnzhIb8MmGHLWX9dZTGXsrSMex+sKgX6dvWhFUrkFP1YDEqlAkpbTwbScsDO0dpFVSDv0jxHdZjjw0g+rm6amtWTFp/3muiPSMQM/FhHXxcc7743E9GrJieVCFqBESs6PqwvD/xvvpVjkAzCtEeCDiWJS4znPxWZDwLxG+9hU/U2lqx9/Uuc0+TAg4cLWFlvapnZ6ftIVFJVylFDxn/PQf9tK+wQS4Wswxpibsz1GxCPL0QbXyK12K5psSYWClZXzYZ6NWGX8pcEc/MyMjTZnDxV7VCmitOsUEhEKLmqxYNC20jQ37if8XOmiqJ1FYIVVBEPmEt4jZv2aLGYUBfijHFLkcazmyxe1ANp+zHqwOuJ7+cp+XbHSfsVgK7yISw+55u8+xmfiZtq9TWFo0kWbb/xY1UDh3Nud8UjiTLSmDfp/S6yOKalw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(76116006)(86362001)(53546011)(7696005)(83380400001)(6506007)(66476007)(6636002)(64756008)(66556008)(33656002)(508600001)(316002)(54906003)(8936002)(66446008)(110136005)(52536014)(4326008)(186003)(71200400001)(5660300002)(2906002)(450100002)(122000001)(4744005)(38100700002)(66946007)(8676002)(38070700005)(55016003)(9686003)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dySOxteVFlDanfie+2NmkEHaUrEmYXewg09bocf5JsLhnqXVfIP+S0UIJFDE?= =?us-ascii?Q?5HTqEonP02xFkWu66NFzBZeXE3ZOkxcVr+h5AltOWZ9umrLrm0hDShQ4KRii?= =?us-ascii?Q?EKjnilPIG35/HTZ82V6xSV3Xohjr8OCMKnQ5ni1Ymt6DyAtx0pzAuwBUMnjr?= =?us-ascii?Q?XmqqVaI2gzz/TEZZLO/cDT89spL6kRFv2iP025wxdLRGF8SR0arfkUerCPPQ?= =?us-ascii?Q?nvsgJImg+VbnFKE+5Z5F6n4haVKdy4AGAqRiRJesZ8wkUPieMgwLErH7osYL?= =?us-ascii?Q?Hgv1sy6/5OjF6B0XiLRTktdPU4vOFIFrr0LDb6jC2B2xlulbRNQmf+Fl4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6x2dJMLKzWSGoKi/VG4dWNhTiZa0aa2T?= =?us-ascii?Q?kI6zwPmEazZ7kpGSdT/CExxRj1Yo4cttUtE9HxsyMsC81B3JIwloMXS8M2Fz?= =?us-ascii?Q?w2sibVGFH6t2F1NT4LCDHT7jz6IY1vDT1SrRs72bNrkP3KzRkru+RFTno58P?= =?us-ascii?Q?90ytUdxlHIfTsJFLXe/gcvHlunJqmG8wEPZV1vny0aVWQ8DMzOvJ6wvRWpqT?= =?us-ascii?Q?EOGWF9wt51HWFFdV3CfcRw2/3UPzPiwye79p0hOjxLpm+J3PEcVLTba2DyHi?= =?us-ascii?Q?E1j88DqEWZHF1cLnAM7VdBrJtcJzA25Wx4KwoOGNZmaITypLHFJdk6qnHyEA?= =?us-ascii?Q?jWD8Za/Ovkz1W3UB+fH9VeXl5/jvcNLMGSRANIHm/n7E5dGYW2LCYfCDJory?= =?us-ascii?Q?ua6u4WkYXuOvS3VIO8O6eNU=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f25f3a5-1298-4efa-6fa6-08d9e0e06a60 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2022 15:27:51.0543 (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: qmhEaplY3cexF53RGUoUNUC6MljNJAftADGuprJ1FScuUGLaF256Cgw6gCofa1aWy+embjJAvStvjweCPjHX9Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1541 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, > -----Original Message----- > From: Bing Zhao > Sent: Monday, January 17, 2022 7:49 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh ; > Xueming(Steven) Li ; stable@dpdk.org > Subject: [PATCH] common/mlx5: fix probing return value when failing >=20 > While probing the device with unsupported class, the process should > fail because no appropriate driver was found. After traversing all > the drivers, an error value should be returned for the case. >=20 > In the previous implementation, zero value indicating probing success > was wrongly returned. >=20 > Fixes: ad435d320473 ("common/mlx5: add bus-agnostic layer") > Cc: xuemingl@nvidia.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Bing Zhao > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh