[0/4] net/mlx5: add modify field ADD fields support

Message ID 20231214030428.363471-1-suanmingm@nvidia.com (mailing list archive)
Headers
Series net/mlx5: add modify field ADD fields support |

Message

Suanming Mou Dec. 14, 2023, 3:04 a.m. UTC
  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(-)
  

Comments

Raslan Darawsheh Jan. 7, 2024, 12:37 p.m. UTC | #1
Hi,

> -----Original Message-----
> From: Suanming Mou <suanmingm@nvidia.com>
> Sent: Thursday, December 14, 2023 5:04 AM
> Cc: dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>
> Subject: [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(-)
> 
> --
> 2.34.1
Series applied to next-net-mlx,

Kindest regards
Raslan Darawsheh