Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang <jiaw...@nvidia.com> > Sent: Monday, March 7, 2022 4:11 AM > To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Ori Kam <or...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@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: sta...@dpdk.org > > Signed-off-by: Jiawei Wang <jiaw...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh