@@ -292,6 +292,7 @@ static odp_pktio_t create_pktio(const char *dev, odp_pool_t pool,
if (mode == APPL_MODE_PKT_BURST)
return pktio;
+ odp_queue_param_init(&qparam);
qparam.sched.prio = ODP_SCHED_PRIO_DEFAULT;
qparam.sched.sync = ODP_SCHED_SYNC_ATOMIC;
qparam.sched.group = ODP_SCHED_GROUP_ALL;
@@ -745,6 +745,7 @@ static int test_init(void)
}
/* create and associate an input queue for the RX side */
+ odp_queue_param_init(&qparam);
qparam.sched.prio = ODP_SCHED_PRIO_DEFAULT;
qparam.sched.sync = ODP_SCHED_SYNC_NONE;
qparam.sched.group = ODP_SCHED_GROUP_ALL;
@@ -954,6 +954,7 @@ int main(int argc, char *argv[])
name[6] = '0' + i/10;
name[7] = '0' + i - 10*(i/10);
+ odp_queue_param_init(¶m);
param.sched.prio = i;
param.sched.sync = ODP_SCHED_SYNC_ATOMIC;
param.sched.group = ODP_SCHED_GROUP_ALL;
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- test/performance/odp_l2fwd.c | 1 + test/performance/odp_pktio_perf.c | 1 + test/performance/odp_scheduling.c | 1 + 3 files changed, 3 insertions(+)