Lines Matching refs:lcore_id
143 unsigned lcore_id = rte_lcore_id(); in timer_stress_cb() local
151 mytimer_reset(&mytiminfo[0], hz, SINGLE, lcore_id, in timer_stress_cb()
156 rte_get_next_lcore(lcore_id, 0, 1), in timer_stress_cb()
168 unsigned lcore_id = rte_lcore_id(); in timer_stress_main_loop() local
184 lcore_id = rte_get_next_lcore(lcore_id, 0, 1); in timer_stress_main_loop()
187 mytimer_reset(&mytiminfo[0], hz/10000, SINGLE, lcore_id, in timer_stress_main_loop()
197 lcore_id = rte_lcore_id(); in timer_stress_main_loop()
198 RTE_LOG(INFO, TESTTIMER, "core %u finished\n", lcore_id); in timer_stress_main_loop()
243 unsigned lcore_id = rte_lcore_id(); in worker_wait_to_start() local
245 rte_wait_until_equal_16(&lcore_state[lcore_id], WORKER_RUN_SIGNAL, __ATOMIC_ACQUIRE); in worker_wait_to_start()
246 __atomic_store_n(&lcore_state[lcore_id], WORKER_RUNNING, __ATOMIC_RELEASE); in worker_wait_to_start()
252 unsigned lcore_id = rte_lcore_id(); in worker_finish() local
254 __atomic_store_n(&lcore_state[lcore_id], WORKER_FINISHED, __ATOMIC_RELEASE); in worker_finish()
277 unsigned int lcore_id = rte_lcore_id(); in timer_stress2_main_loop() local
282 if (lcore_id == main_lcore) { in timer_stress2_main_loop()
319 if (lcore_id == main_lcore) { in timer_stress2_main_loop()
326 if (lcore_id == main_lcore) { in timer_stress2_main_loop()
369 if (lcore_id == main_lcore) { in timer_stress2_main_loop()
385 if (lcore_id == main_lcore) { in timer_stress2_main_loop()
404 unsigned lcore_id = rte_lcore_id(); in timer_basic_cb() local
414 cur_time, timinfo->id, timinfo->count, lcore_id); in timer_basic_cb()
418 mytimer_reset(timinfo, hz, SINGLE, lcore_id, timer_basic_cb); in timer_basic_cb()
425 rte_get_next_lcore(lcore_id, 0, 1), in timer_basic_cb()
450 mytimer_reset(&mytiminfo[0], hz, SINGLE, lcore_id, in timer_basic_cb()
459 unsigned lcore_id = rte_lcore_id(); in timer_basic_main_loop() local
464 if (lcore_id == rte_get_main_lcore()) { in timer_basic_main_loop()
465 mytimer_reset(&mytiminfo[0], hz/4, SINGLE, lcore_id, in timer_basic_main_loop()
467 mytimer_reset(&mytiminfo[1], hz/2, SINGLE, lcore_id, in timer_basic_main_loop()
469 mytimer_reset(&mytiminfo[2], hz/4, PERIODICAL, lcore_id, in timer_basic_main_loop()
472 rte_get_next_lcore(lcore_id, 0, 1), in timer_basic_main_loop()
488 RTE_LOG(INFO, TESTTIMER, "core %u finished\n", lcore_id); in timer_basic_main_loop()