summaryrefslogtreecommitdiffstats
path: root/src/main_dpdk.cpp
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-01-10 17:24:17 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-01-10 17:24:17 +0200
commitf1c78acf1648abd6c06a070ef4e6465e5478eab8 (patch)
treebf9c218903b1082e39e95037ca1274b5465cd13a /src/main_dpdk.cpp
parent1d074bf3b198c1f160f6e636c21c16c9c833ce61 (diff)
add alloc_error, queue_full, queue_drop stats report via ZMQ
regression: update kiwi02 and trex08 benchmarks add common "scripts_dir" variable for usage in tests configure router with proper MTU in jumbo test add --local flag for not connecting to remote server (useful for functional tests)
Diffstat (limited to 'src/main_dpdk.cpp')
-rwxr-xr-xsrc/main_dpdk.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index d3dcb0c5..aba15c28 100755
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -2319,6 +2319,9 @@ void CGlobalStats::dump_json(std::string & json){
json+=GET_FIELD(m_tx_expected_cps);
json+=GET_FIELD(m_tx_expected_pps);
json+=GET_FIELD(m_tx_expected_bps);
+ json+=GET_FIELD(m_total_alloc_error);
+ json+=GET_FIELD(m_total_queue_full);
+ json+=GET_FIELD(m_total_queue_drop);
json+=GET_FIELD(m_rx_drop_bps);
json+=GET_FIELD(m_active_flows);
json+=GET_FIELD(m_open_flows);