From b4c3b434178ecf1fadde4ee7f5f0d466316ea578 Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Thu, 10 Aug 2023 20:27:40 +0530 Subject: [PATCH] test: sched_pktio: remove unnecessary delay first tick Remove unnecessary delay for the first tick as it might cause ODP_TIMER_TOO_FAR error base on the timer pool created. Signed-off-by: Pavan Nikhilesh --- test/performance/odp_sched_pktio.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/performance/odp_sched_pktio.c b/test/performance/odp_sched_pktio.c index b3356e2b154..9441fcd49ff 100644 --- a/test/performance/odp_sched_pktio.c +++ b/test/performance/odp_sched_pktio.c @@ -26,7 +26,6 @@ #define MIN_PKT_SEG_LEN 64 #define CHECK_PERIOD 10000 #define TEST_PASSED_LIMIT 5000 -#define TIMEOUT_OFFSET_NS 1000000 #define SCHED_MODE_PARAL 1 #define SCHED_MODE_ATOMIC 2 #define SCHED_MODE_ORDER 3 @@ -1337,10 +1336,6 @@ static int start_timers(test_global_t *test_global) if (test_global->opt.timeout_us == 0) return 0; - /* Delay the first timeout so that workers have time to startup */ - timeout_tick += odp_timer_ns_to_tick(test_global->timer.timer_pool, - TIMEOUT_OFFSET_NS); - start_param.tick_type = ODP_TIMER_TICK_REL; start_param.tick = timeout_tick;