Skip to content

Fix meter hierarchy issue for represented port

Shun Hao dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/mlx5: fix meter hierarchy with represented port itemdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_dv.c+26 -70 replies
2/3net/mlx5: add meter flow limitation when matching all portsdoc/guides/nics/mlx5.rst drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +2 more+45 -210 replies
3/3net/mlx5: fix meter ID tag for meter hierarchydrivers/net/mlx5/mlx5_flow.c+2 -40 replies

Reviews trailers per patch

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

PatchMatan Azrad
1/3A-b
2/3A-b
3/3A-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/3] Fix meter hierarchy issue for represented port

When the represented port item was introduced, there's an issue that if a flow matching represented port item uses a meter hierarchy action, it will fail due to the represented port item not supported correctly in meter hierarchy creation.

This patch set is adding the correct handling to support represented port. And there're some limitation for the support that when matching all ports, the meter hierarchy should not contain any meter having drop count.

Shun Hao (3):
net/mlx5: fix meter hierarchy with represented port item net/mlx5: add meter flow limitation when matching all ports net/mlx5: fix meter ID tag for meter hierarchy

 doc/guides/nics/mlx5.rst        |  1 +
 drivers/net/mlx5/mlx5.h         |  2 +
 drivers/net/mlx5/mlx5_flow.c    | 27 +++++++++----
 drivers/net/mlx5/mlx5_flow.h    |  4 ++
 drivers/net/mlx5/mlx5_flow_dv.c | 71 ++++++++++++++++++++++-----------
 5 files changed, 73 insertions(+), 32 deletions(-)
Signature · 1 line
2.20.0