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 D7697440DA; Mon, 27 May 2024 04:48:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB06840648; Mon, 27 May 2024 04:47:58 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2068.outbound.protection.outlook.com [40.107.236.68]) by mails.dpdk.org (Postfix) with ESMTP id C1CD2402E9; Mon, 27 May 2024 04:47:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bADnveSa39lPYlz+ipOFJ8qkpcQll5m02s+V055OI1zvoAD6eCSf/i5nmZzMnyHcq5Zj0z882RhXnYBTLLjFHrBu6OMDplUetxb5Y6mgNyCgex5VfVD1cq4Bv4uPnXEa1TWwQZl324NyVMgibq61U1T+DaOhL9xJdr/n2AMfaQRae053/w73Mf5bjkkM7Fd4XFu+Eqr/Nj2BXcqbfnSC+D7SyARjXVAw7UHFOqvEuLkkGiygkoiV2jWMMjIChQJCw6psDNIPEKgxqza9Hq1Sw5ecDaqo2NxuZ5XDHbyPwoep04CPnRz5D8n0cgKVZPu3+K1V4feA4L2dK7m89Q1/sQ== 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=SDPxc7KIEGztZRtQtT5dulNXCrFEheECd84gIAahksM=; b=NH3WHrgqt43cazu/CGMcZebhiVoUp9ahdlhWXH0gY0bCoLIb1rEVWvGCcvo86Y8ruhr3LmtvdAzwUhhs/6M64iUROgD3RqvFWr4kqqCtYZfEGda2zWnb9rDHjcW/9LexDYSQDbHyHcdR/Ph7bB7tN9sDnr4EuJrnZtfnGZ9U/6kvKSN+zMAlqmy6z4J+j+xG8+gjhTwCpqDfC893cC0cFpkhwvLmRYN8pcBVdIz2R7N3B3PIlscXzSc5bsu3hNXWwEh2FCAqQqG4TmvXZgEC4oKvkftB0twKAB3+AL+Rmp7grv4Ud3XYRabDHlDZJG3SWVeBOd8zRA1e2tubC/iwqA== 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=SDPxc7KIEGztZRtQtT5dulNXCrFEheECd84gIAahksM=; b=EPWSR4nKb0QknWBYGelnqHoNmH9doUJO/gjZMXhokVcqen4fl/naFPlhNwWfOl6RmRqD6nkdIfSbYkbDqB88zipELdF2iKad31owWl2xPhK+2uUUGmEbqs6eKFBc/hKJrrkpN4ggJteOlIstTWUKEn5GbuIvWg34VgTEDyEgnf4SsqfuJfRqg+mYCflZN2RtVqkn3L/6NDlJslTkPB0NfPCzE8NHUNY+7pN+AGJ56vNB5t9oT+dhyUUsxRiAI19qAQwJuTrXouvT7vhDr8I9p+b56g1UIxDJ6n1G5SiJR1yfvaA1F7U0gotGjUXAtwpMBQM8B3pIT0EccBiDofibKQ== Received: from PH1PEPF0001330B.namprd07.prod.outlook.com (2603:10b6:518:1::1a) by BL3PR12MB6403.namprd12.prod.outlook.com (2603:10b6:208:3b3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.28; Mon, 27 May 2024 02:47:54 +0000 Received: from CY4PEPF0000EE3D.namprd03.prod.outlook.com (2a01:111:f403:f913::) by PH1PEPF0001330B.outlook.office365.com (2603:1036:903:47::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29 via Frontend Transport; Mon, 27 May 2024 02:47:53 +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 CY4PEPF0000EE3D.mail.protection.outlook.com (10.167.242.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Mon, 27 May 2024 02:47:53 +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; Sun, 26 May 2024 19:47:39 -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; Sun, 26 May 2024 19:47:35 -0700 From: Rongwei Liu To: , , , , , CC: , , Aman Singh , Yuying Zhang , "Ferruh Yigit" , Dariusz Sosnowski Subject: [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence Date: Mon, 27 May 2024 05:47:17 +0300 Message-ID: <20240527024720.1099161-2-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20240527024720.1099161-1-rongweil@nvidia.com> References: <20240527024720.1099161-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: CY4PEPF0000EE3D:EE_|BL3PR12MB6403:EE_ X-MS-Office365-Filtering-Correlation-Id: 251f1f3c-f769-453d-79d6-08dc7df7681e 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|82310400017|376005|36860700004; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?RXcSi7ggq/Wzcev/fAt8vf8bHdx4GQPhwBZTdhoW+39zhp68VtZHhZOUxOEv?= =?us-ascii?Q?/s1gzXjXZ3GuEuQ2p9Xy7nUGKccQDrcl0tCPnp9Fj5FdImSiPUt8KQziTIMn?= =?us-ascii?Q?uziPYnfYFQmT9NjsPKkHOv80wwxS/8yrRlbHAuztpMA2dYxCHfRgE4uCfs6f?= =?us-ascii?Q?3XisEkwSz6mXlh6tyQDvU+zqxC049xkOnY7w9OEfTFsIyZqQM53M8dmnB6GS?= =?us-ascii?Q?ENff+U5y/Mlsg5WglpjsP84xGrrqm0W2jYugpEv+sI3AGh0d042XxzbkJsQ6?= =?us-ascii?Q?/1hmhwjstxSRX1WxAVDNZlIvXIonbvGwd6z5gJqFgjf7cLcwWDyNOOKH75Nm?= =?us-ascii?Q?odtRWCgz2eVQROSGjDpi8tv7t2wrDw/OUZHz1cb0KY4+QJCYqPmYbh18bZ3F?= =?us-ascii?Q?zf+ry2lXszQjamRBVqa74ld7iPi+kd8ipeRy3+ZYxVCSqglH3Lzhxc7NOaOW?= =?us-ascii?Q?Z7ex3sx0jfP0A/eWzOsOxVHOHFeAMfhcV9gzJySFF5MDBYGGZGsY+xhM63Mu?= =?us-ascii?Q?+wm3AXFw2K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P: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)(1800799015)(82310400017)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2024 02:47:53.5739 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 251f1f3c-f769-453d-79d6-08dc7df7681e 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: CY4PEPF0000EE3D.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6403 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 --- 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