Re: [PATCH net-next V2 1/7] devlink: Refactor resource functions to be generic
From: Jiri Pirko
Date: Fri Feb 06 2026 - 04:22:35 EST
Thu, Feb 05, 2026 at 03:28:27PM +0100, tariqt@xxxxxxxxxx wrote:
>From: Or Har-Toov <ohartoov@xxxxxxxxxx>
>
>Currently the resource functions take devlink pointer as parameter
>and take the resource list from there.
>Allows the resource functions to work with other resource lists
s/Allows/Allow/ ?
>that will be added in next patches and not only with the devlink's
>resource list.
>
>Signed-off-by: Or Har-Toov <ohartoov@xxxxxxxxxx>
>Reviewed-by: Shay Drori <shayd@xxxxxxxxxx>
>Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>
Otherwise, the code looks fine to me:
Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>