# Re: \[PATCH net-next V3 00/10\] devlink: add per-port resource support

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2026-03-11 21:51:43 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/03/3454244
- Thread: https://ratatoskr.run/netdev/2026/02/3429864/t.md

```text
On Wed, 11 Mar 2026 20:24:08 +0200 Or Har-Toov wrote:
> For the dump-it command:
> devlink resource show
> pci/0000:03:00.0:
> <resource>
> pci/0000:03:00.0/196608:
> <port-resource>
> pci/0000:03:00.0/196609:
> <port-resource>
> pci/0000:03:00.1:
> <resource>
> pci/0000:03:00.1/262144:
> <port-resource>
> 
> devlink resource show scope port
> pci/0000:03:00.0/196608:
> <port-resource>
> pci/0000:03:00.0/196609:
> <port-resource>
> pci/0000:03:00.1/262144:
> <port-resource>
> 
> devlink resource show scope dev
> pci/0000:03:00.0:
> <resource>
> pci/0000:03:00.1:
> <resource>

LGTM

> For the do-it command:
> devlink resource show pci/0000:03:00.0
> pci/0000:03:00.0:
> <resource>
> pci/0000:03:00.0/196608:
> <port-resource>
> pci/0000:03:00.0/196609:
> <port-resource>
> 
> devlink resource show pci/0000:03:00.0 scope port
> pci/0000:03:00.0/196608:
> <port-resource>
> pci/0000:03:00.0/196609:
> <port-resource>
> 
> devlink resource show pci/0000:03:00.0  scope dev
> pci/0000:03:00.0:
> <resource>

Do we have to touch doit? Maybe we should let doit be what it is now
and consider it legacy going forward? doit which is in fact a filtered
dump is a bit of a mistake in the first place, from Netlink's
perspective.
```
