Re: [PATCH] net/mlx5/hws: fix range definer error recovery

2024-10-28 Thread Raslan Darawsheh
Hi, From: Gregory Etelson Sent: Sunday, October 27, 2024 3:07 PM To: dev@dpdk.org Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; sta...@dpdk.org; Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad; Alex Vesker Subject: [PATCH] net/mlx5/hws: fix range

[PATCH] net/mlx5/hws: fix range definer error recovery

2024-10-27 Thread Gregory Etelson
PMD did not assign rte_errno value after it discovered an error in matcher range parameters. As a result, the calling function was not notified about the fault. The patch assigns EINVAL to rte_errno if matcher range definition was invalid. Fixes: 9732ffe13bd6 ("net/mlx5/hws: add range definer cre