Hi, From: Gregory Etelson <getel...@nvidia.com> Sent: Sunday, October 27, 2024 7:26 AM To: dev@dpdk.org Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad Subject: [PATCH] net/mlx5: fix raw encap validation
In SWS, `mlx5_flow_dv_validate_action_raw_encap_decap` is called for flow action. The action validation checks for both size and data parameters. In HWS, `mlx5_flow_dv_validate_action_raw_encap_decap` is called for the action template and validates the action mask. The patch separates encap validation in `mlx5_flow_dv_validate_action_raw_encap_decap` for SWS and HWS cases. Fixes: cbfa4ed03913 ("net/mlx5: update flow actions validation before template creation") Signed-off-by: Gregory Etelson <getel...@nvidia.com> Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh