[PATCH 1/7] net/mlx5: fix the modify field check of tag
Raslan Darawsheh
rasland at nvidia.com
Mon Jul 10 12:34:49 CEST 2023
Hi,
> -----Original Message-----
> From: Bing Zhao <bingz at nvidia.com>
> Sent: Friday, June 30, 2023 8:43 AM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>
> Cc: dev at dpdk.org; Michael Baum <michaelba at nvidia.com>
> Subject: [PATCH 1/7] net/mlx5: fix the modify field check of tag
>
> The new member "tag_index" was added into the structure
> "rte_flow_action_modify_data". It is the index of the header inside
> encapsulation level. Both the "RTE_FLOW_FIELD_TAG" and
> "MLX5_RTE_FLOW_FIELD_META_REG" types will use this member instead of
> the "level", but the "level" will still be supported for the compatibility.
>
> In the validation stage, not only the "RTE_FLOW_FIELD_TAG" type, but also
> the "MLX5_RTE_FLOW_FIELD_META_REG" needs to be checked.
>
> In the meanwhile, lowering down the log priority will help to prevent the
> flooding.
>
> Fixes: 68c513e861ca ("net/mlx5: align implementation with modify API")
> Cc: michaelba at nvidia.com
>
> Signed-off-by: Bing Zhao <bingz at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>
Series applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list