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

Gregory Etelson getelson at nvidia.com
Mon Feb 12 14:59:09 CET 2024


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 at nvidia.com>
-- 
2.39.2



More information about the dev mailing list