[PATCH v2 0/4] net/mlx5: support non template SAMPLE flow action

Gregory Etelson getelson at nvidia.com
Thu Jun 26 09:59:40 CEST 2025


Support SAMPLE flow action in the non-template API. 

Bing Zhao (1):
  net/mlx5: fix the table flags of mirror action

Gregory Etelson (3):
  net/mlx5: add a stand alone function for mirror creation
  net/mlx5: add functions for non template sample action
  net/mlx5: support non-template SAMPLE flow action

 drivers/net/mlx5/meson.build       |   1 +
 drivers/net/mlx5/mlx5.c            |   1 +
 drivers/net/mlx5/mlx5.h            |   7 +
 drivers/net/mlx5/mlx5_flow.h       |  46 ++
 drivers/net/mlx5/mlx5_flow_hw.c    |  96 ++--
 drivers/net/mlx5/mlx5_nta_sample.c | 857 +++++++++++++++++++++++++++++
 drivers/net/mlx5/mlx5_nta_sample.h |  25 +
 7 files changed, 1001 insertions(+), 32 deletions(-)
 create mode 100644 drivers/net/mlx5/mlx5_nta_sample.c
 create mode 100644 drivers/net/mlx5/mlx5_nta_sample.h

Signed-off-by: Bing Zhao <bingz at nvidia.com>
Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
--
v2: Fix the action destruction.
-- 
2.48.1



More information about the dev mailing list