> -----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 04/18] net/mlx5: add modify field hws support
>
> This patch introduces support for modify_field rte_flow actions in HWS
> mode. Support includes:
>
> - Ingress and egress domains,
> - SET and ADD operations,
> - usage of arbitrary bit offsets and widths for packet and metadata
> fields.
>
> Support is implemented in two phases:
>
> 1. On flow table creation the hardware commands are generated, based
> on rte_flow action templates, and stored alongside action template.
> 2. On flow rule creation/queueing the hardware commands are updated
> with
> values provided by the user. Any masks over immediate values, provided
> in action templates, are applied to these values before enqueueing
> rules
> for creation.
>
> Signed-off-by: Dariusz Sosnowski <dsosnow...@nvidia.com>
> Signed-off-by: Suanming Mou <suanmi...@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>