Hi,

> -----Original Message-----
> From: Bing Zhao <bi...@nvidia.com>
> Sent: Friday, June 30, 2023 12:47 PM
> To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko
> <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; Suanming Mou
> <suanmi...@nvidia.com>; Raslan Darawsheh <rasl...@nvidia.com>
> Cc: dev@dpdk.org; Dariusz Sosnowski <dsosnow...@nvidia.com>;
> sta...@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: dsosnow...@nvidia.com
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Bing Zhao <bi...@nvidia.com>
> Reviewed-by: Suanming Mou <suanmi...@nvidia.com>
> Acked-by: Ori Kam <or...@nvidia.com>
> ---
> v2: add CC stable
> v3: fix the typo

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to