[v3,0/2] net/mlx5: update pattern validations

Message ID 20240212135911.529237-1-getelson@nvidia.com (mailing list archive)
Headers
Series net/mlx5: update pattern validations |

Message

Gregory Etelson Feb. 12, 2024, 1:59 p.m. UTC
  PMD updates `rte_errno` if pattern template validation failed:
E2BIG - pattern too big for PMD
ENOTSUP - pattern not supported by PMD
ENOMEM - PMD allocation failure

Gregory Etelson (2):
  net/mlx5/hws: definer, update pattern validations
  net/mlx5: improve pattern template validation

 drivers/net/mlx5/hws/mlx5dr_definer.c |   4 +-
 drivers/net/mlx5/mlx5.h               |   1 +
 drivers/net/mlx5/mlx5_flow_hw.c       | 121 ++++++++++++++++++++++++++
 3 files changed, 125 insertions(+), 1 deletion(-)

Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
  

Comments

Raslan Darawsheh Feb. 26, 2024, 12:07 p.m. UTC | #1
Hi,


> -----Original Message-----
> From: Gregory Etelson <getelson@nvidia.com>
> Sent: Monday, February 12, 2024 3:59 PM
> To: dev@dpdk.org
> Cc: Gregory Etelson <getelson@nvidia.com>; Maayan Kashani
> <mkashani@nvidia.com>; Dariusz Sosnowski <dsosnowski@nvidia.com>
> Subject: [PATCH v3 0/2] net/mlx5: update pattern validations
> 
> PMD updates `rte_errno` if pattern template validation failed:
> E2BIG - pattern too big for PMD
> ENOTSUP - pattern not supported by PMD
> ENOMEM - PMD allocation failure
> 
> Gregory Etelson (2):
>   net/mlx5/hws: definer, update pattern validations
>   net/mlx5: improve pattern template validation
> 
>  drivers/net/mlx5/hws/mlx5dr_definer.c |   4 +-
>  drivers/net/mlx5/mlx5.h               |   1 +
>  drivers/net/mlx5/mlx5_flow_hw.c       | 121
> ++++++++++++++++++++++++++
>  3 files changed, 125 insertions(+), 1 deletion(-)
> 
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
> --
> 2.39.2

Series applied to next-net-mlx

Kindest regards
Raslan Darawsheh