[sos-devel] [PATCH 1/2] [openvswitch] Add captures for DPDK datapath
Kevin Traynor
ktraynor at redhat.com
Wed Feb 22 10:26:42 UTC 2017
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 at redhat.com>
Acked-by: Flavio Leitner <fbl at redhat.com>
---
sos/plugins/openvswitch.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index 177da89..6d13dc5 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -63,5 +63,11 @@ class OpenVSwitch(Plugin):
"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"
])
--
1.8.3.1
More information about the sos-devel
mailing list