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

Raslan Darawsheh rasland at nvidia.com
Mon Oct 28 14:14:40 CET 2024


Hi,

From: Gregory Etelson <getelson at nvidia.com>
Sent: Sunday, October 27, 2024 3:07 PM
To: dev at dpdk.org
Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; stable at dpdk.org; Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad; Alex Vesker
Subject: [PATCH] net/mlx5/hws: fix range definer error recovery

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 creation")

Cc: stable at dpdk.org

Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list