aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2023-10-18 10:38:47 +0100
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2023-10-20 08:58:21 -0700
commitab36ea641f6c2145ef8a52dcb3e70abb5ee8e9b9 (patch)
tree82fbcb425a3a05eb94c82a5eb244e8e39f39f3f1
parent5a285e67de2af9e9b41844fb9d519ac333f2ce12 (diff)
downloadsos-ab36ea641f6c2145ef8a52dcb3e70abb5ee8e9b9.tar.gz
[openvswitch] Add driverctl verbose option
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 <ktraynor@redhat.com>
-rw-r--r--sos/report/plugins/openvswitch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/report/plugins/openvswitch.py b/sos/report/plugins/openvswitch.py
index 67a0afc9..eec6f7ce 100644
--- a/sos/report/plugins/openvswitch.py
+++ b/sos/report/plugins/openvswitch.py
@@ -102,7 +102,9 @@ class OpenVSwitch(Plugin):
"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