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 DF6F443A46; Wed, 7 Feb 2024 13:29:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8190642DD1; Wed, 7 Feb 2024 13:29:50 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2051.outbound.protection.outlook.com [40.107.237.51]) by mails.dpdk.org (Postfix) with ESMTP id 0B8294026E for ; Wed, 7 Feb 2024 13:29:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A3yuaSR6L/XahbLkkiHo3eJGMfbo10l5FMDNwpixI+1hce4hrQa5T/MtCaEUd8aIp+fyY19RJ34onsoyQZ1vFU5xdM3hg0hyAS1cgWE4RUYu/dVeEp9yPMqRfNy2aDj1Y9Kx1PygnV8qlJHG4mlLu/bdazMpdI5dcjosRld1Rp1fxg2P+mnYUKdaaPIEmPYrP+t+PA2QJyTaD516ob7d1p5T//wLOFwLbKNkjapMVAfEs3Z5AcjOfHbQg5Ri3YlN2tW3JsUaTWlj4Cxi1/UnRu3iBQoYIMHJyOrmsy4vdgJuus1ONOhgF793hkyuNRw023A5BJsPkF+BgsRKn21iYQ== 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=WjdRBhC/gBaNBQ6rGBkDDqeyvDrHbVJ1QdapMQdX8B8=; b=dmxpfvKkxbPz9HUdT1MnY54ObhQmRF0GFdBERIJ/bvzY8xfgRUjKwlkghXXenMtUCcMzRqILEWwo+8dhVntvkOoGVc1FsvLsCxkU5OYfdT2iU69lfmNyfd7S6vS7vIvZE58H0nMA0yPSeq2/Csp3EKSaXANRBtoYNALDCkpcBV1xClQf9F+CmKh9+3xu7ue2TyLkapt3EByT/bRmVD2tWIPY72EmmdJtcKOn14Tnv0+c5n7iTCZzEMZtq3YxqnZ40HSh8INwVeKs8NR2ygKoYhbZm5JoVZ08cXl2qBvQlZz/+hWVJtoQI/88eVJzrCLAw1Xez+qh/nAOMW7rca0JFg== 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=WjdRBhC/gBaNBQ6rGBkDDqeyvDrHbVJ1QdapMQdX8B8=; b=TG4zjdje/SwphCuUqQUDIJEmAUuRQn7d5gUowpDwsqN9aXNQroEXPnuY2/joQyVZYNjhLffOD/Q+OQ9GA4T9xXfJxGGuvcWdQ1bTwKe9E8kWEFvtlQnghu+Gn6bRTebHwcNqsu2+L7OsDpjsqUBJlITY+O3kLhstxwd3x8hEkuoHWy2fGOUEYr0NEVNiuK+YodJG1gX+PPZKh2lccgLCwJRoeSMwef1v4RE45uLs2AGw7ytQeI1/t0685WSENa4bwEdOicxe/lfu7NPQW0Cgh77CNGmeVWeA0Bx/24OCgEhEKfuBeor1Q4PwfRPpQ4GNU2ydtLnQHScWVK/3fu8WeQ== Received: from BY5PR16CA0013.namprd16.prod.outlook.com (2603:10b6:a03:1a0::26) by PH7PR12MB9203.namprd12.prod.outlook.com (2603:10b6:510:2f2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.14; Wed, 7 Feb 2024 12:29:46 +0000 Received: from DS2PEPF00003444.namprd04.prod.outlook.com (2603:10b6:a03:1a0:cafe::74) by BY5PR16CA0013.outlook.office365.com (2603:10b6:a03:1a0::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.38 via Frontend Transport; Wed, 7 Feb 2024 12:29:46 +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 DS2PEPF00003444.mail.protection.outlook.com (10.167.17.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.19 via Frontend Transport; Wed, 7 Feb 2024 12:29:46 +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.986.41; Wed, 7 Feb 2024 04:29:28 -0800 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.1258.12; Wed, 7 Feb 2024 04:29:26 -0800 From: Viacheslav Ovsiienko To: CC: , , , Subject: [PATCH v3 2/6] app/testpmd: add modify IPv4 next protocol command line Date: Wed, 7 Feb 2024 14:29:04 +0200 Message-ID: <20240207122908.20646-2-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20240207122908.20646-1-viacheslavo@nvidia.com> References: <20240207122908.20646-1-viacheslavo@nvidia.com> MIME-Version: 1.0 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: DS2PEPF00003444:EE_|PH7PR12MB9203:EE_ X-MS-Office365-Filtering-Correlation-Id: 4400c190-2f2c-4de6-47d7-08dc27d87847 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WJKqxlMdpQk1e7CSaepBmIfLUR9H2CyyuM4BMTLbwIrwRTr73FdRmwLThguouA1ZoUxuOuZI2ENlGHQr5YxRh/KJ2Rnx3GjK8kRuvtHwkBAT+2L/pBGijhQvw/jSx8bxkEMH0SVXdA7p6wUXBJFujaDjqokyi+wYyy4vcByBiGrvzHT7M2D/REhvUns9UZoho4H2OW9wuXKHDhaQe83dn4wkZUwOXM5Ha1iM5dIjIYA3c4NFiF0iSakdkOUQTdjICTg0DFUNQ7GbmjPcUsQiFABvZSADrue73ORsxSxL56D3fAxnAiN1O8Yw/CGryqqDXGB20bI+XsBgL9jHm0PcefbP1bK+zOh/MecP9s8S+xiD3UDUL8mR//qWpszi1H4RdDsepCSuZrJuVdu7ll1rbPFImcif7/Ki0u8pQYDNBLIJYfvFQ+Z9+f7rikZRLuqOX9k5XhAuKeNU7K9l53EZiZBt0+dhCqOvK1ryInGU93a0TEZi/a6Il4sw039Gbnkq7miqupPICgS9L5LPaXNwcpvbeXJvXFWbt8gyFEZJnCckLCQq1Vonb0wjpoX5O4RfEi7G9YrMm7lJ0ZzCjji0FbE+SlOAbsjtlTT5gXeDmHTt4U7+/5/TOgvY9Gg9a9Dpl+milhsa/5NGeOS0ACas0+05rIoNyDhaPJ1jWG5ljIeYzGQnMmLMd4PHvWq0FkW+AzPGmCTLCV6ubi+wC4Aj0WVPbWm+YVzrsLaA55IWglfc8Mu101FzY0d8krXDjAqU 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)(4636009)(346002)(376002)(396003)(39860400002)(136003)(230922051799003)(186009)(451199024)(1800799012)(82310400011)(64100799003)(40470700004)(36840700001)(46966006)(54906003)(336012)(6286002)(16526019)(7636003)(47076005)(26005)(107886003)(1076003)(41300700001)(2616005)(426003)(356005)(4326008)(8676002)(8936002)(2906002)(36860700001)(4744005)(316002)(5660300002)(6916009)(7696005)(70586007)(82740400003)(70206006)(478600001)(6666004)(86362001)(36756003)(40460700003)(40480700001)(55016003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 12:29:46.2561 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4400c190-2f2c-4de6-47d7-08dc27d87847 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: DS2PEPF00003444.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB9203 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 Add new modify field action type string: "ipv4_proto". Signed-off-by: Viacheslav Ovsiienko Acked-by: Ori Kam Acked-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index a4131e1b39..1b5919dd18 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -990,6 +990,7 @@ static const char *const flow_field_ids[] = { "geneve_opt_type", "geneve_opt_class", "geneve_opt_data", "mpls", "tcp_data_off", "ipv4_ihl", "ipv4_total_len", "ipv6_payload_len", "random", + "ipv4_proto", NULL }; -- 2.18.1