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 D044943A9F; Wed, 7 Feb 2024 13:30:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2FDEE42DFA; Wed, 7 Feb 2024 13:29:55 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2047.outbound.protection.outlook.com [40.107.101.47]) by mails.dpdk.org (Postfix) with ESMTP id 6972042DEF for ; Wed, 7 Feb 2024 13:29:53 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KlMcgpDl1KBhqB9QEVkbmo/Rqd338IUFk+tI8I9Fk1cA1HLi2WgJ1feW02tSsUAkJMC0Ss+15euk2UtqPQ4ThYqp4ZeBX5yS3V1w39yNTyJPYkI5lIa4B9Q8o3/rg0ABtk07bnuCwr0zdFlyIRO1jzG37JInSe9WZll7ylRDo4vV5GLIzdz+t/XAxljLEnFXVEDSMoSeAIGnkqFJ8FBpIQEMWUcTyjRVJkQdHP/lMUJePo+kKbqLy5hT6Zv5H8i+pK8dp0C+m32cRkhsJbxOtIwtedr3dJ//9Ju9evphJgXqilsMosCCe7RRCSHSBgPrMR+hFh73c0wFTP9piuULww== 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=SbqtYMyGrd6KcXa9KTCPFGrLNc41vB0016Ldvdkc4AA=; b=fZN3kvCnabGZo5Q+XFuiDjLs6M/0ezN5x2Q1wbqAGJA8SF1uoAKsHu3tV8gJX7V5RHMeSadgL2dXwyEiB5F+xHvqaozBNEAY3GUU62V56nXEVXfVJS8r4IbWYOm11YELfxVJwot81iawcB+ITbK+HQmnQq+PUank+0ka8aMuN0KbkMvsQHj8AoYgguYEz+QAm2bZRU8uKIBruJ/PjwB7Agp81hfFDJ0+B/gXwKjGZHtOOgAltGDP84UdwXDk4GfYLxWBoXVAg8oz55SK0jKV3w7bamolfeDiqDWjB2ISS9qnLO+YCJSTrYKf2tUNeZlRk2Yp5CiJGLWn0d9MH8jbXA== 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=SbqtYMyGrd6KcXa9KTCPFGrLNc41vB0016Ldvdkc4AA=; b=krfSG2rpQZibqsE64AsOtrUSI5GSa7DRL3BCQcFzdMPCw8jqQ4F5lAVbOCMdoWXWaNDvJxaWq6aqKGsPuR3Dq41V/GK3HzTf/wxp6KQjJVZXVtnjipakEr1jZr3NdoNDuleVAtX3c5rGK5tfop6yY1uZg2PQd+8dVMLZJ4wjZklD3Q8kWQMxMmRV9+2ASKnIJ4K/umuTSHk5lD2RFSVkW/zmA501KpuuW7fMcRDTMu4WQ6NVpWC+Lel2YKiciqBwK8KioAQgKmjoS24jL+d8LzINfWRxMEBKNhoIVgTWSKjl9p64do5HOutnx9Z+7dWUTXRZr0Jw76oO0aqqV9qIww== Received: from DS7PR03CA0058.namprd03.prod.outlook.com (2603:10b6:5:3b5::33) by DM4PR12MB6009.namprd12.prod.outlook.com (2603:10b6:8:69::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.17; Wed, 7 Feb 2024 12:29:51 +0000 Received: from CY4PEPF0000EDD5.namprd03.prod.outlook.com (2603:10b6:5:3b5:cafe::22) by DS7PR03CA0058.outlook.office365.com (2603:10b6:5:3b5::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36 via Frontend Transport; Wed, 7 Feb 2024 12:29:51 +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 CY4PEPF0000EDD5.mail.protection.outlook.com (10.167.241.209) 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:50 +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.986.41; Wed, 7 Feb 2024 04:29:37 -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:35 -0800 From: Viacheslav Ovsiienko To: CC: , , , Subject: [PATCH v3 5/6] app/testpmd: add modify ESP related fields command line Date: Wed, 7 Feb 2024 14:29:07 +0200 Message-ID: <20240207122908.20646-5-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: CY4PEPF0000EDD5:EE_|DM4PR12MB6009:EE_ X-MS-Office365-Filtering-Correlation-Id: 0acfdf9d-e990-4c17-b182-08dc27d87af1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XRO8as7RQzqt0eOpu2IZyKhKDrEwPutDvyTWABLv3fbV8IU6AYT5pj357TyBBcVwFue3YBpWo+FhE2/8alawA9hdB4EBJ2BYxg4dQ361xcIO7dhTOwhjLC6RewXHxoY7s5FYIN6W68sSEsKAf5pGSypOZkozpL00RfxgW3HVe6ez6VKjCm6Pog3Z/iGAbyZNxRJmdLntt7fSaBfE0yvtVqSG2gkNj0ntQfpjLK4ODUvP1Ktv/1dOtOhBcpkJ0Iv1LpU6Ba5wlCefkS4Dlezwyd6SRo5TI8HSFqfsc0ETohX2O08J7f3KTU8WjgB/NqTkxEor3IkUOaZNR5rFzsXt7tjGt7RkTnkChdJQbp2AYlEzhllaSmJbh/JYtcaNPo0uTItBg1kdrozRH0tgRqXrPpMed07Yos3Ys8jicInhbpwI4IphmkyWjbjB+n3simawak9sJbByZCd7OjCZEx7XUB9k2pGGC4uLwtqRMltOWuMLkHuJU/mnmnqqC8RO4VyiuLdJygVA6YzIkyB6xcfXv3fJEP4W7CUA8Bk9/s9iibw1XyyHLvb9sgy6z45U+97aVPCzybmeM2VJmJ6kGa44Uh49yj5HmsSPqu2EWnDXnprpi7Gvgyy+IbzULhPn3lDZBFGddD3SdkUjbbgOlGNA3/31jM/QO7p1shGOgXIEbNSAE+U6Tr0auWF1DSAvPQIcMkxiquv5dRaNw7OfOLVR5razfvoaeYJa4+oFqxxKqmo1Ie03kbm1by6cfnXik2Uu 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)(4636009)(346002)(136003)(396003)(39860400002)(376002)(230922051799003)(451199024)(82310400011)(186009)(1800799012)(64100799003)(40470700004)(46966006)(36840700001)(83380400001)(26005)(6666004)(336012)(6286002)(107886003)(1076003)(426003)(55016003)(40460700003)(40480700001)(16526019)(70586007)(41300700001)(7696005)(316002)(54906003)(4744005)(36860700001)(6916009)(70206006)(5660300002)(2906002)(86362001)(356005)(478600001)(2616005)(82740400003)(47076005)(7636003)(8676002)(36756003)(4326008)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 12:29:50.7440 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0acfdf9d-e990-4c17-b182-08dc27d87af1 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: CY4PEPF0000EDD5.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6009 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 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 1b5919dd18..102b4d67c9 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -991,6 +991,7 @@ static const char *const flow_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