Hi, > -----Original Message----- > From: Rongwei Liu <rongw...@nvidia.com> > Sent: Wednesday, March 9, 2022 2:08 PM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU-Contact- > Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>; Michael Baum > <michae...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@dpdk.org; Jack Min <jack...@nvidia.com> > Subject: [PATCH v1] net/mlx5: disallow multiple ASO actions in a single flow > > For now, only one ASO action is supported in a single flow. > Flow with more than one ASO action should be rejected in the > validation stage. > > Flow with action non-shared AGE and COUNT together should be > treated as non-ASO because AGE will fall back to use HW counter, > not ASO hit object. > > Group 0 will use HW counter for AGE action even if no COUNT action. > > This commit will reject patterns (no matter which group if transfer) > like: > 1. group 1 pattern... / end actions age / meter / end > 2. group 1 pattern... / end actions conntrack / meter / end > 3. group 1 pattern... / end actions age / conntrack... / end > > If AGE comes together with COUNT in the above patterns, it's allowed. > > Fixes: daed4b6e ("net/mlx5: use aging by counter when counter exists") > Cc: sta...@dpdk.org > > Signed-off-by: Rongwei Liu <rongw...@nvidia.com> > Acked-by: Xiaoyu Min <jack...@nvidia.com> > Acked-by: Matan Azrad <ma...@nvidia.com> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh