mbox series

[v1,0/4] Add support for meter hierarchy

Message ID 20210706131450.30917-1-shunh@nvidia.com (mailing list archive)
Headers show
Series Add support for meter hierarchy | expand

Message

Shun Hao July 6, 2021, 1:14 p.m. UTC
This adds support for meter hierarchy, which means multiple meters can
be chained together, and using the header meter of hierarchy in a flow
will apply all meters in hierarchy to that flow.

Shun Hao (4):
  net/mlx5: support meter action in meter policy
  net/mlx5: support meter hierarchy drop count
  net/mlx5: meter hierarchy destroy and cleanup
  net/mlx5: validate meter action in policy

 doc/guides/nics/mlx5.rst               |  15 +
 doc/guides/rel_notes/release_21_08.rst |   6 +
 drivers/net/mlx5/mlx5.h                |  32 +-
 drivers/net/mlx5/mlx5_flow.c           | 123 +++--
 drivers/net/mlx5/mlx5_flow.h           |  12 +
 drivers/net/mlx5/mlx5_flow_dv.c        | 701 +++++++++++++++++++++----
 drivers/net/mlx5/mlx5_flow_meter.c     | 175 +++++-
 7 files changed, 935 insertions(+), 129 deletions(-)

Comments

Raslan Darawsheh July 7, 2021, 7:19 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Shun Hao <shunh@nvidia.com>
> Sent: Tuesday, July 6, 2021 4:15 PM
> To: Ori Kam <orika@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; Matan Azrad <matan@nvidia.com>
> Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon
> <thomas@monjalon.net>; Raslan Darawsheh <rasland@nvidia.com>
> Subject: [PATCH v1 0/4] Add support for meter hierarchy
> 
> This adds support for meter hierarchy, which means multiple meters can
> be chained together, and using the header meter of hierarchy in a flow
> will apply all meters in hierarchy to that flow.
> 
> Shun Hao (4):
>   net/mlx5: support meter action in meter policy
>   net/mlx5: support meter hierarchy drop count
>   net/mlx5: meter hierarchy destroy and cleanup
>   net/mlx5: validate meter action in policy
> 
>  doc/guides/nics/mlx5.rst               |  15 +
>  doc/guides/rel_notes/release_21_08.rst |   6 +
>  drivers/net/mlx5/mlx5.h                |  32 +-
>  drivers/net/mlx5/mlx5_flow.c           | 123 +++--
>  drivers/net/mlx5/mlx5_flow.h           |  12 +
>  drivers/net/mlx5/mlx5_flow_dv.c        | 701 +++++++++++++++++++++----
>  drivers/net/mlx5/mlx5_flow_meter.c     | 175 +++++-
>  7 files changed, 935 insertions(+), 129 deletions(-)
> 
> --
> 2.21.0

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh