mbox series

[v1,0/4] Enable yellow meter hierarchy

Message ID 20220513073308.10762-1-shunh@nvidia.com (mailing list archive)
Headers
Series Enable yellow meter hierarchy |

Message

Shun Hao May 13, 2022, 7:33 a.m. UTC
  To support yellow meter hierarchy, need to support meter action in
yellow policy flow, so both green and yellow packet can go to next
meter. Currently there's the limitation that only the same next meter
supported for green and yellow.

Meanwhile, color aware mode is supported, so the next meter can be aware
of the previous color, so can have different process strategy.

Shun Hao (4):
  net/mlx5: support previous meter color aware
  net/mlx5: support yellow meter action in hierarchy
  net/mlx5: support yellow meter action for hierarchy tag rule
  net/mlx5: add validation for yellow meter action

 doc/guides/nics/mlx5.rst           |   6 +-
 drivers/net/mlx5/mlx5.c            |   8 +-
 drivers/net/mlx5/mlx5.h            |  10 +-
 drivers/net/mlx5/mlx5_flow_aso.c   |  19 +-
 drivers/net/mlx5/mlx5_flow_dv.c    | 406 +++++++++++++++++++----------
 drivers/net/mlx5/mlx5_flow_meter.c |  60 +++--
 6 files changed, 345 insertions(+), 164 deletions(-)
  

Comments

Raslan Darawsheh May 16, 2022, 12:59 p.m. UTC | #1
Hi,

> -----Original Message-----
> From: Shun Hao <shunh@nvidia.com>
> Sent: Friday, May 13, 2022 10:33 AM
> To: Slava Ovsiienko <viacheslavo@nvidia.com>; Matan Azrad
> <matan@nvidia.com>; Ori Kam <orika@nvidia.com>
> Cc: dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>
> Subject: [PATCH v1 0/4] Enable yellow meter hierarchy
> 
> To support yellow meter hierarchy, need to support meter action in yellow
> policy flow, so both green and yellow packet can go to next meter. Currently
> there's the limitation that only the same next meter supported for green and
> yellow.
> 
> Meanwhile, color aware mode is supported, so the next meter can be aware
> of the previous color, so can have different process strategy.
> 
> Shun Hao (4):
>   net/mlx5: support previous meter color aware
>   net/mlx5: support yellow meter action in hierarchy
>   net/mlx5: support yellow meter action for hierarchy tag rule
>   net/mlx5: add validation for yellow meter action
> 
>  doc/guides/nics/mlx5.rst           |   6 +-
>  drivers/net/mlx5/mlx5.c            |   8 +-
>  drivers/net/mlx5/mlx5.h            |  10 +-
>  drivers/net/mlx5/mlx5_flow_aso.c   |  19 +-
>  drivers/net/mlx5/mlx5_flow_dv.c    | 406 +++++++++++++++++++----------
>  drivers/net/mlx5/mlx5_flow_meter.c |  60 +++--
>  6 files changed, 345 insertions(+), 164 deletions(-)
> 
> --
> 2.20.0

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh