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 E3EE845CF7; Wed, 13 Nov 2024 14:38:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD1204025E; Wed, 13 Nov 2024 14:38:00 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2078.outbound.protection.outlook.com [40.107.236.78]) by mails.dpdk.org (Postfix) with ESMTP id C94834021E for ; Wed, 13 Nov 2024 14:37:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xTQD/qcDR+ub4Rw19otZFheIfPKpL/5DAEVTuFpaOsz6WjYR/yoXs13cPPK4Bx7y3UBJtTJ6Ch9Cdm7I090CsFePv8+rmZa6mzvN+BT1rCPUxTInOrgVpB5ttEKSZTN0ixLFrtRPtg4xA745UWRMBCKW7jZnlWbiSVvi7esgRBDu3K4okPjjVf9ua4y3xCZzq08O8HpGpQoBfp4nIYI6fHu0zw4UFSodtkU4UcKbcG+oghD+E7OkRE6eztUe2P7VGftAjfkteDL5HbnWE9qnWX2ecRibmjcBX+j3s5q0zjLAWUygJWgbRindTTcRwrh1L93DKEOE5rMczfICzpIQ5g== 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=TZq8sz4J2eyNF1iUWrmk2JNbs8JNXaLJQYnbAo4Njhc=; b=gOebxb7EkbjAs5//AaHCtwaehx2Sduv1FYWzNZ5BEvAkJrsFbClISC+F/5GC8SgBG2IoQOmxaRt5hixpCm3OkJ8osTCXwHHENjbITRcv97oNHcB5/o7ef/UsMxhWpH1PmagLvZPuGvme/9SLusMNZ7VSmk3JC84fATg6EjfD995Fe8TLrvm+SU6DkFg3KR0jQlBnB6sCoENg9dp0G+hFnmgsh4o7OzTiVOVs7yPvHld6UyAnyPRXibEO8VfLJwGqNwsw3ymi//rgnS8pOKDD42OEAxzSI1XSgJvVkZAp4WCxKOUTFNtBRduzTfYqY1qcdFX0JDGzsgztHT93tiMxDg== 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=TZq8sz4J2eyNF1iUWrmk2JNbs8JNXaLJQYnbAo4Njhc=; b=LVsATlZb7BDLpmuR064e0110d6gpoNHRHjxOVASgJQe9NYgT3lVD92Jop2v1Wj2o5+gI/gJNlsybIOxG7bvFhp2Q7Dec2dVFtR2bgadxZY9vre7S8VARKYQc7j9uRyvKwmhbANgrYZhshbnGVSkAbGyua7QhY4Yz7lujYgHviznyqUcc0aa+RALuojN5rda7Aq+K0Z7Ty32s75o/RHWzYPzlgIXKz7IpfBCISjeTb1JQccWVj1G6Kg+p/sj5HswpdAoWD2RLP/KUGujD6ReZ6JHyfRLLN0oLXrKkklVQH2ZPqFTkevHbX3U6Arg8kwSZO+F6dXn3l+PBhuW7Gt089Q== Received: from DM4PR12MB8452.namprd12.prod.outlook.com (2603:10b6:8:184::18) by PH8PR12MB7376.namprd12.prod.outlook.com (2603:10b6:510:214::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.16; Wed, 13 Nov 2024 13:37:56 +0000 Received: from DM4PR12MB8452.namprd12.prod.outlook.com ([fe80::b341:6309:cb1f:5b6a]) by DM4PR12MB8452.namprd12.prod.outlook.com ([fe80::b341:6309:cb1f:5b6a%4]) with mapi id 15.20.8137.027; Wed, 13 Nov 2024 13:37:56 +0000 From: Raslan Darawsheh To: Dariusz Sosnowski , Slava Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad CC: "dev@dpdk.org" Subject: Re: [PATCH 0/2] net/mlx5: fix counter query loop getting stuck Thread-Topic: [PATCH 0/2] net/mlx5: fix counter query loop getting stuck Thread-Index: AQHbKukzJ83vJohfkkWR5PbNqNezybK1TIqT Date: Wed, 13 Nov 2024 13:37:55 +0000 Message-ID: References: <20241030163046.495982-1-dsosnowski@nvidia.com> In-Reply-To: <20241030163046.495982-1-dsosnowski@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: DM4PR12MB8452:EE_|PH8PR12MB7376:EE_ x-ms-office365-filtering-correlation-id: 0cc7303c-891a-4738-29fe-08dd03e86183 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?gnUa0FXtF+X4iU2+6vkVaBO1BVoszsdZPS2QJNSUH2wI1Dh+WXAkb6+ZA8?= =?iso-8859-1?Q?mmcKn6rlFjE3uC74EZGiLoCDZYL4oBx7Xq8ROeMfZmxMQZuUbgySXkFj+N?= =?iso-8859-1?Q?nV3kzuRq3sIYi3ScArQoq4VeEumefG+N/Xr8HDweI0hG40Xvnr3jGCeBPx?= =?iso-8859-1?Q?SBDm1fAedKwz0U0BxbsEk67jlOsrBXVrEb8kITGM9OfSA7r1FuIsDqIoMb?= =?iso-8859-1?Q?L4eGgdXpyzNzYxGNolKooMUyVaHAh9oaHLDnqLEMEaDHM5EJndPAoIHsua?= =?iso-8859-1?Q?IiA/Gt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LCck?= =?iso-8859-1?Q?+EwhslTncY5ez+tQs2SlyrbVVGrF/grRSAQ6LlkXQ+9NGJSWnTQo1vepCA?= =?iso-8859-1?Q?rXtPTVyl+FcJsKmYQZNVtBQ/aMYuANjGyO8e+h6yeUvGgcGcdJ+jC0wI5b?= =?iso-8859-1?Q?AXaD6cWOhPsvn2kQa8KEAaP3/6zqo8qNa4udUZG5BbmIf/RLJ3C6Xafb8t?= =?iso-8859-1?Q?ajzinV09vDa9nDvDuT21FMPMxiuB2dMvhS2bYXxqqfRsP4nZyjvig=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB8452.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Tkkd/cMUQwjiNv/oIs24i64EweS6+YssTp3BJtBKTzlumFGtJkgchkPcWa?= =?iso-8859-1?Q?LUMTIzQ9wemH7hd3PGghPjCLPwcu9FgjlQqWDH86MEhH9ySPlscPW/mEWB?= =?iso-8859-1?Q?nENy3oIUv4F+sP4NxskPEj1dJcDu4Th+7z+R08CWhZ38v4Ptk2dMvRooXw?= =?iso-8859-1?Q?Iqec4HRTHzTTIcatpi+lY5YOesI7C/5AE+pVcBwyPiCRP0FM8iaMBixjRh?= =?iso-8859-1?Q?kExVBNOOoOt9RpM8goanapmZpfUehsE2CUdmd2HSnQeniLPpU282qh/OkY?= =?iso-8859-1?Q?4KbC9zom2uPcqfmnvzpXvV+jb6jnVitMspUw3K3jHgE2hGYGok4aQfIkd1?= =?iso-8859-1?Q?SUW/OGcqGfRbwxlWQmIksmtNu0JcxF7CYSqqlHvBCYXSU4DLWwMfQ+FO9s?= =?iso-8859-1?Q?FjvGRuxdxePkMiqVwinF1k+nWX33teyX51+16NzrtmmiX6B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kvHgqm1WkO7ShjInvJXMlqOC1723GfPcLHYKWPq?= =?iso-8859-1?Q?DBmAJwCrGg/x8SyYpCBdTWCXRwTiE0ADOm4WqGmkjlcdxi2mh5CXPQvrMj?= =?iso-8859-1?Q?3Mq56Len4SZ4xpTv50CYf+ml5/WoTdGLHAe6niQEwkbRijTvaDRSv3vIaw?= =?iso-8859-1?Q?AbKi+odImycaZ15DIowLZLDOfwm1fd3QLnB7wXY5MDC9PQsa9WrnU2KRkL?= =?iso-8859-1?Q?nJwOHdClxiy8rE8jpA8pnfuxRQnnPOYEr2C/Om9KGunmEwZQtlo4iyfGTH?= =?iso-8859-1?Q?/TTz4F8kX5ljQ=3D?= 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: DM4PR12MB8452.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0cc7303c-891a-4738-29fe-08dd03e86183 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2024 13:37:55.9321 (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: rIASSgALD04qykefg7POH/xLKnq0fgPE0ZrpFOw4wsBfm44CkX0JpwykXoQBicv0Zlr8nmVvT6htv8ozxdAJYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7376 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 Hi,=0A= From: Dariusz Sosnowski =0A= Sent: Wednesday, October 30, 2024 6:30 PM=0A= To: Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad=0A= Cc: Raslan Darawsheh; dev@dpdk.org=0A= Subject: [PATCH 0/2] net/mlx5: fix counter query loop getting stuck=0A= =0A= Main content of this patchset is "net/mlx5: fix counter query loop getting = stuck" patch.=0A= =0A= The preceding patch is required, because the fix for counter query loop=0A= triggered the dangling pointer compilation error in GCC 14.2.1 in an unrela= ted=0A= part of the code. To be specific, the following part caused the error:=0A= =0A= ```=0A= @@ -3978,7 +3982,7 @@ flow_hw_async_flow_create(struct rte_eth_dev *dev,=0A= &table->ats[action_template_index],= =0A= table->its[pattern_template_index]->i= tem_flags,=0A= flow->table, actions,=0A= - rule_acts, queue, error))=0A= + rule_acts, queue, &sub_error))=0A= goto error;=0A= rule_items =3D flow_hw_get_rule_items(dev, table, items,=0A= pattern_template_index, &priv->= hw_q[queue].pp);=0A= ```=0A= =0A= Dariusz Sosnowski (2):=0A= net/mlx5: fix dangling pointer to params=0A= net/mlx5: fix counter query loop getting stuck=0A= =0A= doc/guides/nics/mlx5.rst | 71 +++++++++++++++++++++++++++++++++=0A= drivers/net/mlx5/mlx5.h | 28 +++++++++++++=0A= drivers/net/mlx5/mlx5_flow.h | 25 ------------=0A= drivers/net/mlx5/mlx5_flow_hw.c | 26 +++++++-----=0A= drivers/net/mlx5/mlx5_hws_cnt.c | 46 ++++++++++++---------=0A= 5 files changed, 141 insertions(+), 55 deletions(-)=0A= =0A= --=0A= 2.39.5=0A= =0A= =0A= Series applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A= =0A= =0A=