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 3255943FB4; Mon, 6 May 2024 13:46:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D996640608; Mon, 6 May 2024 13:45:41 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2044.outbound.protection.outlook.com [40.107.244.44]) by mails.dpdk.org (Postfix) with ESMTP id C0189406B7; Mon, 6 May 2024 13:45:39 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L3PXN9TX+PoyVWZbc9fGHvxV93JNk3eDNPpL/118IqsPX0rSV3dsD/cKlIxPBQiswswe2UGNfWWAQjQ9nRuSZKmjPe7DzyxuLKSHLCtodBE8X+EM6bUDHyFR13ucL94en2LAzJDquh4Cv3E5q6/VwYNs3a4r+9qF5N3rnLXUVKtwTu9EP5IU1NWicWkaDmZnK61wTUpLkuVu8fEQlZhcr2V8OXqfMIj4VJQdKZwmddkg8HOV6gJ5gx20jbb8XmHkejoYQDbr5ban3YSHSYw/kqGLpOVWleIJzHKKTYtkThbiF5C6qlKoDOvrtVudKjcyguLF2Wf+KbBtD1HIdYBREg== 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=AcvfOjoLuDx1v3nPEcZfQ+HzEaPuTgUl8B7qPHF6QAE=; b=GBDgB9M6s3hCQGEsmdxE8Xgrxwr0t1/+Kzp5qAb9XxMWfKlR1QYJwwFvdZPYseKrJuKaI29UCrdTwMpxEKJuyrnrzeRC9VERQPXVefk5GMOk76t6Ekt5ziBhDcZXTtA+gNX6Vf8lMWl9IB1ZIUGVeahbGGNtuy4npMpP+jeojIwMiYpwrFJTFmZKjdjE9jKS1Yu7mhaL9Bg3CTOODbuGZq2s6bIoSki9OnZagxQVVB47zGkU84EMGHNWTLR8sHLpql0M0cYeWu2kTXHjDycXlRYIigt+5N8/R5Fe8P7LDgX4ICEsftr0JEW7jeAcVh8dZAA0ojbvXKecN+We79JMtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=AcvfOjoLuDx1v3nPEcZfQ+HzEaPuTgUl8B7qPHF6QAE=; b=LNEW58ifUMFsu9xdNMhDUWe65wQ+LY2zCsCGQ5v6BX469NFi9mvAwawW4lWKjnoWdzxl9aZM7U5T2TlD09p1/Om+Ngbe2oIq9CaclMplflhaWeMIKSoZrwTsSNa6um9Pz8kWlBAmBdgURiFFWxRkJ0ieetqEfOW69bLlwwkHoHe/yqiAOGew6BcaCwI7GZ6/UeZG8OY1nWeeASksEIt74/xJgiZoikkhoxutZQAHrXwBjfLMGTSNcqb8cVsin8c4FhGKvWnfYx4eM9LOmjvW81NZlCiDYkx9dJt4XaPCspBtnrHgZehDaZjM9hQhLiOAdIUw24WpQha+JCCJAm6JNQ== Received: from DM6PR04CA0026.namprd04.prod.outlook.com (2603:10b6:5:334::31) by CYYPR12MB8872.namprd12.prod.outlook.com (2603:10b6:930:c8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.40; Mon, 6 May 2024 11:45:37 +0000 Received: from CY4PEPF0000E9DA.namprd05.prod.outlook.com (2603:10b6:5:334:cafe::fb) by DM6PR04CA0026.outlook.office365.com (2603:10b6:5:334::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41 via Frontend Transport; Mon, 6 May 2024 11:45:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CY4PEPF0000E9DA.mail.protection.outlook.com (10.167.241.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.18 via Frontend Transport; Mon, 6 May 2024 11:45:30 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 6 May 2024 04:45:23 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 6 May 2024 04:45:23 -0700 Received: from nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4 via Frontend Transport; Mon, 6 May 2024 04:45:20 -0700 From: Itamar Gozlan To: , , , , , , , Dariusz Sosnowski , Ori Kam , Matan Azrad , Alex Vesker CC: , Subject: [v2 16/16] net/mlx5/hws: fix action template only term param dump print Date: Mon, 6 May 2024 14:44:19 +0300 Message-ID: <20240506114419.966498-16-igozlan@nvidia.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240506114419.966498-1-igozlan@nvidia.com> References: <20240314114220.203241-1-igozlan@nvidia.com> <20240506114419.966498-1-igozlan@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9DA:EE_|CYYPR12MB8872:EE_ X-MS-Office365-Filtering-Correlation-Id: 451e99ea-5998-4808-0ff0-08dc6dc20810 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|1800799015|376005|36860700004|82310400017|921011; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?lRUNLDpJLgSZTRTUnjIU0wCPJ5AcLIezBOT7tPuHioddFLe81D5s8cnY5RNR?= =?us-ascii?Q?xWa/SYOAUL7ITLavBlq/AsQnrtbTHX18nBLn26ymeAkc4mEPJQ3VW6sgFqxX?= =?us-ascii?Q?rSi+41KyWhR0sDTzobADxQAF7KL04BOSlcOvSJevVYybqc1NzAbwMATDQ9Ii?= =?us-ascii?Q?Jrq+XuEsACrzHs+JIDmqd++B9qFMF9ZH42oda0vAVKEHCmNOqk2hq7MSH4RU?= =?us-ascii?Q?USeY0F4eTwJfOclJYH789sJ+71YyIilMvrEO94cd0WXKSYgXKjuORqx0uaEP?= =?us-ascii?Q?N5+dxeqoU3rXEzjPtTzAxYm/Yjm1JEA/jSwsBO7c9kMhMcjZJCs/SbUABcmw?= =?us-ascii?Q?LPsP81VgGBhw6isjZNDyDN8qWVXvZp/9eqwp6SbbOcxcaaK8a5XEVcDbuiH+?= =?us-ascii?Q?GADU7de0Q+I2O1dDLnGqJxgTbm521WTDw60G/A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dkO+8WEMuR8YYab+LWCBCj2AdmIHq1LX/ouR5VuOiXtVyS4RQ?= =?us-ascii?Q?2jR6p0t3u0VOzl+Bwq1UwUBtfOHZ?= X-Forefront-Antispam-Report: CIP:216.228.118.233; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge2.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(376005)(36860700004)(82310400017)(921011); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2024 11:45:30.5027 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 451e99ea-5998-4808-0ff0-08dc6dc20810 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.233]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9DA.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR12MB8872 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 From: Hamdan Igbaria The debug print of only_term param in the action template was printed incorrectly. Fixes: 78580cf4e796 ("net/mlx5/hws: add debug layer") Cc: stable@dpdk.org Signed-off-by: Hamdan Igbaria Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_debug.c b/drivers/net/mlx5/hws/mlx5dr_debug.c index 5ad4ca2da5..741a725842 100644 --- a/drivers/net/mlx5/hws/mlx5dr_debug.c +++ b/drivers/net/mlx5/hws/mlx5dr_debug.c @@ -153,7 +153,7 @@ mlx5dr_debug_dump_matcher_action_template(FILE *f, struct mlx5dr_matcher *matche MLX5DR_DEBUG_RES_TYPE_MATCHER_ACTION_TEMPLATE, (uint64_t)(uintptr_t)at, (uint64_t)(uintptr_t)matcher, - at->only_term ? 0 : 1, + at->only_term, is_root ? 0 : at->num_of_action_stes, at->num_actions); if (ret < 0) { -- 2.39.3