Re: [PATCH net-next V2 1/7] devlink: Refactor resource functions to be generic

From
Jiri Pirko <jiri@resnulli.us>
Date
2026-02-06 09:19:36
Also in
linux-doc, linux-kselftest, linux-rdma, lkml
Reply to
Tariq Toukan, 2026-02-05
Thu, Feb 05, 2026 at 03:28:27PM +0100, tariqt@nvidia.com wrote:
From: Or Har-Toov <redacted>

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 <redacted>
Reviewed-by: Shay Drori <redacted>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Otherwise, the code looks fine to me:

Reviewed-by: Jiri Pirko <redacted>
Thread (17 messages) 17 messages, 3 authors, last reply 2026-02-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help