> -----Original Message----- > From: Gregory Etelson <[email protected]> > Sent: Sunday, October 27, 2024 06:26 > To: [email protected] > Cc: Gregory Etelson <[email protected]>; Maayan Kashani > <[email protected]>; Raslan Darawsheh <[email protected]>; Dariusz > Sosnowski <[email protected]>; Slava Ovsiienko > <[email protected]>; Bing Zhao <[email protected]>; Ori Kam > <[email protected]>; Suanming Mou <[email protected]>; Matan > Azrad <[email protected]> > 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 <[email protected]>
Acked-by: Dariusz Sosnowski <[email protected]> Best regards, Dariusz Sosnowski

