Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang <[email protected]> > Sent: Monday, March 7, 2022 4:11 AM > To: Slava Ovsiienko <[email protected]>; Matan Azrad > <[email protected]>; Ori Kam <[email protected]> > Cc: [email protected]; Raslan Darawsheh <[email protected]>; > [email protected] > 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: [email protected] > > Signed-off-by: Jiawei Wang <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

