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 EA13E45635; Wed, 17 Jul 2024 16:20:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B431240616; Wed, 17 Jul 2024 16:20:35 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2066.outbound.protection.outlook.com [40.107.223.66]) by mails.dpdk.org (Postfix) with ESMTP id 1451740280; Wed, 17 Jul 2024 16:20:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XU5CgzfbZWQRNw7Nws8tO0PeJPQyuwnyzJYYbAUfTjEd0vq/d9vfv39E3RExhsiv26dCGaJ67zGnMwHHG2546AECnMITKvE8yAKHhFMgErq+RzOJerfFp6bBZyKoYMb6H4C07epo5ubrwY8k8Kgi9ixZFY7x1LhOHe9qHNLv7QLoUjlzJv3kAmDx61/bChxnjR4LEkbnMsxghfvLNzv/kMj6hNpwaZlgXeQO24gd6q2AtTWTvpASLfQqPxJ6unOBa7hukZyOu/SdAsBoTnRb7pmxBowxoh3My6nseXXlgYJvrJN4uk6PokXqJ5lEgY9n/wtQiziaxyIccbYZm6OIWA== 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=mbYrpS+m4VHLrgSA2kdkQU/+uP7xGqvFsy7+/naDdCY=; b=M3eTJoRRKQo9X2ZIP+7cp7KcKnpQ4hMThlAeTfMho89z/Fngq82nB0fg3BLiDFyeVql1M9c7xabJkEr6SlyA9P0IiWQ3LAjKZu6kV8WDGUtOxBwiGfH1n9GWDEhxjrhuT9h2QfjhTd+E3ubfuJeQJXS/vCXFXPflq70OpcC6sbNjKa5A/CoFFmkl63xz5IhJVCMJ+THkzoXQJFQ2Jg6uqUkvChPb6bZAyrcIko5ccIvzvG0dIFNsUzzDvWrFNGYPgvC7QrcNeGXOXgF8J9tzWxujnJOSdJmoLjo7NwB55bpTGfj8/r/C8JRCQrljHzfivgn7WrlMJQ8nsrrwXwUjqA== 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=mbYrpS+m4VHLrgSA2kdkQU/+uP7xGqvFsy7+/naDdCY=; b=sicYzU9CtjknDZQXRxEq7iD1d1JQ7/EaUsywe1dJ1De6pGkfbfXH44DcXE3goVUvDm09bJtBaW2lxT4eecAmR3sL0a8p8tP8l1/Jqg81h+w9uajse8YzmUUt6QTYqwIcPxkIC7GVPYB7683xEpkRakyJIfRe9Mev9AlircZ13xNIuEx0/tuPmQ9DdAmzcJNF5tpYBIlEGtxj5Fcn5QfNrN/zUcfTtBKLJ2NIciqsNMf578BfQaSnbOUfeOmfuZGZ4iq/cEUlSqVtJ9VY29QRe1jaXgJOhyzoUqz4TEKgG3dx0eyW8ySvf/qBYsoe84gCyDOzbxg5oIE7Gf3VJl/ocw== Received: from DM6PR06CA0016.namprd06.prod.outlook.com (2603:10b6:5:120::29) by CYYPR12MB8940.namprd12.prod.outlook.com (2603:10b6:930:bd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.15; Wed, 17 Jul 2024 14:20:30 +0000 Received: from DS2PEPF00003444.namprd04.prod.outlook.com (2603:10b6:5:120:cafe::75) by DM6PR06CA0016.outlook.office365.com (2603:10b6:5:120::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29 via Frontend Transport; Wed, 17 Jul 2024 14:20:29 +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 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.7784.11 via Frontend Transport; Wed, 17 Jul 2024 14:20:29 +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, 17 Jul 2024 07:20:13 -0700 Received: from pegasus01.mtr.labs.mlnx (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.1544.4; Wed, 17 Jul 2024 07:20:10 -0700 From: Alexander Kozyrev To: CC: , , , , , , , Subject: [PATCH] app/testpmd: add postpone option to async flow destroy Date: Wed, 17 Jul 2024 17:19:54 +0300 Message-ID: <20240717141954.3770657-1-akozyrev@nvidia.com> X-Mailer: git-send-email 2.18.2 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_|CYYPR12MB8940:EE_ X-MS-Office365-Filtering-Correlation-Id: d2de7fce-bfb0-439f-f234-08dca66b9c6f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Wk7ccsu8b+O7vyWclk43Px8IFidiqNikK6uYcy7ZoXHD6q+9rd1E2dQsesuK?= =?us-ascii?Q?mprSFwwqev9P9Ov1pKpYCALDW5oKJYmd7FpDaxCqDoCWw2iscCzpiQjturMB?= =?us-ascii?Q?24OtMPKg8QdNYFz0yS8NZCAejyc6tZtGeAM+9AjwK9PrViO8RrZZtagP28BZ?= =?us-ascii?Q?Vw81GJHnYnUeZ1jXBDOscZCkD96xx9+p+3m5YeJ6OPGi035h9nn9JesI0L1Q?= =?us-ascii?Q?A1IjOG44DkSiBNlNrGwO5N6ghRQfbQ+jJArne4+kyzUUnY00ATSFHNME0H1r?= =?us-ascii?Q?rzHjM+aIb5w5/4Qu8fyrPSXLvzPWfAOGe80abC7jwB8uzgnUHbPUaLepo1Mm?= =?us-ascii?Q?5zqZVul0UYZZ792f/cSLgknpeMITdc4MASWrsId7x8/z4gLt/8fp866Wvtf0?= =?us-ascii?Q?r2bvAkeMRtiU48WxXlA2eOH3LlI4XYzClzkO8+m2JBk2Awt6yE4Yade6x8FS?= =?us-ascii?Q?j1UC+KFUg2Dy+NZnc8OhELfbwSeMKkhF726o1E1/75s0B4zfYeSGugtJMY71?= =?us-ascii?Q?OvF9RVMuzImArnvPQfOLKRIbzreoMbjCBLRYq4cscNxa6Ea8oDOfocKk6ECG?= =?us-ascii?Q?0kBEP8IHrBOTM76amnMZeWtyAcqAYhxsFR/1PdcDWhi4KDYmw1QJ6ThtRkqc?= =?us-ascii?Q?4wlfKBNWd8K83C6dJBMYpnjhah+uaCVKmBSgVMNy3qEj2GidiruucODB8rrS?= =?us-ascii?Q?8u5XUmLZj4U3JJteYQARqJoHB8i2+ufSvi2kA/x25tPvAZPckaoT9iDLeqvR?= =?us-ascii?Q?PKAaOBVDb7kV4JIBdg0ugRzASNHltqoD02wfs3oAOwjpKfmgnlOwoY2L7FrU?= =?us-ascii?Q?H8Q6lpCkOYRMa+UMphnQV8tswlhoktoiWNY1Gp9Tzm8YX3cVPOkOyYK2H+vo?= =?us-ascii?Q?YpFBeVF+P9p8OETAuzXfuVgq/RtS+CRvdTnvfy+u/KY4ysIzqgFEEhGFq99T?= =?us-ascii?Q?vd0PW4w75xFqZ2pmAuM2dbAfL6XZEwnnAr77UzYXtrje2ov9DyRVHW1jtwRX?= =?us-ascii?Q?zdY0TYbqxaTRRbGPMeBDAlDxcx28ER2kj/Qx019HQShp2iHTnIfmXX65tUI5?= =?us-ascii?Q?EPVFCYOxNJDxWdHCnX8r4qJCNJ8WEDnVa9jzeFqSYN9RvUMUDmQg2MMNNfsS?= =?us-ascii?Q?p39URvT0YHLSX/96nNhzJgbLDMOVXsLaSeSz9g7KxSrtRY4/XlTD784IpS1J?= =?us-ascii?Q?vh4IrmyHb6e6jJtjyuUXsnZ0e8SAjt2JZKx8qGPMppHFoV9whOfD+2UIcbMR?= =?us-ascii?Q?J585or7ZoM2uQcjtBfdBEkMJ/8J8D8p9XMlCJTlLCKDZ+VLN529rdyIzuiSp?= =?us-ascii?Q?hyymIqIh1aP5QIecyIg+JxJDyKMcVqlhQ75dOcPYDfEmiP+7ZDNPY9bedahe?= =?us-ascii?Q?MWtDR0AcKe3n5PO0djqzleB455td3mFzo58aqyLxjw4B422RbLV5pZrfwOFo?= =?us-ascii?Q?yrby867TzBL68g0AMAAMD8iRYvq0NVZi?= 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)(1800799024)(36860700013)(376014)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2024 14:20:29.4967 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2de7fce-bfb0-439f-f234-08dca66b9c6f 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: DS2PEPF00003444.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR12MB8940 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 potpone option is not available in the async flow destroy CLI. Only flow creation can be postponed in the testpmd application. Insert this option into the async flow destroy CLI before the rule ID. Fixes: ecdc927b99 ("app/testpmd: add async flow create/destroy operations") Signed-off-by: Alexander Kozyrev --- app/test-pmd/cmdline_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index a76b44bf39..fb6a552863 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -3703,7 +3703,7 @@ static const struct token token_list[] = { [QUEUE_DESTROY] = { .name = "destroy", .help = "destroy a flow rule", - .next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_ID), + .next = NEXT(NEXT_ENTRY(QUEUE_DESTROY_POSTPONE), NEXT_ENTRY(COMMON_QUEUE_ID)), .args = ARGS(ARGS_ENTRY(struct buffer, queue)), .call = parse_qo_destroy, -- 2.18.2