Skip to content

Commit

Permalink
[openvswitch] Add DPDK info commands
Browse files Browse the repository at this point in the history
Add commands that report info about DPDK lcore usage,
log levels and memory usage.

Signed-off-by: Kevin Traynor <[email protected]>
  • Loading branch information
kevintraynor authored and TurboTurtle committed Sep 23, 2023
1 parent 62b4cec commit f11bc90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sos/report/plugins/openvswitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ def setup(self):
# Capture miniflow extract implementations
"ovs-appctl dpif-netdev/miniflow-parser-get",
# Capture DPDK pmd sleep config
"ovs-appctl dpif-netdev/pmd-sleep-show"
"ovs-appctl dpif-netdev/pmd-sleep-show",
# Capture additional DPDK info
"ovs-appctl dpdk/lcore-list",
"ovs-appctl dpdk/log-list",
"ovs-appctl dpdk/get-malloc-stats"
])
# Capture DPDK and other parameters
self.add_cmd_output("ovs-vsctl -t 5 get Open_vSwitch . other_config",
Expand Down

0 comments on commit f11bc90

Please sign in to comment.