Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang <[email protected]> > Sent: Monday, November 22, 2021 4:23 PM > 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 flow mark value missing on combination split > > If there are sample action and the meter action in the same flow, > mlx5 PMD performs several levels of splitting. For example, sampling > feature splits the original flow into prefix subflow with sample action, > and suffix subflow with the rest of actions. Then, metering feature > splits the sampling suffix subflow into its own meter subflows. > If mark action was added before the sample and meter action, the > flow mark flag was kept in the sample subflows but reset on > handling the metering split, causing the flow mark value missed. > > This patch keeps the flow mark flag of previous subflow, and then > the following meter subflows handle the flow mark correctly. > > Fixes: 9ade91dfe85d ("net/mlx5: fix group value of sample suffix flow") > Cc: [email protected] > > Signed-off-by: Jiawei Wang <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

