Skip to content

Add support for 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 meter action in meter policydrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow.h +2 more+332 -690 replies
2/4net/mlx5: support meter hierarchy drop countdrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow.h +1 more+339 -580 replies
3/4net/mlx5: meter hierarchy destroy and cleanupdrivers/net/mlx5/mlx5_flow_dv.c drivers/net/mlx5/mlx5_flow_meter.c+145 -20 replies
4/4net/mlx5: validate meter action in policydoc/guides/nics/mlx5.rst doc/guides/rel_notes/release_21_08.rst drivers/net/mlx5/mlx5_flow_dv.c+119 -00 replies

Reviews trailers per patch

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

PatchMatan Azrad
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 [dpdk-dev] [PATCH v1 0/4] Add support for meter hierarchy

This adds support for meter hierarchy, which means multiple meters can be chained together, and using the header meter of hierarchy in a flow will apply all meters in hierarchy to that flow.

Shun Hao (4):
net/mlx5: support meter action in meter policy
net/mlx5: support meter hierarchy drop count
net/mlx5: meter hierarchy destroy and cleanup
net/mlx5: validate meter action in policy

 doc/guides/nics/mlx5.rst               |  15 +
 doc/guides/rel_notes/release_21_08.rst |   6 +
 drivers/net/mlx5/mlx5.h                |  32 +-
 drivers/net/mlx5/mlx5_flow.c           | 123 +++--
 drivers/net/mlx5/mlx5_flow.h           |  12 +
 drivers/net/mlx5/mlx5_flow_dv.c        | 701 +++++++++++++++++++++----
 drivers/net/mlx5/mlx5_flow_meter.c     | 175 +++++-
 7 files changed, 935 insertions(+), 129 deletions(-)
Signature · 1 line
2.21.0