[PATCH 1/2] net/mlx5: fix metadata and meter split shared tag

Raslan Darawsheh rasland at nvidia.com
Sun Nov 21 15:38:59 CET 2021


Hi,

> -----Original Message-----
> From: Jiawei(Jonny) Wang <jiaweiw at nvidia.com>
> Sent: Friday, November 19, 2021 3:02 PM
> To: Slava Ovsiienko <viacheslavo at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH 1/2] net/mlx5: fix metadata and meter split shared tag
> 
> In the metadata flow split, PMD created the prefix subflow
> with removed Queue or RSS action and appended the set tag and
> copy table jump actions. If the flow being split for metadata
> was the meter prefix subflow, the driver supposed to share the same
> meter split tag action for the metadata split flow. There was the wrong
> check for preceding meter split tag action, causing append with metadata
> split set tag action and resulting the meter suffix subflow was missed
> due to tag value mismatch.
> 
> This patch adds the checking before copying into extend action list,
> to make sure the correct shared tag is used.
> 
> Fixes: 8d72fa668964 ("net/mlx5: share tag between meter and metadata")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Jiawei Wang <jiaweiw at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list