Re: [PATCH net-next 03/14] devlink: Add helpers to lock nested-in instances

From: Jiri Pirko

Date: Thu Nov 20 2025 - 09:52:39 EST


Thu, Nov 20, 2025 at 02:09:15PM +0100, tariqt@xxxxxxxxxx wrote:
>From: Cosmin Ratiu <cratiu@xxxxxxxxxx>
>
>Upcoming code will need to obtain a reference to locked nested-in
>devlink instances. Add helpers to lock, obtain an already locked
>reference and unlock/unref the nested-in instance.
>
>Signed-off-by: Cosmin Ratiu <cratiu@xxxxxxxxxx>
>Reviewed-by: Carolina Jubran <cjubran@xxxxxxxxxx>
>Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>