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 20BDB4415C; Wed, 5 Jun 2024 10:41:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6969C40A79; Wed, 5 Jun 2024 10:41:49 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2064.outbound.protection.outlook.com [40.107.236.64]) by mails.dpdk.org (Postfix) with ESMTP id 14F45402DC; Wed, 5 Jun 2024 10:41:47 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gHth8kLeACvsz7tB0R6+TiKBjb6LEn/SD0+rIRShrXL4s11K0r0UNSXrQoGBJKIwzox3uacuX0hCq3eMbsXpN3ZsUG+XdyJqlVl4qUWat8uC+LhaGWEYJLrSOLCQL3j4YBg/n0+NEAoelQOqC4wOKobo6uAaU0YHhB8gEMoPw7EhEJJ89U329c0G0rOl8j3txOFMyhAKxAzHZ38akO3QbgY32GHacSM6r+C+8IUSpDofHoRRbq2YYCFzwShbUC4qBmjXSMmN+ckVc9XczeYBK8910VLn4+kLD0yB8HLMJSVmDRCvLj0JMT9Kgk1ArS6f4BlgHArDLDhyOLj12YM0pA== 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=PnJe5TTSMQ8VBDXYgA1Tr5bJEFBbBS5+FYEivOwKdcw=; b=VTF4eSt66Tjos7VcWW+08XxWa9IxtyYD6nzuhE3eYu7r1MtcLG930nZyzoh63fJYUkNP3f1dWGJhx8w6KLYhr0JD3XWuCFeFz4duZgu9eQ3Z4JSHUQZH3rJUQCurJm5WbQOEPiVKxmU4PL4u+zAzTJqpaMedBXGejgEZ+qCpNnyZz9kqnDMs61o7FokwexHC1E8NGeQh1M0dpJv/aBmGWOHPMMbxfxna45rH2A9/EtrZgd2+lO2MAL/43mAeBPMgrQc6kdvEUrBqUuEqPHzHS97xmuRe7NCLud+R5Jon8NXMtBwx3N/ZNnJVngyO91YlgA8WH5RuCHRFgt5Tu/hb4Q== 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=PnJe5TTSMQ8VBDXYgA1Tr5bJEFBbBS5+FYEivOwKdcw=; b=t+VdUkSyOBu2QXtz03t6rA04sthZY9EQiVc7/THzp9kmBWm9GV+OAX2+egXoQ0FFGykOC3A6PvmhIvzm7T63EzQg+OHjmROnNZ3r9e3a533TdxswYAGuZo1B5qs+S15zY/H684DSgDADotJL5VR3D+44KUx6QVpk7NIbT6lTzibIZbiESFhwWaO0RQp3wFI2clHKfa3CC/hYEOKo0CyEl8Z0BbQYmZ+M9o3zKSwA/gd/EmwqbaD1sRYxCpua0ws6x5aH0DBtdtQMQUvAl5tq++jU7hQJkdCGid8QNSXzW0PFZmwCbngYyiVyMGbWfCrcE6okSGsALKv5jIvwDBeR7A== Received: from SA0PR11CA0146.namprd11.prod.outlook.com (2603:10b6:806:131::31) by SN7PR12MB7275.namprd12.prod.outlook.com (2603:10b6:806:2ae::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.22; Wed, 5 Jun 2024 08:41:44 +0000 Received: from SN1PEPF00026369.namprd02.prod.outlook.com (2603:10b6:806:131:cafe::de) by SA0PR11CA0146.outlook.office365.com (2603:10b6:806:131::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.30 via Frontend Transport; Wed, 5 Jun 2024 08:41: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 SN1PEPF00026369.mail.protection.outlook.com (10.167.241.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Wed, 5 Jun 2024 08:41:44 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Wed, 5 Jun 2024 01:41:35 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 5 Jun 2024 01:41:31 -0700 From: Rongwei Liu To: , , , , , CC: , , Dariusz Sosnowski , Aman Singh , Yuying Zhang , Ferruh Yigit Subject: [PATCH v5 1/3] app/testpmd: fix the testpmd field string sequence Date: Wed, 5 Jun 2024 11:41:09 +0300 Message-ID: <20240605084111.87359-2-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240605084111.87359-1-rongweil@nvidia.com> References: <6114865.NeCsiYhmir@thomas> <20240605084111.87359-1-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF00026369:EE_|SN7PR12MB7275:EE_ X-MS-Office365-Filtering-Correlation-Id: cddca8d8-a414-443a-b4a5-08dc853b5473 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; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?0rgmAVIHhBeCJm0nwjfDj/UeFSYZISjPvcZfwWKei5mQCdFAnl2lRjCcSoiZ?= =?us-ascii?Q?XFfYzCX0FGOumD9esYcptO76YPNy1c5pEe8jyTLyj1CcF8/7RprgeEs2GwbL?= =?us-ascii?Q?+fzE7F0N5UGj6Ft5VwiQ+voDVo/70m9jQoBHw6BVFD8e5jf6SVBCbQ+SBPpA?= =?us-ascii?Q?82I0Mxy3nbh7AycCBCDvA5GPoH8Vurak5sj/NXMFIFuMYtg3wqxChjNKta/l?= =?us-ascii?Q?Bi5q5I8t7Ai9tnK3jLtqjlKIFfN2bnxKI4eIBsUwl0hOnoixG34O/VH3twgh?= =?us-ascii?Q?2UG2Xj+7HzPicX5gNI7nv54+7OrpDyuvM5q742wMYaUNZpVzstFQues8eJy0?= =?us-ascii?Q?Z4YAxe7HViVmjmwmcRaAT/DW8zq8kpKqyXXYK1PWa6LMkK8LFChrIfpvNKuX?= =?us-ascii?Q?nD4DCnYQ/xY6BJybqeejnbhmwE/Pg1YYQp5EFstjeR+0XzAjI1+2f4wB9l1U?= =?us-ascii?Q?vCECB32a5UEfV0gv+rGaPNYu1HceH5BvDLn9+gQjO9ChbFVj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RmN5mIUjTI6URrWG7BQEHRUyqjI2WhLA=3D=3D?= 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)(376005)(36860700004)(82310400017); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 08:41:44.4326 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cddca8d8-a414-443a-b4a5-08dc853b5473 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: SN1PEPF00026369.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7275 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 The field string should be in the same order as the rte_flow_field_id enumration definitions Fixes: bfc007802 ("ethdev: allow modifying IPv6 FL and TC fields") Cc: michaelba@nvidia.com Cc: stable@dpdk.org Signed-off-by: Rongwei Liu Acked-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 60ee9337cf..775ce20fc4 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -1002,10 +1002,10 @@ static const char *const flow_field_ids[] = { "hash_result", "geneve_opt_type", "geneve_opt_class", "geneve_opt_data", "mpls", "tcp_data_off", "ipv4_ihl", "ipv4_total_len", "ipv6_payload_len", - "random", "ipv4_proto", - "esp_spi", "esp_seq_num", "esp_proto", "ipv6_flow_label", "ipv6_traffic_class", + "esp_spi", "esp_seq_num", "esp_proto", + "random", NULL }; -- 2.27.0