> -----Original Message-----
> From: Suanming Mou <suanmi...@nvidia.com>
> Sent: Thursday, October 20, 2022 18:42
> To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com>
> Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; Ori Kam
> <or...@nvidia.com>; Dariusz Sosnowski <dsosnow...@nvidia.com>
> Subject: [PATCH v6 09/18] net/mlx5: support DR action template API
> 
> From: Dariusz Sosnowski <dsosnow...@nvidia.com>
> 
> This patch adapts mlx5 PMD to changes in mlx5dr API regarding action
> templates. It changes the following:
> 
> 1. Actions template creation:
> 
>     - Flow actions types are translated to mlx5dr action types in order
>       to create mlx5dr_action_template object.
>     - An offset is assigned to each flow action. This offset is used to
>       predetermine action's location in rule_acts array passed on rule
>       creation.
> 
> 2. Template table creation:
> 
>     - Fixed actions are created and put in rule_acts cache using
>       predetermined offsets
>     - mlx5dr matcher is parametrized by action templates bound to
>       template table.
>     - mlx5dr matcher is configured to optimize rule creation based on
>       passed rule indices.
> 
> 3. Flow rule creation:
> 
>     - mlx5dr rule is parametrized by action template on which these
>       rule's actions are based.
>     - Rule index hint is provided to mlx5dr.
> 
> Signed-off-by: Dariusz Sosnowski <dsosnow...@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>

Reply via email to