DPDK  19.11.1
rte_launch.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2014 Intel Corporation
3  */
4 
5 #ifndef _RTE_LAUNCH_H_
6 #define _RTE_LAUNCH_H_
7 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
22  WAIT,
25 };
26 
30 typedef int (lcore_function_t)(void *);
31 
65 int rte_eal_remote_launch(lcore_function_t *f, void *arg, unsigned slave_id);
66 
74 };
75 
98  enum rte_rmt_call_master_t call_master);
99 
110 enum rte_lcore_state_t rte_eal_get_lcore_state(unsigned slave_id);
111 
130 int rte_eal_wait_lcore(unsigned slave_id);
131 
142 void rte_eal_mp_wait_lcore(void);
143 
144 #ifdef __cplusplus
145 }
146 #endif
147 
148 #endif /* _RTE_LAUNCH_H_ */
SKIP_MASTER
@ SKIP_MASTER
Definition: rte_launch.h:72
rte_eal_mp_wait_lcore
void rte_eal_mp_wait_lcore(void)
rte_rmt_call_master_t
rte_rmt_call_master_t
Definition: rte_launch.h:71
WAIT
@ WAIT
Definition: rte_launch.h:22
rte_eal_mp_remote_launch
int rte_eal_mp_remote_launch(lcore_function_t *f, void *arg, enum rte_rmt_call_master_t call_master)
rte_eal_get_lcore_state
enum rte_lcore_state_t rte_eal_get_lcore_state(unsigned slave_id)
FINISHED
@ FINISHED
Definition: rte_launch.h:24
CALL_MASTER
@ CALL_MASTER
Definition: rte_launch.h:73
rte_lcore_state_t
rte_lcore_state_t
Definition: rte_launch.h:21
RUNNING
@ RUNNING
Definition: rte_launch.h:23
rte_eal_remote_launch
int rte_eal_remote_launch(lcore_function_t *f, void *arg, unsigned slave_id)
rte_eal_wait_lcore
int rte_eal_wait_lcore(unsigned slave_id)
lcore_function_t
int() lcore_function_t(void *)
Definition: rte_launch.h:30