Files
ack-tegra/include/uapi/linux
Or Har-Toov 1bc45341a6 devlink: Add resource scope filtering to resource dump
Allow filtering the resource dump to device-level or port-level
resources using the 'scope' option.

Example - dump only device-level resources:

  $ devlink resource show scope dev
  pci/0000:03:00.0:
    name max_local_SFs size 128 unit entry dpipe_tables none
    name max_external_SFs size 128 unit entry dpipe_tables none
  pci/0000:03:00.1:
    name max_local_SFs size 128 unit entry dpipe_tables none
    name max_external_SFs size 128 unit entry dpipe_tables none

Example - dump only port-level resources:

  $ devlink resource show scope port
  pci/0000:03:00.0/196608:
    name max_SFs size 128 unit entry dpipe_tables none
  pci/0000:03:00.0/196609:
    name max_SFs size 128 unit entry dpipe_tables none
  pci/0000:03:00.1/196708:
    name max_SFs size 128 unit entry dpipe_tables none
  pci/0000:03:00.1/196709:
    name max_SFs size 128 unit entry dpipe_tables none

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-11-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-04-08 19:55:39 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-02-05 13:22:04 +09:00
…
…
…
…
…
…
…
…
…
…
2026-03-05 16:26:52 +01:00
…
…
2026-01-18 11:22:53 -05:00
2025-02-12 02:29:30 +00:00
…
2025-10-28 22:59:19 +01:00
…
…
…
2025-11-25 19:20:42 -08:00
…
…
…
2025-09-05 09:11:28 +02:00
2025-05-03 12:02:09 +02:00
2025-11-24 17:52:11 +01:00
2025-11-24 17:52:11 +01:00
…
…
…
…
…
…
…
…
…
…
2025-11-29 21:39:58 +09:00
…
…
…
2025-12-23 12:29:14 +05:30
…
…
…
…
…
…
…
…
…
…
2025-12-18 21:34:42 -08:00
2025-09-15 14:32:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-01-12 16:52:09 +01:00
…
…
2025-07-08 12:39:24 +02:00
…
…
…
…
…
…
…
2026-01-16 19:21:40 +01:00
…
2026-02-06 20:35:06 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
2026-02-27 19:21:56 -08:00
…
…
…
…
2025-11-03 17:41:18 +01:00
…
2025-01-08 13:18:11 +01:00
…
…
…
…
…
…
…
…
…
…
…
2025-10-30 14:25:14 +01:00
…
…
…
…
…
…
…
…
2025-11-25 19:20:42 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
2025-02-25 18:14:03 -08:00
…
…
…
…
…
…
…
…
2026-01-26 19:07:10 -08:00
…
…
…
2025-07-14 18:41:42 -07:00
…
…
…
…
…
…
…
…
…
…
…
2025-06-19 14:28:22 +02:00
…
…
…
2025-05-21 13:41:03 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-02-09 12:21:32 -05:00
…
…
2025-09-22 09:29:28 +01:00
2025-11-30 18:02:43 -05:00
2025-05-27 10:27:54 -04:00
2025-09-22 09:29:29 +01:00
…
…
…
…
…