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 6BA7D44153; Tue, 4 Jun 2024 14:15:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1351B436CF; Tue, 4 Jun 2024 14:15:51 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2072.outbound.protection.outlook.com [40.107.94.72]) by mails.dpdk.org (Postfix) with ESMTP id BB72243697; Tue, 4 Jun 2024 14:15:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YTzePF6o93IFvnUcTIUq6RWGR88vojWZPTwOT+dxu8bIDujlK7KiTm5SlSPtsHG/p3A8+jOkR4UuVqJlGJCo7FbC/GnzlqmLDP/QNwJQAQ+9ODDhfbmvvXUhyDjwXjp0fy14ZnF4jLRAV4uRLLwiEy1atFbQ8yHVkgRL8jXdXlmV8R8iHjpzeP8Rhp/2IZKe+ONw4wpfjmpev++7PD2E1mdR0HKSOVOrgODf/fWOQQSBGDVahy6LUhQQBlo6d/vl47ZgryciCynL6UAOZ3c2E5IOlVkhWZ72+GPKPX114nFpsttBbRdn+sgSWBB8FVY6WTrgxoRWSV5s63duLj3Fdw== 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=GfOh1ll1CHXqyRNrGq8lFpCRkgghWGkVvoUFLgg4cEkSxpXLXk3n2y0GqHRFuTSvUsNaGOOpu0OzcMpjSe7uDT2x9OmD476l7lOMCK25ty69Tm1W+0UuOdJzUwCiWvP5h75+C6Pqnz+gnnYtBFh8QLFsWeP322XH49fuLqCoe511vah3AFB2nloSxqVFyPRRNY5t7NaGjGzU71jRdJd6aeAgek15cVSrZcbvW77FiOeL+kLJxJ6F3Thq/kxdGW/AJ1aFpvJ04zfa/TSfTLEmAqyA2uI0xSdR/A5KW9fYkj4VGo+/H5V6U0Ypps0QpJ90ZA72k9z3cT890aBFWHb6xQ== 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=ZZzCBkdQDsxTzYwFbTv8CLQ3c0rFum2W73eqti3mRmDrNabN/9eJTq/wcGWg4DdUZ+0bBCg9b8AJ6FcSls7bsKnnpjWhHVQkxjCcVhLrxmdC7IKJVTxorB/qOIWFKSFbb7EMTszPQ79TAGRn2mkrTvIy+03r3UfDDnIIKXhos5x0GlVzH1LR8rqmdFq1iKenVq0GERbT/oTiJlAasWRkqUiuZaRE0Ro9lSA9TQVuV/G8fT0iBPGuXRcqhNoyO5WTLN2OPD9rQuVRBPl2oxE5L1KDQrV59T6KK4ym0CpeUvcugSn1EUQc3udgFPkgGUofQsvYBZV7tYTlCa1lZ27hgg== Received: from CYXPR03CA0054.namprd03.prod.outlook.com (2603:10b6:930:d1::24) by IA1PR12MB8080.namprd12.prod.outlook.com (2603:10b6:208:3fd::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Tue, 4 Jun 2024 12:15:45 +0000 Received: from CY4PEPF0000FCBF.namprd03.prod.outlook.com (2603:10b6:930:d1:cafe::18) by CYXPR03CA0054.outlook.office365.com (2603:10b6:930:d1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.29 via Frontend Transport; Tue, 4 Jun 2024 12:15:45 +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 CY4PEPF0000FCBF.mail.protection.outlook.com (10.167.242.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Tue, 4 Jun 2024 12:15:45 +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; Tue, 4 Jun 2024 05:15:26 -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; Tue, 4 Jun 2024 05:15:23 -0700 From: Rongwei Liu To: , , , , , CC: , , Dariusz Sosnowski , Aman Singh , Yuying Zhang , Ferruh Yigit Subject: [PATCH v3 1/3] app/testpmd: fix the testpmd field string sequence Date: Tue, 4 Jun 2024 15:15:00 +0300 Message-ID: <20240604121502.376102-2-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240604121502.376102-1-rongweil@nvidia.com> References: <2585221.otXNkdZ6W1@thomas> <20240604121502.376102-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: CY4PEPF0000FCBF:EE_|IA1PR12MB8080:EE_ X-MS-Office365-Filtering-Correlation-Id: 27db6efe-ed3c-4a4b-d9d5-08dc84900fee 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?K9+vuwlVZFkU9XZTer54kfxE6EEF88SxsXTLIlXtNrIaskXMBa+Z14zW7nJ1?= =?us-ascii?Q?WnEUXfHT2sU6KiMKeuewsOSrzWLsPPnoH16iL+OKMVwknoQBVb2NJv3jf3ma?= =?us-ascii?Q?DDlSWjqBvada+XyPRcid70UjaH713dSiVJSybfKYeXRhIurzoWVFaKfHKsfh?= =?us-ascii?Q?29ahWFh1WFnRWOANOMCcLLlYg7DdxTZb6Qg8VRPiOIJc9ymkGY+SwO3OC/GO?= =?us-ascii?Q?iA0alpNRk9PoQaoYXPRw8KPUef7gRfLyU9OUKAWl8J/1x43NxF6ObwN605OE?= =?us-ascii?Q?xjsz3A5KdE8PsnneTbNOlOCaBZ0EuOUI/2/SiPPPPf/nssV2rkMPeC6PP/ZU?= =?us-ascii?Q?qj41xLsTR2lfEsP+s5yB6TW6MIs2sb50OPqNfm2oxREWGUPtSP2KzdUTulT7?= =?us-ascii?Q?rNqVVFY6DBQXUJnkQH1UVYzDIuHe/bKfCH0oSExUqzNcv1DKx/szX5h621LX?= =?us-ascii?Q?OlHcBgGHib7RkPDNy4TpjbfP8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vBUagekZVJjqeg7KZ+PCjQNy?= 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)(1800799015)(376005)(36860700004)(82310400017); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 12:15:45.5830 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 27db6efe-ed3c-4a4b-d9d5-08dc84900fee 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: CY4PEPF0000FCBF.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8080 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