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 9BA7045BB1 for ; Mon, 28 Oct 2024 14:16:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9094740F16; Mon, 28 Oct 2024 14:16:55 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id C6A6A400D7; Mon, 28 Oct 2024 14:16:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=r7mufRA7OtjnQV+RT2W9HMNUsxw5Y2M7Ih07UWIX5yhTToqw8iEB3yjsyxQA5Taqq6zz6k4fH8Q8qB3Jq/73t+MntOge0HPNYW0UpeHTe/1OQQ9CDIPX8QcN7H7rWenpRMBI86xF/N2hPpHlw8BUTpnpwtEXpOFq2Jj2pX1ulJN2UvQhaPzBZiqDy19K7nJm5pqII2I28XpXlQJmAjSHzxuMva+G4WMpAk1rvhfoxdLgNh8drEeuOBiGAUAbr5g3wWUsiU9RV5FgjNF6EtIEq+0hTHVTv9MRJWEMxAqhpR8Bwmi7IhIeX37bnDt1+N17AczysZXc0Z3BrdqxwibroQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=iZCioU8TBMbiagkMV5+iBTcJfEP3JVd0g44TmlWa/xk=; b=GgP8ERWKh6BDqt4Mf7saUYKCxMrFJCq1gIs+4ag0hGGkFvxNO0PplGdn7qgaZkyAtz9NJdECPGWQt/LElqRorzfyIs4N3y44lVYRahFiSyAjo90hwlqBxmnZvLbxp5+XBldKtxcpAx9ECTtcvYFuxt5umhOqdR4hmnOd02TOFmGZh++LlUGRxcXjZmItxwaq6RKqjV06GkyBOHXgQF3G/rSizNAzFtC+rH/lIj+tp4lXrafY5g30LGpxm95Ib9CldnGvFEq1V5to/NpNuXSYPo+RNziFhlv5R93LX9G/GmXmIPVN/LzS6poIEBHZtU/BZOm/Cx92GNKMaRr6nvmh/w== 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=iZCioU8TBMbiagkMV5+iBTcJfEP3JVd0g44TmlWa/xk=; b=ElN4HQ+olz1151sYu+Pg03Tcr8iKTyYBF74cxqiCu93e1oJX4Y5EyfkyslzhZr/VBMhAux5hb0fYnV9/SEKCl6PmBafB5KQUrEw40QllAkH8EcVEJ5vUa43/nVh5GTw0v6byMSd16VYim5kxK+WVzbs0AzF312hGBSfK30tZkyjpmGTazQceNvderBKcVOVl/0ydCm9dkYIyzkZBjaLqzNyURoqU7Y7mUDp8c/ibKc6Xnu9m29F9zpKrsVMk8Jp2vNNPVvBIDqNz9HGacewOu2bBjn4wfaZR3fF+oEk+2VmWie1//XqhphNB53zAQin3kOhx3QGdxsC1ed6Wi99BOA== Received: from CH3PR12MB8460.namprd12.prod.outlook.com (2603:10b6:610:156::15) by CH2PR12MB9518.namprd12.prod.outlook.com (2603:10b6:610:27e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.25; Mon, 28 Oct 2024 13:16:50 +0000 Received: from CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5]) by CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5%7]) with mapi id 15.20.8093.025; Mon, 28 Oct 2024 13:16:50 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Maayan Kashani , "stable@dpdk.org" , Dariusz Sosnowski , Slava Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad , Jack Min Subject: Re: [PATCH] net/mlx5: fix error notifications in counter initialization Thread-Topic: [PATCH] net/mlx5: fix error notifications in counter initialization Thread-Index: AQHbKHhvPmxE9xSbtkimBEDG9vCid7KcJkFA Date: Mon, 28 Oct 2024 13:16:50 +0000 Message-ID: References: <20241027135849.123533-1-getelson@nvidia.com> In-Reply-To: <20241027135849.123533-1-getelson@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: 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: CH3PR12MB8460:EE_|CH2PR12MB9518:EE_ x-ms-office365-filtering-correlation-id: e4861685-a83d-45b7-fe99-08dcf752c85e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?5ySwVTxP8JaKoetJiEs6m5zvt5DFmXZXwLyjuYZp/fQBFoNpdIB8XejWu0?= =?iso-8859-1?Q?DLbQWEZaSPwxox2xPVqHz43gEmDIIOwzLNuib9scChke24bmhOYMaVMTCo?= =?iso-8859-1?Q?QVr9dEc/O/ThUO4nGQ022whgl7379egErvuJUkYucBUDi6yWZJfFuDXPzu?= =?iso-8859-1?Q?IPsxdO2i5Q3Ug2aQYUqJ6tV0x1L9RTrlitwVtGcY/BkHaPCilOtO3fsbA6?= =?iso-8859-1?Q?yNPYVpBZjqfeGSKxooLFIz/KLAoSwvyz6iCsTScvgA3B15OcChPbT5Hhj8?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fhn+ebTZj8mxTx4PwgFC0seriL/dnZNI781Ho?= =?iso-8859-1?Q?q0eZMJZhnEYKcMLnJ+KyemqRuV4vrvRo0/0B3TKpB7AwmNjFixNI2JD4p3?= =?iso-8859-1?Q?vlyI0moMxj1ywxLdypJehQu5YXAMBJwAt3UKNInQ/Sd9w/9iw4yL1khoET?= =?iso-8859-1?Q?gOJ5ErR59AL8/a7W8C4f9dnoKj1jkzyCEgzTA4AannpJM2mho/urg5dI0h?= =?iso-8859-1?Q?V/m7TlnqSYW7Od+U/dM9CyzFhayfx08lbLdOUJi7MbgH7Nn/jx1ng=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8460.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?p2HYOcZL/UpO3B/+v+uMNzzqTiKJ0O4Q0GvDPhd8Vh50/hxYta6A2sOK2q?= =?iso-8859-1?Q?QNV+jPpDyAkhCheVmwyLPNv19XosT2csc3ht3TSUA4L5IuMbrEpox0qcnM?= =?iso-8859-1?Q?h6sy2eTCCmo+Zsowf4eYLZYuHdRGEjfZGpBD1OJdN3Tf08wXhOilLi6k/1?= =?iso-8859-1?Q?G4/6howIKEX5KOj3s774U1Q7y2ZjSJylbPp+RmYjx0DwmM9PWl5v3x0Aor?= =?iso-8859-1?Q?s1dsCtYA5nsmRVR1GRtztuJzVAftbNfWO0iz3DYbF05KvUS5axlSoPiwvJ?= =?iso-8859-1?Q?AugcNOMsRb95fQpKFRBwRx0z2bBmieojq0Q3uqbggokRWaaFjV/4Vmea2e?= =?iso-8859-1?Q?ixeySL7V8nziGs19tMfMnR3hQLMahZr4+TUCa3UQc87+1EOeXjWZptlHuS?= =?iso-8859-1?Q?8uUh07KWlaxf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= =?iso-8859-1?Q?RJ5OC/267BXkr0w14CtCbl+dgZ/IUjMPwU89h5/uXGMS8R8+sQODH4GEYI?= =?iso-8859-1?Q?+HXy34qMZEWD0za4nu0yrhL1gSVpM1yyXLlYpIAMeQcOpcl8sF90tPvuQO?= =?iso-8859-1?Q?tDfEtkSwwB5KzZT7BbN8UYJSrMC0UW2UqRpKoncTx//1k2VsHA3bN7dgEK?= =?iso-8859-1?Q?fRwmqDyoCoFy5DPcHWFtI/yydp3ZCGZw7SAEDIG/8gBSXw8EUb1PtCFHSf?= =?iso-8859-1?Q?I5zRkZcP4Qolg490JPhSPKouBsBSTTDO+hTf4CS5l5awVk4inn0JJIM32P?= =?iso-8859-1?Q?zRK/a+6PskEgM/MjttTxR+1eiqq2LFXkxT?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8460.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4861685-a83d-45b7-fe99-08dcf752c85e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2024 13:16:50.0169 (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: 45rGIeuot7SVXEYir0Mk8w1qGwyQ2jpTiedw9S/bu4s3GQh8lK6faPeRgvBBa3mC0mBlgT46rTbgQfVm+GSMtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB9518 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,=0A= =0A= From: Gregory Etelson =0A= Sent: Sunday, October 27, 2024 3:58 PM=0A= To: dev@dpdk.org=0A= Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; stable@dpdk.org; Dar= iusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Az= rad; Jack Min=0A= Subject: [PATCH] net/mlx5: fix error notifications in counter initializatio= n=0A= =0A= If counter action initialization failed, the PMD used integer values,=0A= primarily (-1) or errno, to notify upper layers.=0A= =0A= The patch uses the `rte_flow_error` structure for counter=0A= initialization failure notifications.=0A= =0A= Fixes: 4d368e1da3a4 ("net/mlx5: support flow counter action for HWS")=0A= =0A= Cc: stable@dpdk.org=0A= =0A= Signed-off-by: Gregory Etelson =0A= Acked-by: Dariusz Sosnowski =0A= =0A= Patch applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A= =0A=