summaryrefslogtreecommitdiffstats
path: root/src/pre_test.cpp
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2017-03-06 12:37:10 +0200
committerIdo Barnea <ibarnea@cisco.com>2017-03-08 14:21:33 +0200
commit8808908007c3d9058aced34919935a9bafc0b072 (patch)
treeea2aa93c3ebe9fea158e293882ec94ad8477c213 /src/pre_test.cpp
parentf2818b3466937a91e5f5ff696a047dab59d85baa (diff)
Got rid of get_vm_one_queue(). Separated its uses to many small attributes. - second try
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/pre_test.cpp')
-rw-r--r--src/pre_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pre_test.cpp b/src/pre_test.cpp
index 7127645d..a72b7e8e 100644
--- a/src/pre_test.cpp
+++ b/src/pre_test.cpp
@@ -340,9 +340,9 @@ bool CPretest::resolve_all() {
// If we are on loopback, We might get requests on port even after it is in RESOLVE_DONE state
all_resolved = false;
}
- handle_rx(port, MAIN_DPDK_DATA_Q);
- if (! CGlobalInfo::m_options.preview.get_vm_one_queue_enable())
- handle_rx(port, MAIN_DPDK_RX_Q);
+ for (uint16_t queue = 0; queue < m_num_q; queue++) {
+ handle_rx(port, queue);
+ }
}
if (all_resolved) {
break;