[API-NEXT,v9,1/6] test: odp_pktio_ordered: add queue size

Message ID 20170619191247.51385-2-brian.brooks@arm.com
State Superseded
Headers show
Series
  • A scalable software scheduler
Related show

Commit Message

Brian Brooks June 19, 2017, 7:12 p.m.
Signed-off-by: Brian Brooks <brian.brooks@arm.com>

---
 test/common_plat/performance/odp_pktio_ordered.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.13.1

Patch hide | download patch | download mbox

diff --git a/test/common_plat/performance/odp_pktio_ordered.c b/test/common_plat/performance/odp_pktio_ordered.c
index 4bb0bef9..50bfef51 100644
--- a/test/common_plat/performance/odp_pktio_ordered.c
+++ b/test/common_plat/performance/odp_pktio_ordered.c
@@ -91,6 +91,9 @@ 
 /** Maximum number of pktio queues per interface */
 #define MAX_QUEUES		32
 
+/** Seems to need at least 8192 elements per queue */
+#define QUEUE_SIZE		8192
+
 /** Maximum number of pktio interfaces */
 #define MAX_PKTIOS		8
 
@@ -1232,6 +1235,7 @@  int main(int argc, char *argv[])
 			qparam.sched.prio = ODP_SCHED_PRIO_DEFAULT;
 			qparam.sched.sync = ODP_SCHED_SYNC_ATOMIC;
 			qparam.sched.group = ODP_SCHED_GROUP_ALL;
+			qparam.size	  = QUEUE_SIZE;
 
 			gbl_args->flow_qcontext[i][j].idx = i;
 			gbl_args->flow_qcontext[i][j].input_queue = 0;