Hi,

> -----Original Message-----
> From: Bing Zhao <[email protected]>
> Sent: Friday, June 30, 2023 12:47 PM
> To: Matan Azrad <[email protected]>; Slava Ovsiienko
> <[email protected]>; Ori Kam <[email protected]>; Suanming Mou
> <[email protected]>; Raslan Darawsheh <[email protected]>
> Cc: [email protected]; Dariusz Sosnowski <[email protected]>;
> [email protected]
> Subject: [PATCH v3] net/mlx5: fix the error set in control tables create
> 
> When some failure occurs in the flow_hw_create_ctrl_tables(), the
> "rte_flow_error" should be set properly with all needed information.
> Then the rte_errno and the "message" will reflect the actual failure.
> 
> This will also solve the crash when trying to access the "message".
> 
> Fixes: 1939eb6f660c ("net/mlx5: support flow port action with HWS")
> Fixes: 483181f7b6dd ("net/mlx5: support device control of representor
> matching")
> Fixes: ddb68e47331e ("net/mlx5: add extended metadata mode for HWS")
> Cc: [email protected]
> Cc: [email protected]
> 
> Signed-off-by: Bing Zhao <[email protected]>
> Reviewed-by: Suanming Mou <[email protected]>
> Acked-by: Ori Kam <[email protected]>
> ---
> v2: add CC stable
> v3: fix the typo

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to