Hi, From: Maayan Kashani <mkash...@nvidia.com> Sent: Sunday, May 26, 2024 4:22 PM To: dev@dpdk.org Cc: Maayan Kashani; Suanming Mou; Raslan Darawsheh; sta...@dpdk.org; 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: sta...@dpdk.org Signed-off-by: Maayan Kashani <mkash...@nvidia.com> Acked-by: Suanming Mou <suanmi...@nvidia.com> Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh