From ad383f3c60ada93aec190e58c377ac96ec136116 Mon Sep 17 00:00:00 2001 From: Kevin Traynor Date: Fri, 25 Aug 2023 13:25:05 +0100 Subject: [PATCH] [openvswitch] Add pmd-sleep-show command Since OVS 3.2 there is a command to capture the sleep configuration of DPDK PMD cores. This shows the maximum amount of time the PMD cores may sleep for under low or no load traffic conditions. Signed-off-by: Kevin Traynor --- sos/report/plugins/openvswitch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sos/report/plugins/openvswitch.py b/sos/report/plugins/openvswitch.py index 98b08cb341..fc0d936bf5 100644 --- a/sos/report/plugins/openvswitch.py +++ b/sos/report/plugins/openvswitch.py @@ -151,7 +151,9 @@ def setup(self): # Capture dpif implementations "ovs-appctl dpif-netdev/dpif-impl-get", # Capture miniflow extract implementations - "ovs-appctl dpif-netdev/miniflow-parser-get" + "ovs-appctl dpif-netdev/miniflow-parser-get", + # Capture DPDK pmd sleep config + "ovs-appctl dpif-netdev/pmd-sleep-show" ]) # Capture DPDK and other parameters self.add_cmd_output("ovs-vsctl -t 5 get Open_vSwitch . other_config",