Lines Matching refs:thread_id
154 thread_is_running(uint32_t thread_id) in thread_is_running() argument
158 thread_state = rte_eal_get_lcore_state(thread_id); in thread_is_running()
209 thread_msg_send_recv(uint32_t thread_id, in thread_msg_send_recv() argument
212 struct thread *t = &thread[thread_id]; in thread_msg_send_recv()
232 thread_pipeline_enable(uint32_t thread_id, in thread_pipeline_enable() argument
243 if ((thread_id >= RTE_MAX_LCORE) || in thread_pipeline_enable()
247 t = &thread[thread_id]; in thread_pipeline_enable()
251 if (!thread_is_running(thread_id)) { in thread_pipeline_enable()
252 struct thread_data *td = &thread_data[thread_id]; in thread_pipeline_enable()
269 p->thread_id = thread_id; in thread_pipeline_enable()
286 rsp = thread_msg_send_recv(thread_id, req); in thread_pipeline_enable()
298 p->thread_id = thread_id; in thread_pipeline_enable()
305 thread_pipeline_disable(uint32_t thread_id, in thread_pipeline_disable() argument
316 if ((thread_id >= RTE_MAX_LCORE) || in thread_pipeline_disable()
320 t = &thread[thread_id]; in thread_pipeline_disable()
327 if (p->thread_id != thread_id) in thread_pipeline_disable()
330 if (!thread_is_running(thread_id)) { in thread_pipeline_disable()
331 struct thread_data *td = &thread_data[thread_id]; in thread_pipeline_disable()
372 rsp = thread_msg_send_recv(thread_id, req); in thread_pipeline_disable()
516 uint32_t thread_id, i; in thread_main() local
518 thread_id = rte_lcore_id(); in thread_main()
519 t = &thread_data[thread_id]; in thread_main()