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 C4C2E43A4E; Fri, 2 Feb 2024 10:57:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B33C7402DC; Fri, 2 Feb 2024 10:57:49 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id EF6D84026E for ; Fri, 2 Feb 2024 10:57:47 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id C3BE83200A7E; Fri, 2 Feb 2024 04:57:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 02 Feb 2024 04:57:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1706867865; x=1706954265; bh=wMejCSippl8epPvsM5Y51daqKPUFkyTjqdUwIoYGZ+4=; b= oWduGiNu+cZZ+/qqfdqamiNJfGjNXYO2UZtDn26yfH+E0wxndIynS/4DXh9KzgY+ Jc4vqYD/FodaicKbW9TrXB+1/uMEF6xm0kojXpURMUh8N9PWXdFqsiZhiz/4DUkZ e9mFF2OFpX+kGkEhuMn/L4v8hRrGyZGQ1O1T6QY4zZ0Ger9fkzFGd8uSLwpNnCl1 Jqww7AW1+us/9aVJgS8pOYJqGTFUU9xSlcewyX7GQvY/C2qNW0X3pT/LBSUd7tvv J/9WXXnKfYTr8cD01dNleGqCDmmZ34Omw+OG+NZdA/8WUg+8hiA6OZFN21GiM+jz NFLj/UuookeqCCsHZ0UEsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706867865; x= 1706954265; bh=wMejCSippl8epPvsM5Y51daqKPUFkyTjqdUwIoYGZ+4=; b=B ee02TSEAgaqCsEbql2+33tYco3bcNUmUMLKJ6GkygWMP8sm7um/Beu2JAANj/khh 0iDyuGNhMi81LZFMQcBCHYI71PBS5NMytOrO+UhYv3Xq2o/0wO5U1eaclpMgVw4O /pZr2QMFJgR9FeyoshgBAcgbGKJpbfQCngUPdQu1Xo/aa+Sx6hQ4el1qCg3dxndN jCbi/F48iT3W6VZYaie3+6mnXGhVpVZpy3JBLm5XsDQcV8LIiQVJ0lIVmOaT9oPB TDYuXRnTHKwO7yrWB4p+qc3lhEkX1oWGyFmuRy7NNeAmhc4mTRwx4+QXeDOqCtWA 5rBr8EconlU/3hWvN9ZRg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedugedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 2 Feb 2024 04:57:42 -0500 (EST) From: Thomas Monjalon To: mko-plv@napatech.com, ckm@napatech.com, Oleksandr Kolomeiets Cc: aman.deep.singh@intel.com, yuying.zhang@intel.com, dev@dpdk.org, Ori Kam , Dariusz Sosnowski Subject: Re: [PATCH v2] app/testpmd: support updating flow rule actions Date: Fri, 02 Feb 2024 10:55:26 +0100 Message-ID: <2800280.mvXUDI8C0e@thomas> In-Reply-To: <20240201095907.3564286-1-okl-plv@napatech.com> References: <20240126132142.2649250-1-okl-plv@napatech.com> <20240201095907.3564286-1-okl-plv@napatech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 01/02/2024 10:59, Oleksandr Kolomeiets: > "flow actions_update" updates a flow rule specified by a rule ID with a > new action list by making a call to "rte_flow_actions_update()": > > flow actions_update {port_id} {rule_id} > actions {action} [/ {action} [...]] / end [user_id] > > Creating, updating and destroying a flow rule: > > testpmd> flow create 0 group 1 pattern eth / end actions drop / end > Flow rule #0 created > testpmd> flow actions_update 0 0 actions queue index 1 / end > Flow rule #0 updated with new actions > testpmd> flow destroy 0 rule 0 > Flow rule #0 destroyed Why not a simple "flow update" command name?