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 3F25E4415D; Wed, 5 Jun 2024 12:22:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F6B340A89; Wed, 5 Jun 2024 12:22:11 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2040.outbound.protection.outlook.com [40.107.96.40]) by mails.dpdk.org (Postfix) with ESMTP id F02CA402DC; Wed, 5 Jun 2024 12:22:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DRczrDGO1JoBmchS3G+Q5vf86rpBbuI8z+5BUuw7YZcNtbSlYVmATck/LW+HfjsLTRhDwijUsk5V0gWAuZExTJd7Ahj35WM6/vL6Dsxs6x/uhc4f2mwOPoBzK5GBEH1RJiqrh1Jw2VeKwx3Mr1xtJ7vpp+sFa2DJhVIi0wXLEbUtOn/U52W0Zh2LNs67Bl0i3B07fO4apTyr8AhY+68PbSvCV+scuoZow5XiJsjExRVCsgiexOoRdnsUZcnKc10488W/rEIj9otCsgXIGM3tAafpqSvQDSNyy//OqVJ1m6YrMY8dU6HOxc371qFfudaJfatxsx/26lGfF6UqyXCROA== 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=Ub0YyizSBJ4YJG6Z88obXDyBbMtiGHAHivSJWnOVYa4L4tH/Wtmp6rcuPlyQAC22R+RGESsYZLn0alveSQ0d7huc8VJ6EJp7Pq+ajcQp/AlWu70C0EIA0EG4e322Dt5zEnuV5R5Y4pflR6YN+sRs/XmZu6r0l5GylDURzRjIXLyji6Vb3INt3xIzgbONj96DtfU0wc+EHavAr1j4FzIpkYUWiY7XB2jsAof9moeefng4Am8KBPW4au1IJ7UjW3p00GvGII+z8X6UCz6yrz7429VXrfwMMTKDmIMtSP8ybmeMzgeuWRE0gd+Z+n9TlnpbRjlzpBZK5m/hOFcmdbyhig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=LJukpj1PcoZPaA23SOGy/LmnxGtCyQwiCm9BywC2gj3zIqRPgh4DVk1TQStJ3Dan/lon8KqqD73yeuJHOkCu/8iOJTLKF7s1dMsTbUlBNXRlT2p6F+jtyLbifR/2yfPF/VEF3mgYj0z53MESSIMdDELBsoBRercHMPVBpe+GxVe77iMZE4iTFAwFQiwsayy64OtMkwITAUgwDoZ/Imj2cteoqwd5KUjR7QhjH9lzoYFqES97QDM17Lq25rOtey1+45vpo5VUMJ30XewK8VkSgTie5y8rJGM7tUBSz49WOM+tT1b/APuUQPXXe1ncBD9Enhxbgoq651tPnlXyvoVn5g== Received: from SJ0PR03CA0111.namprd03.prod.outlook.com (2603:10b6:a03:333::26) by BY5PR12MB4049.namprd12.prod.outlook.com (2603:10b6:a03:201::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.32; Wed, 5 Jun 2024 10:22:06 +0000 Received: from SJ5PEPF000001EA.namprd05.prod.outlook.com (2603:10b6:a03:333:cafe::40) by SJ0PR03CA0111.outlook.office365.com (2603:10b6:a03:333::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.28 via Frontend Transport; Wed, 5 Jun 2024 10:22:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF000001EA.mail.protection.outlook.com (10.167.242.198) 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 10:22:06 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) 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 03:21:55 -0700 Received: from nvidia.com (10.126.231.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 03:21:51 -0700 From: Rongwei Liu To: , , , , , CC: , , Dariusz Sosnowski , Aman Singh , Yuying Zhang , Ferruh Yigit Subject: [PATCH v6 1/4] app/testpmd: fix the testpmd field string sequence Date: Wed, 5 Jun 2024 13:21:33 +0300 Message-ID: <20240605102136.117614-2-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240605102136.117614-1-rongweil@nvidia.com> References: <6203165.YiXZdWvhHV@thomas> <20240605102136.117614-1-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001EA:EE_|BY5PR12MB4049:EE_ X-MS-Office365-Filtering-Correlation-Id: 17c0259e-7fe1-4d46-c5e2-08dc854959b8 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|376005|1800799015|36860700004|82310400017; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?uCnVly+feOUR/fOsMJNToEw866ZrqMyWHT1MZ49pRCEQATCk2u1mQ5q2idhU?= =?us-ascii?Q?/gsEmQ5Ih6aierYejCWzsRefxOlD/r1H+iezT8igP69bvFBLTkz1TL9T0vqm?= =?us-ascii?Q?S58hCzW/aJoA5E0sYa519tLX5/b8axo0iZNvQDjpUWlxGiQfp4V29QEjtB8+?= =?us-ascii?Q?pBF6TmRydaraSQMAe6aC6xcrte6w4+ERfNGVATBBvZOk7vX3/OeWzN4c2mYF?= =?us-ascii?Q?wst/m2pHE4Qbe5iRhXVfgmZ0tvPajSmPONR7nUzLHMxm104joBTGJUCFiarT?= =?us-ascii?Q?auQUqklPIWFMHcU7Z22kAStUdXn69RexC5MxpF/9Z7S1UkLVNhXkzSEm2olu?= =?us-ascii?Q?6cCJX1EQ6YtfcLAlQ9XRmk+vPvGq/G4jiY83hKX1XIirTEG0cFcZo1sO/gt0?= =?us-ascii?Q?Tc8IWGLE/7pqEluHkuU+Ioq0uIK/Sv8/hZGIFtvVzYY39HXbayXutmqGWLc0?= =?us-ascii?Q?9OpF2ZwmMbkIbo36O08j5KGIgZKZ09hZIest6dZNcragtDoTJrTJsJaa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wahtW76LCA=3D=3D?= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(376005)(1800799015)(36860700004)(82310400017); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 10:22:06.3687 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 17c0259e-7fe1-4d46-c5e2-08dc854959b8 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF000001EA.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4049 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