diff options
author | Kevin Traynor <ktraynor@redhat.com> | 2017-04-13 16:10:27 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-04-13 16:10:27 +0100 |
commit | 767368187f410afc0752c895399ad30389fd0574 (patch) | |
tree | 2f78862242a1a1de91c0b73677032105262ce760 | |
parent | 7ba2fb47d05b608f3863fda9271894e38b43937a (diff) | |
download | sos-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.py | 8 |
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 |