[PATCH v3] ethdev: add flow rule actions update API
Ferruh Yigit
ferruh.yigit at amd.com
Mon May 22 12:28:13 CEST 2023
On 5/18/2023 10:48 PM, Alexander Kozyrev wrote:
> Introduce the new rte_flow_update() API allowing users
> to update the action list in the already existing rule.
If the API is only to update actions, does make sense to rename it to
explicitly state this, like:
`rte_flow_action_update()`
Same for async version of the API.
> Flow rules can be updated now without the need to destroy
> the rule first and create a new one instead.
> A single API call ensures that no packets are lost by
> guaranteeing atomicity and flow state correctness.
> The rte_flow_async_update() is added as well.
> The matcher is not updated, only the action list is.
>
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
<...>
More information about the dev
mailing list