Skip to content

Commit

Permalink
[openvswitch] Add driverctl verbose option
Browse files Browse the repository at this point in the history
driverctl commands give info about which drivers are used
for devices. They list PCI address and driver used e.g.

0000:01:00.0 vfio-pci

This can usually be correlated to the device type through lspci.
However, lspci may not be available if only some plugins were
captured as part of the report.

Even when lspci info is available, it is still convienent to have
the device type co-located with the driver and override information.

Add verbose option to driverctl commands that support it to also
list device type. e.g. (wrapped for line length)

0000:01:00.0 vfio-pci
 (82599ES 10-Gigabit SFI/SFP+ Network Connection
 (Ethernet 10G 4P X520/I350 rNDC))

Signed-off-by: Kevin Traynor <[email protected]>
  • Loading branch information
kevintraynor committed Oct 18, 2023
1 parent fc8333e commit 00d34d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sos/report/plugins/openvswitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ def setup(self):
"dpdk_nic_bind --status",
"dpdk-devbind.py --status",
"driverctl list-devices",
"driverctl -v list-devices",
"driverctl list-overrides",
"driverctl -v list-overrides",
# Capture a list of all bond devices
"ovs-appctl bond/list",
# Capture more details from bond devices
Expand Down

0 comments on commit 00d34d9

Please sign in to comment.