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 212E943A2D; Tue, 6 Feb 2024 13:18:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA6AE40FDE; Tue, 6 Feb 2024 13:18:26 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2082.outbound.protection.outlook.com [40.107.93.82]) by mails.dpdk.org (Postfix) with ESMTP id 5D46840EF1 for ; Tue, 6 Feb 2024 13:18:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kfxkVKsHsPiXa++iukXw+oGMhaWWmsBY3Z+ryJ+4w7EoKHAjTpkdbm/3SnFWV5Z5S+VPiBTQiKI1SwPy4u2VRviqT90q9O+GWyE9KKMZuQMTKd1bw4MI8VXAS94awaEX8iDvWT3X71L1wyuUbNNtuKoMriGC6kdxH1ucNP9+l/EY5qvSikXwiZ2wNk89PaGF7j1ozhwWt1mMf6ThjyrGlbiU+aEYmNLj/aoswL4e34VRiYwO6iB4nYifbfG5PeiXaBwDYTjyCS9divF/Ws/xfH4b0v8sNiBTK4IgiukD3NMXDWWzdmfB/nbndz4OeBG5MmnEarHwCPhACROLGjfj6w== 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=sdAZ35hqFuFsP0JfAXtN5BPhCRN9g4vyasNFXCS6b1M=; b=VSqwPuHRDr8eSNTwudnFJx8nlAXCDONdTLlaHqkMCXqSfpfodbLupSZYAQ+1ii2cTUdtsWEbGZCcZcU/p/2PawoeeV2Lp1ygPNAihPvkgErrzKF4f3yc6vTQR2+/S49GJ8kZEo5s25yniyS5KjCNVCBqKVq1WbanyDEUXJmVzqLgOxuaiNM0NTUxUcxNV1Ef6vP0ojmTHbtEDwES4axWcwR8+VW6Z7whYoLc35AssvSUbCiQ3vn4raNHezY89DGY5SfaINwIBRyBvPFJc+1o4e1+Owc8X3HaZ9ZAerCU1Sr0FNLSkL/dnii7mOQOZUVQZfLbPKG7vCqD9qkMdr2Www== 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=sdAZ35hqFuFsP0JfAXtN5BPhCRN9g4vyasNFXCS6b1M=; b=IEkSs7h9JKMc0msYZ7hxU/MQbjxwY5ZophktqHGKOWAL/GVlArRv371bpzw4daHiLTg9mJLnBmRT2DCIXnsFCPR7qeveeTlRUp+KncmOqYSeURQ97A/cfmCh1ebDu9nbk3xH9IkFoVvO6/lP0B64AernixPeBb8LoCt6ewGLluJxrveNuoC+dG8vnp0XTsq1IFXSes4w4IbmnC8glIePGNaiJAwC6CUD/VifLJFaZ/9qJuFe4hEyI1elyBFR8DrCx8WG3WYIpMdOk/cPMayQ7AKWvBbZ9ab+SDkBprmwAg9+VGghHvRzKuhamC2zKtUxl5x2qGGQKCWONg5NiI03Aw== Received: from BL1PR13CA0173.namprd13.prod.outlook.com (2603:10b6:208:2bd::28) by SN7PR12MB6957.namprd12.prod.outlook.com (2603:10b6:806:263::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.17; Tue, 6 Feb 2024 12:18:21 +0000 Received: from BL6PEPF0001AB58.namprd02.prod.outlook.com (2603:10b6:208:2bd:cafe::42) by BL1PR13CA0173.outlook.office365.com (2603:10b6:208:2bd::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.14 via Frontend Transport; Tue, 6 Feb 2024 12:18:21 +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 BL6PEPF0001AB58.mail.protection.outlook.com (10.167.241.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Tue, 6 Feb 2024 12:18:21 +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; Tue, 6 Feb 2024 04:18:08 -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; Tue, 6 Feb 2024 04:18:06 -0800 From: Viacheslav Ovsiienko To: CC: , , , Subject: [PATCH 5/6] app/testpmd: add modify ESP related fields command line Date: Tue, 6 Feb 2024 14:17:35 +0200 Message-ID: <20240206121736.27391-5-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20240206121736.27391-1-viacheslavo@nvidia.com> References: <20240206121736.27391-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: BL6PEPF0001AB58:EE_|SN7PR12MB6957:EE_ X-MS-Office365-Filtering-Correlation-Id: ea949d64-c932-4059-36e3-08dc270db576 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jdjcaszhCGnIjZeuv1kX0QfJErt+J8QC8dgrtoswogJZeN5OUkXKcygjh7DRJsnAZu5r3SSn8XGUoxfxn85lf0Qf1FM0nWrSr2tIGManWY9qYJrOj0ufUHNuFZfwWMFowZW+48qnT/P9iZ8cWnLUcxZKeozI3U6bac5b5YDmobkXzbM3GJx/082ioWIvSgT1HRWQY2a9qA3PNmqUZNzyVC3eE6ZROlsQUWHZJS5xaB3ytOAgFchiJN0BK8o+iscVsYO4Zrwjn0WsqC3YHAhGaciCFgoMU7ny/OyilGE+JISoaKGV/y78q1FSONQRSyuNKna0R7fv4DkOH26/sMiybCLHnHgmlVJB5qT6S3cyxvMuun4N27nB/LcDg/Dyq1eyw+jiaQYCxFbr9t9Gv9C4sm9paokfjtUHZzgAR8q74JCDI1eBM/Hq9A2X5WKu0PQdXcVrvxlFYJj8fCD/1otJaqnXzzwoT5vHMcWSM4IZdzkF6W4HHXyUWJslcw9RFR4C4HqeVnYZbBoweBFtUAQ2YPhklLeWWBb3eZXrYFF0hkfVH10fJHsL9iccNV1qXudHvvo6k+cA3SO9I8Xp7zzBurww3DgVT8SxcMI066jdBe0lI5zzk/JgvUcZxL+289IfTi/bJrYhYa4cewzMQmNCq+tXIYIJ9T/Uq4TdTX/VwmUHmX4TqFghHAGJC5xG2eM8WlBsd2hbeYtuICAtYXAZHB009P5rgdEAX+3sgvrwU7FaolDsSwBPi7wRKHsYQAhQ 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)(396003)(376002)(346002)(136003)(39860400002)(230922051799003)(82310400011)(451199024)(1800799012)(64100799003)(186009)(40470700004)(36840700001)(46966006)(5660300002)(8676002)(36756003)(6666004)(7636003)(478600001)(8936002)(70586007)(356005)(107886003)(2616005)(16526019)(4326008)(7696005)(6286002)(26005)(83380400001)(316002)(40480700001)(336012)(426003)(70206006)(54906003)(55016003)(47076005)(86362001)(2906002)(4744005)(36860700001)(1076003)(82740400003)(6916009)(40460700003)(41300700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2024 12:18:21.0218 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ea949d64-c932-4059-36e3-08dc270db576 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: BL6PEPF0001AB58.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6957 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 destination type strings: - "esp_spi", to modify Security Parameter Index field - "esp_seq_num", to modify Sequence Number field - "esp_proto", to modify next protocol field in ESP trailer Signed-off-by: Viacheslav Ovsiienko --- 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 03b418a5d8..9e1048f945 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -963,6 +963,7 @@ static const char *const modify_field_ids[] = { "tcp_data_off", "ipv4_ihl", "ipv4_total_len", "ipv6_payload_len", "random", "ipv4_proto", + "esp_spi", "esp_seq_num", "esp_proto", NULL }; -- 2.18.1