diff options
| author | 2026-04-07 22:41:06 +0300 | |
|---|---|---|
| committer | 2026-04-08 19:55:39 -0700 | |
| commit | 2a8e91235254862aa1d99434c6105aec65cd8e42 (patch) | |
| tree | 1c799c4aa38ea2954c5888611d88567105c95232 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | devlink: Add resource scope filtering to resource dump (diff) | |
selftest: netdevsim: Add resource dump and scope filter test
Add resource_dump_test() which verifies dumping resources for all
devices and ports, and tests that scope=dev returns only device-level
resources and scope=port returns only port resources.
Skip if userspace does not support the scope parameter.
Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260407194107.148063-12-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
