Skip to content

net/mlx5: add modify field ADD fields support

Suanming Mou dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/mlx5: add TCP/IP length modify fielddrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/mlx5_flow_dv.c+44 -02 replies
2/4net/mlx5: rename modify copy destination to destinationdrivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_dv.c+19 -171 reply
3/4net/mlx5: add modify field action ADD fields supportdrivers/net/mlx5/mlx5_flow_dv.c drivers/net/mlx5/mlx5_flow_hw.c+14 -71 reply
4/4net/mlx5: add modify field action ADD fields validationdoc/guides/rel_notes/release_24_03.rst drivers/net/mlx5/mlx5_flow_hw.c+36 -01 reply

Reviews trailers per patch

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

PatchOri Kam
1/4A-b A-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 0/4] net/mlx5: add modify field ADD fields support

Before this series, the modify_field ADD operation in mlx5 PMD only allowed sum of immediate value to field.

ADD_FIELD operation allows user to add the src field value to the dest field. Dest field has the sum of src field value and original dst field value.

Suanming Mou (4):
net/mlx5: add TCP/IP length modify field net/mlx5: rename modify copy destination to destination net/mlx5: add modify field action ADD fields support net/mlx5: add modify field action ADD fields validation

 doc/guides/rel_notes/release_24_03.rst |  4 ++
 drivers/common/mlx5/mlx5_prm.h         |  4 ++
 drivers/net/mlx5/mlx5_flow.h           |  2 +-
 drivers/net/mlx5/mlx5_flow_dv.c        | 83 ++++++++++++++++++++------
 drivers/net/mlx5/mlx5_flow_hw.c        | 42 ++++++++++++-
 5 files changed, 112 insertions(+), 23 deletions(-)
Signature · 1 line
2.34.1