mbox

[v1,0/4] Enable yellow meter hierarchy

Message ID 20220513073308.10762-1-shunh@nvidia.com (mailing list archive)
Headers

Message

Shun Hao May 13, 2022, 7:33 a.m. UTC
  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(-)