Hi, > -----Original Message----- > From: Rongwei Liu <[email protected]> > Sent: Wednesday, March 9, 2022 2:08 PM > To: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]>; Ori Kam <[email protected]>; NBU-Contact- > Thomas Monjalon (EXTERNAL) <[email protected]>; Michael Baum > <[email protected]> > Cc: [email protected]; Raslan Darawsheh <[email protected]>; > [email protected]; Jack Min <[email protected]> > 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: [email protected] > > Signed-off-by: Rongwei Liu <[email protected]> > Acked-by: Xiaoyu Min <[email protected]> > Acked-by: Matan Azrad <[email protected]> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

