diff options
author | Bill Fischofer <bill.fischofer@linaro.org> | 2015-07-10 13:03:33 -0500 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-07-15 12:38:32 +0300 |
commit | ed504e5e7b2a014b714cead625669e3f8d3bd448 (patch) | |
tree | 7c71699afe173c27d49485e8304dcd46217c4ca9 /test/performance | |
parent | aae23101df1f23d637dbbd551a63d434c31a092c (diff) |
performance: use odp_queue_param_init routine
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/performance')
-rw-r--r-- | test/performance/odp_l2fwd.c | 1 | ||||
-rw-r--r-- | test/performance/odp_pktio_perf.c | 1 | ||||
-rw-r--r-- | test/performance/odp_scheduling.c | 1 |
3 files changed, 3 insertions, 0 deletions
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 8f61932..b09055f 100644 --- a/test/performance/odp_pktio_perf.c +++ b/test/performance/odp_pktio_perf.c @@ -753,6 +753,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 889ce1c..c425024 100644 --- a/test/performance/odp_scheduling.c +++ b/test/performance/odp_scheduling.c @@ -958,6 +958,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; |