aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_sched_pktio.c
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2021-05-27 15:39:50 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2021-06-01 08:48:04 +0300
commit1278ee070deddccee5cc0e08fdd000ad7d515a67 (patch)
tree16eb7f33a631fb6f4633ad306fac246ee47e8b83 /test/performance/odp_sched_pktio.c
parent5fa553a1430e32ed1a2bd929f71273c1f73ca1ad (diff)
test: sched_pktio: use new timer set return codes
Use the new timer set return codes: ODP_TIMER_TOO_NEAR, ODP_TIMER_TOO_FAR and ODP_TIMER_FAIL. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test/performance/odp_sched_pktio.c')
-rw-r--r--test/performance/odp_sched_pktio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/odp_sched_pktio.c b/test/performance/odp_sched_pktio.c
index 5d8ac7fc3..cbdbdf4aa 100644
--- a/test/performance/odp_sched_pktio.c
+++ b/test/performance/odp_sched_pktio.c
@@ -490,7 +490,7 @@ static int worker_thread_timers(void *arg)
ret = odp_timer_set_rel(timer, tick, NULL);
if (odp_unlikely(ret != ODP_TIMER_SUCCESS &&
- ret != ODP_TIMER_NOEVENT)) {
+ ret != ODP_TIMER_FAIL)) {
/* Tick period is too short or long. Normally,
* reset either succeeds or fails due to timer
* expiration, in which case timeout event will