aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2021-08-26 12:49:34 +0100
committerJake Hunsaker <jhunsake@redhat.com>2021-08-30 10:27:33 -0400
commitbc77edfa5fec83b94026b735b4a581d1067bac21 (patch)
treeba9724e4dd37bfc78e3f8f60bfd6962de825b072
parente3001f8dc9ef204c4176050178733396f3ee15ec (diff)
downloadsos-bc77edfa5fec83b94026b735b4a581d1067bac21.tar.gz
[openvswitch] Get userspace datapath implementations
OVS has options for the userspace datapath so certain functionality can use implementations based on SIMD instructions if available. Add some commands which show the implementations available and used. Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
-rw-r--r--sos/report/plugins/openvswitch.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/sos/report/plugins/openvswitch.py b/sos/report/plugins/openvswitch.py
index 148b4d16..cd897db2 100644
--- a/sos/report/plugins/openvswitch.py
+++ b/sos/report/plugins/openvswitch.py
@@ -131,7 +131,13 @@ class OpenVSwitch(Plugin):
# Capture OVS offload enabled flows
"ovs-dpctl dump-flows --name -m type=offloaded",
# Capture OVS slowdatapth flows
- "ovs-dpctl dump-flows --name -m type=ovs"
+ "ovs-dpctl dump-flows --name -m type=ovs",
+ # Capture dpcls implementations
+ "ovs-appctl dpif-netdev/subtable-lookup-prio-get",
+ # Capture dpif implementations
+ "ovs-appctl dpif-netdev/dpif-impl-get",
+ # Capture miniflow extract implementations
+ "ovs-appctl dpif-netdev/miniflow-parser-get"
])
# Gather systemd services logs