Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang <jiaw...@nvidia.com> > Sent: Monday, November 22, 2021 4:23 PM > 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 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: sta...@dpdk.org > > Signed-off-by: Jiawei Wang <jiaw...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh