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 EB5E344132 for ; Sun, 2 Jun 2024 12:23:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA01A402B4; Sun, 2 Jun 2024 12:23:51 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2055.outbound.protection.outlook.com [40.107.92.55]) by mails.dpdk.org (Postfix) with ESMTP id 87DC240042; Sun, 2 Jun 2024 12:23:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d4r23XFueGiXb951rbwO4rUxThoTNgIhcTxyG0rpVQV4Ap4dmtb9zZthskky6LHDvjHQQC5smHI7UfGwz3/lUt3I7R+SDb0qd6pZspQj6OCiuytqToWCVaEi2Xww/BVcyZFVKaH2WB9aYIW3efnZfiwlUTBXzdxtKER4ObQUfEA70Rvt9gnL1F+S1YQnQIZ18L150Fngs0u75gPzKMkX5sv6JqJ++BSct9AIiu8iRqF5iwzGo2kf7dWnA60mG+7NrjE2z4STqF3K81B3HXWzKiPxTkwedqM3v2K0qbp7/NuVvU2X3DKoun48Cp9NFnnQ9P4Kg9SNf86QpyPgmqVm1w== 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=ccry8a7MCHz974T2ccL+nXyqvqXuEO8u3l/sekKIX2c=; b=DSw0gjULMg8fMaiquSOnNZojA2K/NilV8aX2NBVYLfOlw69poombx0vFXFH1fUmLI0IQawONIGBA22QO3ArY7vag358FEtfO85Tng3qvuZ9VPzJBNZJy2VvOxqsWbJiu0x9bgfUwkaTMQ4mJly6hFYbdcQnrrnwep/Xhf7z6pmVH1/uFZzCHpnsp07h/5bmxD1lTV/F8q/CEKOfahcG8FCfOplQ02jCXEP/8oTqp+AA85csnS9jzc6Ih4BNznsTCLSoUA1vrDZsNVjZkkfffVIZXirBuJB6/i1Vj0Jf/p2Apw40ej4nKzTl+0PpvHrMfasPOSnK5DyIs5pdmltjR3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org 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=ccry8a7MCHz974T2ccL+nXyqvqXuEO8u3l/sekKIX2c=; b=DG8TXPvyNTNLU0Mlnb9n9Ac5cF/OHv4lO7Bggtc9mxR98Pw68XOBhpLOfJKX2QC1jbMm3xLv7/ubZJiLXobWRdMj02zZO/Qg18RjO58sfRhN380g9s+mtA35v0XmxFJShDbaUz8327rklu4qOM5RH3wfpVUeLtLMnrMmSuxO8nb29JM+ujhyg2Rg2cueTfwjh7H64N+OC/ab2eoNM/KEqqcyrJEu2sRTL0d4skUymdYT02LR+FQRUwT2CZrbLI2GDPysu90QPkdCm9oOlgtT+pbNXpGat8QN6rl5VlFfPatllKx66SRiLkNZRHCAmT+8HAGbE6dbSSpjKDu+jHX35Q== Received: from SA0PR11CA0131.namprd11.prod.outlook.com (2603:10b6:806:131::16) by IA0PR12MB7752.namprd12.prod.outlook.com (2603:10b6:208:442::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Sun, 2 Jun 2024 10:23:44 +0000 Received: from SA2PEPF00003AE6.namprd02.prod.outlook.com (2603:10b6:806:131:cafe::52) by SA0PR11CA0131.outlook.office365.com (2603:10b6:806:131::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27 via Frontend Transport; Sun, 2 Jun 2024 10:23:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by SA2PEPF00003AE6.mail.protection.outlook.com (10.167.248.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Sun, 2 Jun 2024 10:23:43 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 2 Jun 2024 03:23:36 -0700 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 2 Jun 2024 03:23:36 -0700 Received: from nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4 via Frontend Transport; Sun, 2 Jun 2024 03:23:33 -0700 From: Maayan Kashani To: CC: , , , , Ori Kam , Aman Singh , Yuying Zhang , Bing Zhao Subject: [PATCH] app/testpmd: fix parsing for connection tracking item Date: Sun, 2 Jun 2024 13:23:26 +0300 Message-ID: <20240602102328.196672-1-mkashani@nvidia.com> X-Mailer: git-send-email 2.21.0 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: SA2PEPF00003AE6:EE_|IA0PR12MB7752:EE_ X-MS-Office365-Filtering-Correlation-Id: da5a65d2-3ed6-4cfc-9555-08dc82ee14ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|1800799015|36860700004|376005|82310400017; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?sTBQPxLB1uIxewgmVoc9bcH5xiVC/xynHT1ENGidw4rsRtkloR3MU2Q2C1J7?= =?us-ascii?Q?GO2gIkAF+LdY3OS5p+nB45I9wwtNpH/Q+5xcLsGcBhdZbjRnX0zJQHnpdiMd?= =?us-ascii?Q?Rw+zqvM2fwww9hVSJqFi2qxwGSAuCvDi1aeX9i+FgPxH3RxnhcgPeAJBr4/x?= =?us-ascii?Q?dmR6BMx8WLMYwjlP1GT+u2fpHMTzv7ftBWBTE7kJWIhImv6AU5t+uJsDXWvX?= =?us-ascii?Q?Ni7S34jk5cGM1Sn95B+2E7QNEaoh0gYSYRS87pez0j5TiZ1Zf89LjaCDWjvm?= =?us-ascii?Q?KMORvrO+moA3otCme+KTlv1HlUe3QsEKVZLsvAPn+FsMAtcj4aWhpLtJ7Lii?= =?us-ascii?Q?7pzzQ+n4uMFPr4WcQFAliaMWkUMio79qaBmr25VUNtggvy2klxdpT3qkJIi3?= =?us-ascii?Q?hVc3+WRtKOm7nxiO2QaEbXAt2hfCl+LtPoIqjcSy1GEVuHM0gU5uPirPUSud?= =?us-ascii?Q?HOr+FzjfRf2tkWzAyy4Ilh42fNx2TQ1T7Is+esxL34I7EZs6bDc7+V3JK8Lo?= =?us-ascii?Q?kUPYlDYAf8DiWQf6GkONfhOpkJLTI06FVop69FvgPYBTY2jS0N8jY4CP5WWo?= =?us-ascii?Q?3dDEmc1xIm8763s1JW0yF00w0vBrY8nMAMmibXfNdjKJyS5MfWZQNXq29qjb?= =?us-ascii?Q?LHf63H/uPIUC7p+DDf/eJ6qt3VkaKJOtnFdoNu8RjkAkSmyddi3d9a2uQrCT?= =?us-ascii?Q?1eTxI/ptG8QHV3w7zU0X5O8/coTYR0KuMGjabKnsEkLiTQ/0HkfjEQ22wT30?= =?us-ascii?Q?qQE7lbOr3J3gfe5MZXhBzm0xI9sWkfIEpxbcCUJsQWJfzRn9rT9ojNQfRtWg?= =?us-ascii?Q?8pVEZJqQK4XN/p8h2e5364MZhY0hCBsr/83WhRKn7hZq9OeLTqZ2+rnepBEe?= =?us-ascii?Q?K0vF3YPRL88+GWn1E3OkvTeert1/b5HLkzay3tF6UEQgYzBpu2SjufQY8OGA?= =?us-ascii?Q?ft9kyB1ujSEbTX7DLanBwzSPenPcjV/U9xRAPaQfb9Zkx/n0bmnPAHATALB/?= =?us-ascii?Q?885pjz/Htc2b16r7m3umOp2T4Dp81V4NfuZq9kaaf37UIBEUOoDRWIA4tROw?= =?us-ascii?Q?NmKEcGEw/gIoVJI3q2gAPiUw7TgQepdyLtkZRL6hYhDPmwX1+o+vmslWzFGH?= =?us-ascii?Q?Bq9OysU4UQWfRPIStDWibXTnau2bAsM+usrSI5e3DlEL5QweRLOizxRRDkXQ?= =?us-ascii?Q?o8ArdLKYWg9DPW62GgJA6ZHu8f9A3/FI1racQ4B35R3kyLDpnHwQrh5WPDEk?= =?us-ascii?Q?O6CU5tD7WU/9u6YVV6TfRX87T03GsaWjf3Oh13fLJ7qsuxTTl/DKsdAe7/85?= =?us-ascii?Q?Tz7rzk+2m9OnarWNvkgu92nqAbnzwu3R1T4nm8OItge2YpgVOrSMeoHo8gzA?= =?us-ascii?Q?YLyC0hhbQTG+esc+kbm4serxF0Vi?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(36860700004)(376005)(82310400017); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2024 10:23:43.9174 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: da5a65d2-3ed6-4cfc-9555-08dc82ee14ae X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SA2PEPF00003AE6.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7752 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 In command line translation there were missing fields for connection tracking item, as a result this item was not parsed and was missing from the items list received from test-pmd. Fixes: 4d07cbefe3ba ("app/testpmd: add commands for conntrack") Cc: stable@dpdk.org Signed-off-by: Maayan Kashani --- app/test-pmd/cmdline_flow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 60ee9337cf..1f9d5ebd05 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -5797,9 +5797,12 @@ static const struct token token_list[] = { [ITEM_CONNTRACK] = { .name = "conntrack", .help = "conntrack state", + .priv = PRIV_ITEM(CONNTRACK, + sizeof(struct rte_flow_item_conntrack)), .next = NEXT(NEXT_ENTRY(ITEM_NEXT), NEXT_ENTRY(COMMON_UNSIGNED), item_param), .args = ARGS(ARGS_ENTRY(struct rte_flow_item_conntrack, flags)), + .call = parse_vc, }, [ITEM_PORT_REPRESENTOR] = { .name = "port_representor", -- 2.25.1