16 #include <rte_config.h> 18 #include <rte_common.h> 20 #include <rte_memory.h> 21 #include <rte_memzone.h> 22 #include <rte_tailq.h> 24 #include <rte_per_lcore.h> 25 #include <rte_launch.h> 26 #include <rte_atomic.h> 27 #include <rte_cycles.h> 28 #include <rte_prefetch.h> 29 #include <rte_lcore.h> 30 #include <rte_per_lcore.h> 31 #include <rte_branch_prediction.h> 32 #include <rte_interrupts.h> 34 #include <rte_random.h> 35 #include <rte_debug.h> 36 #include <rte_ether.h> 37 #include <rte_ethdev.h> 39 #include <rte_mempool.h> 41 #include <rte_version.h> 52 r = rte_eal_remote_launch (fp, (
void *) w, lcore_id);
#define VLIB_INIT_FUNCTION(x)
static clib_error_t * dpdk_thread_init(vlib_main_t *vm)
#define clib_error_return(e, args...)
static clib_error_t * dpdk_thread_set_lcore(u32 thread, u16 lcore)
int vlib_thread_cb_register(struct vlib_main_t *vm, vlib_thread_callbacks_t *cb)
clib_error_t *(* vlib_launch_thread_cb)(void *fp, vlib_worker_thread_t *w, unsigned lcore_id)
static clib_error_t * dpdk_launch_thread(void *fp, vlib_worker_thread_t *w, unsigned lcore_id)