[PATCH v2 4/5] ethdev: add GENEVE TLV option modification support
Ori Kam
orika at nvidia.com
Sun May 21 20:52:03 CEST 2023
Hi Michael,
> -----Original Message-----
> From: Michael Baum <michaelba at nvidia.com>
> Sent: Thursday, May 18, 2023 8:40 PM
>
> Add modify field support for GENEVE option fields:
> - "RTE_FLOW_FIELD_GENEVE_OPT_TYPE"
> - "RTE_FLOW_FIELD_GENEVE_OPT_CLASS"
> - "RTE_FLOW_FIELD_GENEVE_OPT_DATA"
>
> Each GENEVE TLV option is identified by both its "class" and "type", so
> 2 new fields were added to "rte_flow_action_modify_data" structure to
> help specify which option to modify.
>
> To get room for those 2 new fields, the "level" field move to use
> "uint8_t" which is more than enough for encapsulation level.
> This patch also reduces all modify field encapsulation level "fully
> masked" initializations to use UINT8_MAX instead of UINT32_MAX.
> This change avoids compilation warning caused by this API changing.
>
> Signed-off-by: Michael Baum <michaelba at nvidia.com>
> ---
Acked-by: Ori Kam <orika at nvidia.com>
Best,
Ori
More information about the dev
mailing list