To support yellow meter hierarchy, need to support meter action in yellow policy flow, so both green and yellow packet can go to next meter. Currently there's the limitation that only the same next meter supported for green and yellow.
Meanwhile, color aware mode is supported, so the next meter can be aware of the previous color, so can have different process strategy. Shun Hao (4): net/mlx5: support previous meter color aware net/mlx5: support yellow meter action in hierarchy net/mlx5: support yellow meter action for hierarchy tag rule net/mlx5: add validation for yellow meter action doc/guides/nics/mlx5.rst | 6 +- drivers/net/mlx5/mlx5.c | 8 +- drivers/net/mlx5/mlx5.h | 10 +- drivers/net/mlx5/mlx5_flow_aso.c | 19 +- drivers/net/mlx5/mlx5_flow_dv.c | 406 +++++++++++++++++++---------- drivers/net/mlx5/mlx5_flow_meter.c | 60 +++-- 6 files changed, 345 insertions(+), 164 deletions(-) -- 2.20.0