From patchwork Wed Sep 18 13:46:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Slava Ovsiienko X-Patchwork-Id: 144261 X-Patchwork-Delegate: rasland@nvidia.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DAC4D459CC; Wed, 18 Sep 2024 15:48:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E76C42F71; Wed, 18 Sep 2024 15:47:17 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2064.outbound.protection.outlook.com [40.107.93.64]) by mails.dpdk.org (Postfix) with ESMTP id A056642EC3 for ; Wed, 18 Sep 2024 15:47:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rIkG4p/PcRL7EUVXD33M2hibIOjIOVYwRcWgnUIH0bnAdvCbSFmAHhLOIx5uUaqhm/M1fNDumFaDF/9xnMBeFg/jPajbcnK0BJ+qS8coAkevdGgDtrawZydqRIZYlCdo6WBykOmnMlEmnx9MnThNmLRTHecG4d/dXjTUdWLWpj56ow/QGdzc8awHRVCD4TlfIunhQ6dVFybZJG/XFoenv9R0GvIq4ln2Lk3kLF6mIJNgsFJHjLpXJTkE62TfdOeuwVfZn0MG9V2deX4PH/L/6fDwQ27swNss7sLKl4TPN37n7pa3Hwmu+ThualxpIriCDUkNL0uKzamnI+LuMbaXPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=bvc7cIm8990IriIZVSMNW1jJaQZPWV6wRx68vCQJzD8=; b=HHBeMhyQqFo3c7xfGCagMr6pt2+wncGwbl0ykwHemQEJSvXFo8t0dLaDFjQowx0Q0KLn+T0jzuVfwLqjnFCrmiMQWzR9PZFc7WyaVDnkBdAwOxWgqwrJlTErNtRvPyJveeTvuyUPnIaCUzJQIRCTVB3hsAet1JYThNw3NNSwdROPq/Z69HvQiZhnMNt91dGcTAkS+KQS8dYazUhOwMD75dGPpmSma0wWzYy+jH4+CrNsYInnUQKeCwLJ+pmLvhfaXG9tsLLbN8VInG21U/iENXcVIxP3x4S5L9GCXdGldCr7vfrdYzqDyZkQV6nOicV/fOZpJuCKaItbRUiLkjxHoA== 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=bvc7cIm8990IriIZVSMNW1jJaQZPWV6wRx68vCQJzD8=; b=ClWhuNbpMfTha42iRav4PPVx+qxKhszWYddh4F/845H0GrWr7RnpCo80eVWH67WK/brfGFoxkKX6AGau14Ws1c0lVQYRMcz/2oFbLbSr+K9DSV/dXi0ciOipD3agSux5gG3C5OSW7Jx0/owyA8SVeLWi0W7yrNNGXq7JQBIAbR/x6hR5zfsDKb/947P7F3do5qS4o9D0xUhtbXmrreZbbn/4KDiJDoux+2cX46ZhbalqE1Vp7JP6YKROIuruXEcOWeCDYb7fRy0VwfUOzWawcs3T0u+O5JdGpEWWQeaTi7FAzYvkUSGj9U60ozvfcROELf9sdwW1A85HI77Q4Y9qnw== Received: from DS7P222CA0019.NAMP222.PROD.OUTLOOK.COM (2603:10b6:8:2e::12) by MW6PR12MB9020.namprd12.prod.outlook.com (2603:10b6:303:240::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.24; Wed, 18 Sep 2024 13:47:12 +0000 Received: from CH3PEPF00000015.namprd21.prod.outlook.com (2603:10b6:8:2e:cafe::24) by DS7P222CA0019.outlook.office365.com (2603:10b6:8:2e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.30 via Frontend Transport; Wed, 18 Sep 2024 13:47:12 +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 CH3PEPF00000015.mail.protection.outlook.com (10.167.244.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.1 via Frontend Transport; Wed, 18 Sep 2024 13:47:12 +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, 18 Sep 2024 06:47:00 -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, 18 Sep 2024 06:46:58 -0700 From: Viacheslav Ovsiienko To: CC: , , , Subject: [PATCH v2 6/9] app/testpmd: remove flex item init command leftover Date: Wed, 18 Sep 2024 16:46:20 +0300 Message-ID: <20240918134623.8441-7-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240918134623.8441-1-viacheslavo@nvidia.com> References: <20240911160458.524732-1-viacheslavo@nvidia.com> <20240918134623.8441-1-viacheslavo@nvidia.com> MIME-Version: 1.0 X-Originating-IP: [10.126.230.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: CH3PEPF00000015:EE_|MW6PR12MB9020:EE_ X-MS-Office365-Filtering-Correlation-Id: c15ed95a-f33a-4545-a799-08dcd7e865ec X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: E3iWpQH7xmIe57cbnM9piDqd2Wchfrg+biXb7JSe9T9P7eZQR7iF4AHIdLE1W47dFgC3rISwtqGZoYgnkyPx/dA3utflzW+hjfLKCozZoMgK5G6fG9Pw9PfIJXwrRWOQke0Ib5/ADyccHRll7AVIwS43LPtS65x1DstxzpFypFyZlHnqs6El99LSPiKQvUZ2b1VKABd0ToqqOkai4rFtzMT1a5qkO1vEyMpoVt9eH9AjopwIzsuKlJ0yX15We7Q/2zTvzv4X29IZ41oQ9//2qrFAZkUftaqAxBs74mYB758Sn+y81wrqua+0g1a3C888CBlaAz7ldm8eRLsJFqD8obq/F6J+vjtfplzfJuy6xFMP++dVeuf4yICfHjkisu3xXOto0HXiRhMVK01CuzozsEk4SVHaev+axh6J352pWEMpcugrmGWhhz5+J+xkDyVgKakRjzpzm2zbF25zRsLPAAK1SsnwS1Lt3pU0Idu7dGbW25TyrehL1FMZnikXoHE6fx6My6IRERXWj1yavNqPWzvH2eFCPQzvxg1LmhnW2Z9Zb9LIdhX3GdfwKvDCwmBrucIsXvgmSMKK/HmL70zCheso7iblua3Kyly1hXPtH2pS2of337hHz2fNhwcwfwS4PeJ6/0yktc2d11GJiYnhOsLNKraSrve3iwAgRjOg7mNlVEzq5dd0X2lrk3Q7WYI7SkaXIpO2zHILkirgUwYlJQHsWgChCPXb2vg5gGSTwub1PLDO2IflQ4E4l8FF3vzsaDWC2RTu4LoKMkLYU+dZ+C4suK7AA0fVmZlK9O2rhUetaOP1wIFfXEnJItOlIRhzOjFDl/LyEUtrjdFWdWs3sD3Knc39CnBwC6M+5o6eHtKTBboctMjQt8OMd49cWhfcC6O0mP7yHpS6iWu70ggZB41WrOqdJuipPimorQF1iCRpRARcEi386DgW7MfiYXNFXiqunn9XLeDARHAflbygOX89BhxCY70J43BbgK3sol76lAMY4Dsj2nXoOwO7GXbgjXTajAJ1cFAPfxpBDuumBw42TPgy9eQW7T1O47EnL2Gd0Nc3TQCtmMt12GOX9Oj4UruCgWkZ/0+W8hJVRTVDBHwmP/h9uZ5IC9ArSHbXd7OqndmZJVG4zVKKVCn/1UXYwiz0YhyHq5oFhAeuLZR3WDdQ4hdY0oUEnvtt2Tf3nnjYHr88+3Xo97sPni4rdM84w39FK6klOc6lZi48W6Rp6HhYsiOMtxwO5Rjs2cMC4rpzgCiKbxl5/V4QY2ebLHzOwDShEveBJFFodqE6cw6JOeFrFiE/QUxSyK7dtzWZvS8385wkBMG5XrwFalbRwhaJGi7VxzDqrwvG1xACIILhfKX4UgCk0BZfExHXHDmbA1B8Fu2Ww7QEGk+q3Q8KJoWHXNoQ4zWrzD/PVw2+/BPGsxUdFKIU6EK6XCR6ZGGI8ArzRnVmVw2jDCGbsKWc/Otw 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:(13230040)(376014)(1800799024)(82310400026)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2024 13:47:12.0441 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c15ed95a-f33a-4545-a799-08dcd7e865ec 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: CH3PEPF00000015.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB9020 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 There was a leftover of "flow flex init" command used for debug purposes and had no useful functionality in the production code. Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index d04280eb3e..858f4077bd 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -106,7 +106,6 @@ enum index { HASH, /* Flex arguments */ - FLEX_ITEM_INIT, FLEX_ITEM_CREATE, FLEX_ITEM_DESTROY, @@ -1317,7 +1316,6 @@ struct parse_action_priv { }) static const enum index next_flex_item[] = { - FLEX_ITEM_INIT, FLEX_ITEM_CREATE, FLEX_ITEM_DESTROY, ZERO, @@ -4171,15 +4169,6 @@ static const struct token token_list[] = { .next = NEXT(next_flex_item), .call = parse_flex, }, - [FLEX_ITEM_INIT] = { - .name = "init", - .help = "flex item init", - .args = ARGS(ARGS_ENTRY(struct buffer, args.flex.token), - ARGS_ENTRY(struct buffer, port)), - .next = NEXT(NEXT_ENTRY(COMMON_FLEX_TOKEN), - NEXT_ENTRY(COMMON_PORT_ID)), - .call = parse_flex - }, [FLEX_ITEM_CREATE] = { .name = "create", .help = "flex item create", @@ -11431,7 +11420,6 @@ parse_flex(struct context *ctx, const struct token *token, switch (ctx->curr) { default: break; - case FLEX_ITEM_INIT: case FLEX_ITEM_CREATE: case FLEX_ITEM_DESTROY: out->command = ctx->curr;