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 868304414C; Wed, 5 Jun 2024 15:05:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13EED40A77; Wed, 5 Jun 2024 15:05:10 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2085.outbound.protection.outlook.com [40.107.236.85]) by mails.dpdk.org (Postfix) with ESMTP id 2E24E40A77; Wed, 5 Jun 2024 15:05:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gjFdafkHGHs/jp51uPKsEy7b4eWPviuEPxP0Nq2dE5lh3eLdWjS2X6XYaknrEKztGcLHqV6vito2rxg6kdGqtz589eO5rhbKHT/vUdJdG9S4MZAWXtxa0nMlrfZ/jug6heg7CPk00DCTEIiE6bWJtUThjbsis9PC+wTXDM95EWnDfW0r7iCNXa8fZJaxGswhUTchoHc51r2/T+zvvi+4WUcgYOtgVUoX6fGfOo4+mlezEWWaMkiIwsMj66WUamdtNh5962n/E5mggNxzXveQwHmxDXERg3Amot2xuQZRhUjfYtTbeC4F+HdvKqOQM7ugUT5opMkfBaAvn6hTfUEODQ== 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=n557x0w22OsHy0CRO/x7TjAznF+yg1dKmJw7NfgYzdqMAb9skId6MKACVKeSpwSVex9IPzoNBq8DvsBZ1Uk/bQkGHWtKaBSOIS63MEEIyCfTxq5b1sHdUQj4wu99dRFTKOC9xUf2W6kAuARELUobYNbUxprZ367keogBDFAnVTQJj7WNSLbKUeN7fVrQjxpOA19immsXQvKwDSPZWnKCWnuEel/FaoQvAbU7J5+GW8g0/uMwAZcEeYNTEXr267GbhpKM2UdBtI3NaHlcdIRfE0adEMzXGkrRRYyJssYrr21bHB++nqvDqlRH+rmo8n7+tPetp3NIJ30/Hf7CR/+KYA== 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=WdaViioUDg1zDux9AEZZnvN93SbtZFPsd4q4cAOmOuFx69KY0oj6pRO59O23xu6E9FkI1dsOxxu1z/dV4bA8Y0KBJPZjAF/w5Dty4sE8skPjVbv0mtHgkFblAPPNLqID1Qzl+YWFP4HafgJAnmhSz77txaZKC/Y0NcltxwczmHkQJQwDoR4hSVr5HeMpD/9FKtGGyL3vNAwy9rOpTG64YL+1/PNWHeNpbTVAuDwSwTC1oogvzFRsvbjizbQiygNf8cLD2FLX7vwfsvGcI9Q9GpWgHb2RqqZvgXUyr0cMfMs0fnEBv0VpGbPdX+fh3iF1koxm3dJch6HUGskBkuZbjg== Received: from CH0PR03CA0251.namprd03.prod.outlook.com (2603:10b6:610:e5::16) by PH8PR12MB7136.namprd12.prod.outlook.com (2603:10b6:510:22b::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.19; Wed, 5 Jun 2024 13:05:05 +0000 Received: from CH3PEPF0000000A.namprd04.prod.outlook.com (2603:10b6:610:e5:cafe::b5) by CH0PR03CA0251.outlook.office365.com (2603:10b6:610:e5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31 via Frontend Transport; Wed, 5 Jun 2024 13:05:05 +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 CH3PEPF0000000A.mail.protection.outlook.com (10.167.244.37) 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 13:05:05 +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 06:04:42 -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 06:04:38 -0700 From: Rongwei Liu To: , , , , , CC: , , Dariusz Sosnowski , Aman Singh , Yuying Zhang , Ferruh Yigit Subject: [PATCH v7 1/3] app/testpmd: fix the testpmd field string sequence Date: Wed, 5 Jun 2024 16:04:17 +0300 Message-ID: <20240605130419.145311-2-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240605130419.145311-1-rongweil@nvidia.com> References: <1771398.K4a6FZZPjd@thomas> <20240605130419.145311-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: 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: CH3PEPF0000000A:EE_|PH8PR12MB7136:EE_ X-MS-Office365-Filtering-Correlation-Id: faa56697-fbe4-4085-fa48-08dc85601e5d 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|36860700004|376005|1800799015; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?7HVWyAvvQWN5r39y4LvscIPBTwRBwiCb5/TjdOuJBKH4r1z7PZapCooCgyTm?= =?us-ascii?Q?Se0fawTDw57JBitqZ5UhfBKPqw5diierlrsSiMAUQLeYIgVHsxKvUnm+iU1x?= =?us-ascii?Q?LSUNtkSGmWrLW3WvXdFSnnSkKyvD7Zbp/00zo6WsbyfaBoAHO4HGKAgioqJX?= =?us-ascii?Q?s4ZDSFdUxhYGM+qHCkhtmgRGtP7XELpZUmwpWkqW2Iu+JtlaVIPvx/LKRDc5?= =?us-ascii?Q?KTXSd18ljQBrQ6w/pGEk8j+k0wOdJAejCyon6lM1/u5xXjyZCVjQoM4vSzDF?= =?us-ascii?Q?ZBosWeSu/Rvnbv0SKiyhL0Tyk0hVmlQFIsdrYuw+Eax9PlIOY0FTpFus1jfr?= =?us-ascii?Q?uamaYI09xLzO/NmVsqhIW6cufaDLoip2Tdk2l3GrUnkSTJUaLvgouswfqIY5?= =?us-ascii?Q?Z/66RzA7xH5Ju6bxL2yCBZEbBQpaYX9xJyUevLlFUNZZUqqL4o1aaq1QQiIY?= =?us-ascii?Q?RjyFjFI/PgXzguBDUr9skbZ/o334G8ulTkpdE7OHFIuIvJE7IntkGutBf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nan7csdoY/OMML9YBM1O/uBEoQAA=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)(82310400017)(36860700004)(376005)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 13:05:05.0722 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: faa56697-fbe4-4085-fa48-08dc85601e5d 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: CH3PEPF0000000A.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7136 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