mbox series

[v1,0/3] Fix meter hierarchy issue for represented port

Message ID 20220917060210.3332529-1-shunh@nvidia.com (mailing list archive)
Headers
Series Fix meter hierarchy issue for represented port |

Message

Shun Hao Sept. 17, 2022, 6:02 a.m. UTC
  When the represented port item was introduced, there's an issue that
if a flow matching represented port item uses a meter hierarchy action,
it will fail due to the represented port item not supported correctly in
meter hierarchy creation.

This patch set is adding the correct handling to support represented
port. And there're some limitation for the support that when matching
all ports, the meter hierarchy should not contain any meter having
drop count.

Shun Hao (3):
  net/mlx5: fix meter hierarchy with represented port item
  net/mlx5: add meter flow limitation when matching all ports
  net/mlx5: fix meter ID tag for meter hierarchy

 doc/guides/nics/mlx5.rst        |  1 +
 drivers/net/mlx5/mlx5.h         |  2 +
 drivers/net/mlx5/mlx5_flow.c    | 27 +++++++++----
 drivers/net/mlx5/mlx5_flow.h    |  4 ++
 drivers/net/mlx5/mlx5_flow_dv.c | 71 ++++++++++++++++++++++-----------
 5 files changed, 73 insertions(+), 32 deletions(-)
  

Comments

Raslan Darawsheh Sept. 21, 2022, 11:30 a.m. UTC | #1
Hi,


> -----Original Message-----
> From: Shun Hao <shunh@nvidia.com>
> Sent: Saturday, September 17, 2022 9:02 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/3] Fix meter hierarchy issue for represented port
> 
> When the represented port item was introduced, there's an issue that if a
> flow matching represented port item uses a meter hierarchy action, it will fail
> due to the represented port item not supported correctly in meter hierarchy
> creation.
> 
> This patch set is adding the correct handling to support represented port.
> And there're some limitation for the support that when matching all ports,
> the meter hierarchy should not contain any meter having drop count.
> 
> Shun Hao (3):
>   net/mlx5: fix meter hierarchy with represented port item
>   net/mlx5: add meter flow limitation when matching all ports
>   net/mlx5: fix meter ID tag for meter hierarchy
> 
>  doc/guides/nics/mlx5.rst        |  1 +
>  drivers/net/mlx5/mlx5.h         |  2 +
>  drivers/net/mlx5/mlx5_flow.c    | 27 +++++++++----
>  drivers/net/mlx5/mlx5_flow.h    |  4 ++
>  drivers/net/mlx5/mlx5_flow_dv.c | 71 ++++++++++++++++++++++----------
> -
>  5 files changed, 73 insertions(+), 32 deletions(-)
> 
> --
> 2.20.0

Series applied to next-net-mlx,

Kindest regards
Raslan Darawsheh