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 5F1D944183; Fri, 7 Jun 2024 16:03:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB42342DA1; Fri, 7 Jun 2024 16:03:00 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2078.outbound.protection.outlook.com [40.107.243.78]) by mails.dpdk.org (Postfix) with ESMTP id E310F42DA3; Fri, 7 Jun 2024 16:02:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g5wzJkoGUW2FendqgfdSmPjRMs7xv3Y1mPtvZXHMHkyrcqouH1RxdaZOoY3NFjaNLloT2FfTf5eemPDQFkb4nREYrwSAFq6dqU5JHSsdCehaiN1FaS8rPLlUlQKaYQeV0vdEHX/Ff+TmhSog4uWOTlxDxbwd5uPNrwJoixMtIpJ24NsHjI3F7ls7pUmx3vbLHMWnupoo/yki+cFphFYgcB3cal0FqlU1M6X0Q/6Vm16twC+p+Q+tRd2JMCQonSGMbXKeeqTatU7/OJZY3fmk+OpLvEbddW5MJJLtvl9xWbvumcPpeQ+JDVmrqoKxbBTRJF8iOCmnh9XvCdUk36u1ag== 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=e/NDEoD4NWXrsJzBZa/1e+f/iuv+2Rk1RtsWNHGIjL/v43w9FaD4JJ5F6C/hay0d+WDSYtn2MFjfKp+pmSqTPpREDqoepTXEnFuWjB/w6DTUW7c0X38mpFHHlI+wERDyIgoSKz/UYEOHjhA7xxGbs3WJx0J3bB3RMfZy2fAxdwT9Q9kNKPkNM/nrZHfA8IhmDDoo2FDNj+/rWh3JWezPsYlf/bDo4At0l7R8nm0wWzIHZg/spBHPBysb7dR60pOL9Qw4v1ReYvyEZDMhO/ASz2RtfTPXo70XghEpkwJSLpeLcuOi972SwWwAvqEkILATyWnU2iykX4XkyZ5O4RuOZw== 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=VqdQ0y3Lpgu+OTUdd99udr4gNGie0e43590RpVWXyhmJ3wbxG2wCPNdXlUGsNnDqQWnF7T1D7POu54iQ8kKy2GH/goG1bpdNBAyVLPAvxG4V0cEZG3kxJnxvnYNyz8IhYi0CT1iSGRnmFhKdupm27VLGRrmGxnMQ6036OMPKRq+LvC39S6R4spg9pLyGDYoyTuLnlNSPenvITliXQkExY3Sogvi8r4wQW6lVjuKqTdS0a6/jHQZFj/ZHzMp6kiZv7BB7JHxCeI7iLYrlsQvss69fY/u2MmrZhg9HlyjfPIJWl8u7lB+p9uJpD+GyfEEDBkadsyfq7tuer2uja9CoGw== Received: from BL1PR13CA0157.namprd13.prod.outlook.com (2603:10b6:208:2bd::12) by MN0PR12MB5835.namprd12.prod.outlook.com (2603:10b6:208:37a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.22; Fri, 7 Jun 2024 14:02:55 +0000 Received: from BN3PEPF0000B06F.namprd21.prod.outlook.com (2603:10b6:208:2bd:cafe::77) by BL1PR13CA0157.outlook.office365.com (2603:10b6:208:2bd::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.14 via Frontend Transport; Fri, 7 Jun 2024 14:02:55 +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 BN3PEPF0000B06F.mail.protection.outlook.com (10.167.243.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.0 via Frontend Transport; Fri, 7 Jun 2024 14:02:54 +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; Fri, 7 Jun 2024 07:02:28 -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; Fri, 7 Jun 2024 07:02:24 -0700 From: Rongwei Liu To: , , , , , CC: , , Dariusz Sosnowski , Aman Singh , Yuying Zhang , Ferruh Yigit Subject: [PATCH v8 1/3] app/testpmd: fix the testpmd field string sequence Date: Fri, 7 Jun 2024 17:02:06 +0300 Message-ID: <20240607140208.315235-2-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240607140208.315235-1-rongweil@nvidia.com> References: <2909053.FA0FI3ke8A@thomas> <20240607140208.315235-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: 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: BN3PEPF0000B06F:EE_|MN0PR12MB5835:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d966200-30e3-4911-3a39-08dc86fa8750 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|36860700004|82310400017|1800799015; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?VB+FJ/BTSopNk6eQWEKScm4CaARfBRFyZSSTMZf3yMsfBT4QYPzHX+6dhPNH?= =?us-ascii?Q?12M+CCRg6kajz0mtqx1tXE33qzM8FEJdHyZkeEgqb5/7QGYDaI9sx1H/yen6?= =?us-ascii?Q?UshVuF+vSrF2NUxwWf4ovgDfBV/uJFN1D387IDCwnHxY0aYMWfrXv8ayx/KE?= =?us-ascii?Q?AtohQ/3huXSBy7xQhdRbYaC7SjIniil6yFHr/XAad3vSno9drzUG2IRaUXKI?= =?us-ascii?Q?hskMDulboqvuKKY/PHajHeN8THG9siq8hBFzB31nNGagginmAFac8fB3FD+x?= =?us-ascii?Q?c9x865MjUcj0HbH++PDxuFKpS8ovhHsmdnnbxMFBDDQfh5mEBFj+U6SgLLmg?= =?us-ascii?Q?6KI5bCOimHSyQa6H8OdHjzaUzzH8Q6piw+wjmVa0B/NAr11WCChCAZ7hkF0h?= =?us-ascii?Q?9XvOICNKyKK2BL5fsT3wFklFt/sDKY7F4JgGJnm477ceepWU7P+c1aquaO1C?= =?us-ascii?Q?Sby0xcXu/J2PS2VUSo37ui6OlJTgAVcgv7b+dD2rONjtF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yjW7usjerz9T0q0A+lQ4sGOlA=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)(376005)(36860700004)(82310400017)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2024 14:02:54.7864 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d966200-30e3-4911-3a39-08dc86fa8750 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: BN3PEPF0000B06F.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5835 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