[PATCH v6 04/18] net/mlx5: add modify field hws support
Slava Ovsiienko
viacheslavo at nvidia.com
Mon Oct 24 11:44:21 CEST 2022
> -----Original Message-----
> From: Suanming Mou <suanmingm at nvidia.com>
> Sent: Thursday, October 20, 2022 18:42
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Ori Kam
> <orika at nvidia.com>; Dariusz Sosnowski <dsosnowski at 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 <dsosnowski at nvidia.com>
> Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
More information about the dev
mailing list