Skip to content

Commit

Permalink
[openvswitch] Add pmd-sleep-show command
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kevintraynor committed Aug 25, 2023
1 parent e11a594 commit 5e83778
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sos/report/plugins/openvswitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5e83778

Please sign in to comment.