summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2026-08-03 12:00:12 +0300
committerJakub Kicinski <kuba@kernel.org>2026-08-05 16:39:54 -0700
commitcb59bfd419d0c560b9f7273522f9a4799062aad5 (patch)
tree038fcdca4c9055e38f3049f047c21082dbc82efd /tools/perf/scripts/python
parent419ce0a308011a077419513596747edddb57eacf (diff)
devlink: Expose external flag for PCI SF ports
The external flag is part of the PCI SF port attributes, but unlike the PCI PF and PCI VF flavours it was never filled into the port dump, so userspace could not query it directly. Reporting of the external flag was missed for SF ports. Hence, put DEVLINK_ATTR_PORT_EXTERNAL for the PCI SF flavour as well, matching what PCI PF and PCI VF ports already report. $ devlink port show pci/0033:01:00.0/163840 pci/0033:01:00.0/163840: type eth netdev eth1 flavour pcisf controller 1 pfnum 0 sfnum 77 external true splittable false Reviewed-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Shay Drory <shayd@nvidia.com> Link: https://patch.msgid.link/20260803090012.257242-1-shayd@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions