RE: [PATCH v3] net/mlx5: fix the error set in control tables create

2023-07-03 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Friday, June 30, 2023 12:47 PM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; Raslan Darawsheh > Cc: dev@dpdk.org; Dariusz Sosnowski ; > sta...@dpdk.org > Subject: [PATCH v3] net/mlx5: f

[PATCH v3] net/mlx5: fix the error set in control tables create

2023-06-30 Thread Bing Zhao
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 ("ne