[PATCH v8 00/10] ethdev: datapath-focused flow rules management
Ferruh Yigit
ferruh.yigit at intel.com
Tue Feb 22 17:41:15 CET 2022
On 2/20/2022 3:43 AM, Alexander Kozyrev wrote:
> Three major changes to a generic RTE Flow API were implemented in order
> to speed up flow rule insertion/destruction and adapt the API to the
> needs of a datapath-focused flow rules management applications:
>
> 1. Pre-configuration hints.
> Application may give us some hints on what type of resources are needed.
> Introduce the configuration routine to prepare all the needed resources
> inside a PMD/HW before any flow rules are created at the init stage.
>
> 2. Flow grouping using templates.
> Use the knowledge about which flow rules are to be used in an application
> and prepare item and action templates for them in advance. Group flow rules
> with common patterns and actions together for better resource management.
>
> 3. Queue-based flow management.
> Perform flow rule insertion/destruction asynchronously to spare the datapath
> from blocking on RTE Flow API and allow it to continue with packet processing.
> Enqueue flow rules operations and poll for the results later.
>
> testpmd examples are part of the patch series. PMD changes will follow.
>
> RFC:https://patchwork.dpdk.org/project/dpdk/cover/20211006044835.3936226-1-akozyrev@nvidia.com/
>
> Signed-off-by: Alexander Kozyrev<akozyrev at nvidia.com>
> Acked-by: Ori Kam<orika at nvidia.com>
> Acked-by: Ajit Khaparde<ajit.khaparde at broadcom.com>
Since these are new APIs and won't impact existing code, I think
can be OK to get with -rc2, only concern may be testing.
@Andrew, can you please review this version too, if it is good
for you, we can proceed.
More information about the dev
mailing list