FD.io VPP  v20.01-46-g7006026de
Vector Packet Processing
thread.c File Reference
+ Include dependency graph for thread.c:

Go to the source code of this file.

Functions

static clib_error_tdpdk_launch_thread (void *fp, vlib_worker_thread_t *w, unsigned lcore_id)
 
static clib_error_tdpdk_thread_set_lcore (u32 thread, u16 lcore)
 
static clib_error_tdpdk_thread_init (vlib_main_t *vm)
 

Variables

static vlib_thread_callbacks_t callbacks
 

Function Documentation

◆ dpdk_launch_thread()

static clib_error_t* dpdk_launch_thread ( void *  fp,
vlib_worker_thread_t w,
unsigned  lcore_id 
)
static

Definition at line 49 of file thread.c.

◆ dpdk_thread_init()

static clib_error_t* dpdk_thread_init ( vlib_main_t vm)
static

Definition at line 70 of file thread.c.

+ Here is the call graph for this function:

◆ dpdk_thread_set_lcore()

static clib_error_t* dpdk_thread_set_lcore ( u32  thread,
u16  lcore 
)
static

Definition at line 59 of file thread.c.

Variable Documentation

◆ callbacks

vlib_thread_callbacks_t callbacks
static
Initial value:
= {
.vlib_launch_thread_cb = &dpdk_launch_thread,
.vlib_thread_set_lcore_cb = &dpdk_thread_set_lcore,
}
static clib_error_t * dpdk_thread_set_lcore(u32 thread, u16 lcore)
Definition: thread.c:59
static clib_error_t * dpdk_launch_thread(void *fp, vlib_worker_thread_t *w, unsigned lcore_id)
Definition: thread.c:49

Definition at line 64 of file thread.c.