Skip to content

Fix src port match in meter hierarchy

Shun Hao dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/mlx5: fix meter hierarchy with modify headerdoc/guides/nics/mlx5.rst drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +1 more+31 -150 replies
2/2net/mlx5: fix meter policy with port ID destinationdrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_dv.c+53 -540 replies

Reviews trailers per patch

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

PatchMatan Azrad
1/2A-b
2/2A-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/2] Fix src port match in meter hierarchy

In meter hierarchy, if policy flow contains modify_field or port_id action, a src port matching will be added to determine the position of meter in action list.

Currently the src port is static, using the port id policy belongs to. This patch set enables creation of multiple policy flows using src port from user flow dynamically to match different src port, so the meter hierarchy can always be used by different src ports.

Shun Hao (2):
net/mlx5: fix meter hierarchy with modify header net/mlx5: fix meter policy with port ID destination

 doc/guides/nics/mlx5.rst        |   3 +
 drivers/net/mlx5/mlx5.h         |   8 +-
 drivers/net/mlx5/mlx5_flow.c    |   2 +-
 drivers/net/mlx5/mlx5_flow_dv.c | 126 +++++++++++++++++---------------
 4 files changed, 77 insertions(+), 62 deletions(-)
Signature · 1 line
2.20.0