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 958B144153 for ; Tue, 4 Jun 2024 14:39:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D47C4374B; Tue, 4 Jun 2024 14:39:29 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2049.outbound.protection.outlook.com [40.107.95.49]) by mails.dpdk.org (Postfix) with ESMTP id C0C5843740; Tue, 4 Jun 2024 14:39:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jONJe8Oym2tkHazkYOCuHtLOK+kHfwgBT/NHk0JVi5KGpHwjaLj6no5DiD7E23b1g6DZvvIaVfkLG22Ci6zokU/vwnLvVIcOg/wQtOdWJuWkpmI7Zx+OjkaeYeoDMdfiTdKtiyu/xlRf0uGyP1q/PFi62DZ2Jf9CsdaaRf6HHfgaSqXswzSTPJIaqdxp77wgMbBLtwbnYt2cbt/VIuf0keEWblHGsc+0iBqD2RDZTFFzPT/i8T0CVZSNB7gz+ucceR7XrpWWUr7aqc/yXX7NrVYmYQLUB+EAlwTI/lyh3B+epaOXlyL9YepQ9TeocrzuGFAW5oOGcdUXV4z1LDh/KA== 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=BKPRz//IBb/wsJGy21J9Sfk0ld5uXddLAOuIUKrtuunkrq6GFJQ768RJF7fWVEvor4+HFvkxjmMAdUGJSf9N61eEfi5pkmorkVAwnvYctSBYahk2UqeQvYMTnyUKuRWbBEYGilFrN/AxLrN7sKG5x4bHYDbYNhnDll/5pWAZjkmSBofn/5irQHE/1HlCpsqo6uRuFW/H5Tz5FLpnTVAJ5BaPIN087KWk+naPJu3TYqY9hEEq56A56j7BCX7UfU9VONIZ7kzTFx/wHQB49aU4TGSFhUD+N8Gj3tZ0u5CKC0GRyw3yusWQat8wrfDWMs+2TLzHBTenAQiKUre8aJ1RhA== 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=j2vlD8afvMYlGYiw2WYkNlQ68oOGHTRmXnBq3ly4otJLSxwNCjPUxHP6j3uA+LSHJIMoyFC8mjQ7kgxMWl7DJOlG7NI0uEnEaimnPPm1vfrIUu5SkkNoQNNmG4YlkcW9/xW/QOBiiM3siUJGr7O46u7HVFebA0sMkOpuuIAp8HMzHKCf036ER4ueTXdyN9iRdJkag8Qzw/j3GoxeVQ9BLatJaKqpq9L2h+FRpl+rdQb8HEcQVRCyTKtTjm/GFQdmBjpeWrwAKl5S34Mf2mFWlvk96QPaAKIYWzJYjUNZa3lHhdb7iHwB/WHCWJSKQ4Ya2LFA70oMp0KXEcNcBeAt1A== Received: from SJ0PR03CA0210.namprd03.prod.outlook.com (2603:10b6:a03:2ef::35) by MN0PR12MB5883.namprd12.prod.outlook.com (2603:10b6:208:37b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.24; Tue, 4 Jun 2024 12:39:20 +0000 Received: from CO1PEPF000042AB.namprd03.prod.outlook.com (2603:10b6:a03:2ef:cafe::fe) by SJ0PR03CA0210.outlook.office365.com (2603:10b6:a03:2ef::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.30 via Frontend Transport; Tue, 4 Jun 2024 12:39:19 +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 CO1PEPF000042AB.mail.protection.outlook.com (10.167.243.40) 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:39:19 +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:38:59 -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:38:56 -0700 From: Rongwei Liu To: , , , , , CC: , , Dariusz Sosnowski , Aman Singh , Yuying Zhang , Ferruh Yigit Subject: [PATCH v4 1/3] app/testpmd: fix the testpmd field string sequence Date: Tue, 4 Jun 2024 15:38:37 +0300 Message-ID: <20240604123840.432044-2-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240604123840.432044-1-rongweil@nvidia.com> References: <14937324.O6BkTfRZtg@thomas> <20240604123840.432044-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: CO1PEPF000042AB:EE_|MN0PR12MB5883:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c66f28c-12a2-4845-e241-08dc84935a94 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|82310400017|376005|36860700004|1800799015; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?a05k7JL/RMtqYh2/I1qK7rQEEEz3xO5+gWqQsmqK4eL1DpQf8IzhJmtvBVj+?= =?us-ascii?Q?LBYV2f1RkwR4taIACNAXs9L3ttxwu2fNULBSzDO92iBwRgEPDyHdrUu0P0vp?= =?us-ascii?Q?jBhKB5XUsMJ4wNdw8xxD+qShgdVcsElVPXi8LHz69uP8ocleLgPr5PudvdZM?= =?us-ascii?Q?Ff08D4RSUra0+lgFqAIwNGvYhgB6gH675d3/43h4bfOTx77WaY/U6ZufNsgn?= =?us-ascii?Q?d3S81T1WXd3aNW+lfusWEI0y8w/0gwDXnqGF2o8ekyZVvlvS/H6lxOIXqBL6?= =?us-ascii?Q?ezDjevcdt1Brm7j69nHriwv2/DeO/Q3rH0xtnqpZ/Xm2b1K+GFvfb1HiCskM?= =?us-ascii?Q?2WVfEavKm2vBjIugB+9gqmkZMJCsUTFtDdzc4dyW7c8wQMNQ8wsAo9LF5twY?= =?us-ascii?Q?qnwuHsa6q4njXyamyjumlrVloCX8E6bJTITUKcVex0U+XsThyqjNetgsuAl+?= =?us-ascii?Q?4d2iGa6RCgqoNnYp12gX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176?= =?us-ascii?Q?jmskrAX5fUTw8DElijezeWVkDv30?= 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)(82310400017)(376005)(36860700004)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 12:39:19.1877 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c66f28c-12a2-4845-e241-08dc84935a94 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: CO1PEPF000042AB.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5883 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 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