[PATCH v3] net/mlx5: fix the error set in control tables create
Raslan Darawsheh
rasland at nvidia.com
Mon Jul 3 12:42:33 CEST 2023
Hi,
> -----Original Message-----
> From: Bing Zhao <bingz at nvidia.com>
> Sent: Friday, June 30, 2023 12:47 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>
> Cc: dev at dpdk.org; Dariusz Sosnowski <dsosnowski at nvidia.com>;
> stable at dpdk.org
> 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: dsosnowski at nvidia.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Bing Zhao <bingz at nvidia.com>
> Reviewed-by: Suanming Mou <suanmingm at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>
> ---
> v2: add CC stable
> v3: fix the typo
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the stable
mailing list