Signed-off-by: Bill Fischofer <[email protected]>
---
 test/performance/odp_l2fwd.c      | 1 +
 test/performance/odp_pktio_perf.c | 1 +
 test/performance/odp_scheduling.c | 1 +
 3 files changed, 3 insertions(+)

diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index 7394dfc..232107f 100644
--- a/test/performance/odp_l2fwd.c
+++ b/test/performance/odp_l2fwd.c
@@ -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;
diff --git a/test/performance/odp_pktio_perf.c 
b/test/performance/odp_pktio_perf.c
index 98511a5..7766346 100644
--- a/test/performance/odp_pktio_perf.c
+++ b/test/performance/odp_pktio_perf.c
@@ -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;
diff --git a/test/performance/odp_scheduling.c 
b/test/performance/odp_scheduling.c
index 8fa7734..ab0019b 100644
--- a/test/performance/odp_scheduling.c
+++ b/test/performance/odp_scheduling.c
@@ -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(&param);
                param.sched.prio  = i;
                param.sched.sync  = ODP_SCHED_SYNC_ATOMIC;
                param.sched.group = ODP_SCHED_GROUP_ALL;
-- 
2.1.4

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to