[PATCH v5] app/testpmd: support updating flow rule actions
Ferruh Yigit
ferruh.yigit at amd.com
Thu Feb 29 15:48:48 CET 2024
On 2/29/2024 2:15 AM, Oleksandr Kolomeiets wrote:
> "flow 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 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 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
>
> Signed-off-by: Oleksandr Kolomeiets <okl-plv at napatech.com>
> Reviewed-by: Mykola Kostenok <mko-plv at napatech.com>
> Reviewed-by: Christian Koue Muf <ckm at napatech.com>
>
Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list