[PATCH] net/mlx5: fix the port match in sample flow
Raslan Darawsheh
rasland at nvidia.com
Thu Mar 10 16:37:10 CET 2022
Hi,
> -----Original Message-----
> From: Jiawei(Jonny) Wang <jiaweiw at nvidia.com>
> Sent: Monday, March 7, 2022 4:11 AM
> To: Slava Ovsiienko <viacheslavo at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Ori Kam <orika at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix the port match in sample flow
>
> If there are an explicit port match and sample action in the same flow,
> mlx5 PMD pushes the explicit port match in the prefix subflow, and uses the
> tag item match in the suffix subflow.
>
> The explicit port match was translated into source vport match so the sample
> suffix subflow lost this match after flow split.
>
> This patch copies the explicit port match to the sample suffix subflow, and
> the latter gets the correct source vport value in the flow matcher.
>
> Fixes: b4c0ddbfcc58 ("net/mlx5: split sample flow into two sub-flows")
> Cc: stable at dpdk.org
>
> Signed-off-by: Jiawei Wang <jiaweiw at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the stable
mailing list