[PATCH v4] app/testpmd: support updating flow rule actions
Ferruh Yigit
ferruh.yigit at amd.com
Wed Feb 28 18:33:02 CET 2024
On 2/23/2024 4:19 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>
>
Patch looks good to me.
@Ori, @Thomas, do you have any comment, if not I will proceed with the
patch?
More information about the dev
mailing list