Hi,

From: Maayan Kashani <[email protected]>
Sent: Sunday, May 26, 2024 4:22 PM
To: [email protected]
Cc: Maayan Kashani; Suanming Mou; Raslan Darawsheh; [email protected]; Dariusz 
Sosnowski; Slava Ovsiienko; Ori Kam; Matan Azrad
Subject: [PATCH] net/mlx5: fix indirect action template error handling

For indirect action type, on  error case the function jumped to err
but returned zero cause rte_errno was not initialized before the jump.
It caused no error in table creation.

In case reaching an error, if rte_errno is not initialized,
it will be set to EINVAL.
Now table creation should fail if the translate of the action fails.
Added driver log warnings so it can be easy to track failure on shared
actions translate.

Fixes: 7ab3962d2d2b ("net/mlx5: add indirect HW steering action")
Cc: [email protected]
Signed-off-by: Maayan Kashani <[email protected]>
Acked-by: Suanming Mou <[email protected]>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to