[PATCH] net/mlx5: break resource release forever loop

Raslan Darawsheh rasland at nvidia.com
Mon Jun 3 14:00:44 CEST 2024


Hi,

From: Alexander Kozyrev <akozyrev at nvidia.com>
Sent: Thursday, May 30, 2024 12:46 AM
To: dev at dpdk.org
Cc: stable at dpdk.org; Raslan Darawsheh; Slava Ovsiienko; Matan Azrad; Dariusz Sosnowski; Bing Zhao; Ori Kam; Suanming Mou
Subject: [PATCH] net/mlx5: break resource release forever loop

There is a loop inside the flow_hw_resource_release() function
that tries to free all the template patterns and tables until they
are successfully released. But some of the tables may be still in use
in case of the ungraceful application termination. Which causes the
forever loop in the app on the exit. Don't wait for the tables release
and try them to free only once and proceed with the exit.

Fixes: d1559d66ed ("net/mlx5: add table management")
Signed-off-by: Alexander Kozyrev <akozyrev 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