Re: [PATCH] net/mlx5: fix indirect action template error handling

2024-05-27 Thread Raslan Darawsheh
Hi, From: Maayan Kashani 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

[PATCH] net/mlx5: fix indirect action template error handling

2024-05-26 Thread Maayan Kashani
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 t