aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2017-04-13 16:10:27 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-04-13 16:10:27 +0100
commit767368187f410afc0752c895399ad30389fd0574 (patch)
tree2f78862242a1a1de91c0b73677032105262ce760
parent7ba2fb47d05b608f3863fda9271894e38b43937a (diff)
downloadsos-767368187f410afc0752c895399ad30389fd0574.tar.gz
[openvswitch] Add additional captures to help debug with DPDK datapath.
"ovs-appctl dpctl/show -s" for DPDK datapath stats "ovs-appctl dpif-netdev/pmd-rxq-show" for port/queue to pmd core mapping "ovs-appctl dpif-netdev/pmd-stats-show" for pmd stats Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Flavio Leitner <fbl@redhat.com>
-rw-r--r--sos/plugins/openvswitch.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index 43124703..9004952e 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -67,7 +67,13 @@ class OpenVSwitch(Plugin):
# Capture upcall information
"ovs-appctl upcall/show",
# Capture DPDK and other parameters
- "ovs-vsctl -t 5 get Open_vSwitch . other_config"
+ "ovs-vsctl -t 5 get Open_vSwitch . other_config",
+ # Capture DPDK datapath packet counters and config
+ "ovs-appctl dpctl/show -s",
+ # Capture DPDK queue to pmd mapping
+ "ovs-appctl dpif-netdev/pmd-rxq-show",
+ # Capture DPDK pmd stats
+ "ovs-appctl dpif-netdev/pmd-stats-show"
])
# Gather systemd services logs