Skip to content

control rules with identical pattern behavior

Jiawei Wang dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2common/mlx5: add glue function for duplicate rule abilitydrivers/common/mlx5/linux/meson.build drivers/common/mlx5/linux/mlx5_glue.c drivers/common/mlx5/linux/mlx5_glue.h+15 -00 replies
1/2common/mlx5: add glue function for duplicate rule abilitydrivers/common/mlx5/linux/meson.build drivers/common/mlx5/linux/mlx5_glue.c drivers/common/mlx5/linux/mlx5_glue.h+15 -00 replies
2/2net/mlx5: control rules with identical pattern behaviordoc/guides/nics/mlx5.rst doc/guides/rel_notes/release_21_08.rst drivers/net/mlx5/linux/mlx5_os.c +3 more+34 -00 replies
2/2net/mlx5: control rules with identical pattern behaviordoc/guides/nics/mlx5.rst doc/guides/rel_notes/release_21_08.rst drivers/net/mlx5/linux/mlx5_os.c +3 more+46 -40 replies

Reviews trailers per patch

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

PatchMatan Azrad
1/2A-b
1/2A-b
2/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 v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/2] control rules with identical pattern behavior

In order to allow\disallow configuring rules with identical patterns, the new device argument 'allow_duplicate_pattern' is introduced.
If allow, these rules be inserted successfully and only the first rule take affect.
If disallow, the first rule will be inserted and other rules be rejected.

The default is to allow.
Set it to 0 if disallow, for example:
-a <PCI_BDF>,allow_duplicate_pattern=0

Jiawei Wang (2):
common/mlx5: add glue function for duplicate rule ability net/mlx5: control rules with identical pattern behavior

 doc/guides/nics/mlx5.rst               | 14 ++++++++++++++
 doc/guides/rel_notes/release_21_08.rst |  6 ++++++
 drivers/common/mlx5/linux/meson.build  |  2 ++
 drivers/common/mlx5/linux/mlx5_glue.c  | 12 ++++++++++++
 drivers/common/mlx5/linux/mlx5_glue.h  |  1 +
 drivers/net/mlx5/linux/mlx5_os.c       | 10 ++++++++++
 drivers/net/mlx5/mlx5.c                |  6 ++++++
 drivers/net/mlx5/mlx5.h                |  2 ++
 drivers/net/mlx5/mlx5_flow_dv.c        | 12 ++++++++----
 9 files changed, 61 insertions(+), 4 deletions(-)
Signature · 1 line
2.18.1