Skip to content

Enable yellow meter hierarchy

Shun Hao dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/mlx5: support previous meter color awaredrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_aso.c drivers/net/mlx5/mlx5_flow_meter.c+15 -90 replies
2/4net/mlx5: support yellow meter action in hierarchydrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_dv.c +1 more+132 -410 replies
3/4net/mlx5: support yellow meter action for hierarchy tag ruledrivers/net/mlx5/mlx5_flow_dv.c+175 -950 replies
4/4net/mlx5: add validation for yellow meter actiondoc/guides/nics/mlx5.rst drivers/net/mlx5/mlx5_flow_dv.c+25 -210 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMatan Azard
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/4] Enable yellow meter hierarchy

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(-)
Signature · 1 line
2.20.0