FD.io VPP  v16.06
Vector Packet Processing
threads.c File Reference
+ Include dependency graph for threads.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 

Functions

static int vlib_frame_queue_dequeue_internal (vlib_main_t *vm)
 
int dpdk_frame_queue_dequeue (vlib_main_t *vm)
 
static_always_inline void dpdk_worker_thread_internal (vlib_main_t *vm, dpdk_worker_thread_callback_t callback, int have_io_threads)
 
void dpdk_worker_thread (vlib_worker_thread_t *w, char *io_name, dpdk_worker_thread_callback_t callback)
 
void dpdk_worker_thread_fn (void *arg)
 
 VLIB_REGISTER_THREAD (worker_thread_reg, static)
 
void dpdk_io_thread_fn (void *arg)
 
 VLIB_REGISTER_THREAD (io_thread_reg, static)
 
static clib_error_tdpdk_thread_init (vlib_main_t *vm)
 

Macro Definition Documentation

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 33 of file threads.c.

#define vl_printfun

Definition at line 34 of file threads.c.

#define vl_typedefs   /* define message structures */

Definition at line 28 of file threads.c.

Function Documentation

int dpdk_frame_queue_dequeue ( vlib_main_t vm)

Definition at line 169 of file threads.c.

+ Here is the call graph for this function:

void dpdk_io_thread_fn ( void arg)

Definition at line 283 of file threads.c.

+ Here is the call graph for this function:

static clib_error_t* dpdk_thread_init ( vlib_main_t vm)
static

Definition at line 299 of file threads.c.

void dpdk_worker_thread ( vlib_worker_thread_t w,
char *  io_name,
dpdk_worker_thread_callback_t  callback 
)

Definition at line 237 of file threads.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_worker_thread_fn ( void arg)

Definition at line 268 of file threads.c.

+ Here is the call graph for this function:

static_always_inline void dpdk_worker_thread_internal ( vlib_main_t vm,
dpdk_worker_thread_callback_t  callback,
int  have_io_threads 
)

Definition at line 187 of file threads.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int vlib_frame_queue_dequeue_internal ( vlib_main_t vm)
inlinestatic

Definition at line 44 of file threads.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VLIB_REGISTER_THREAD ( worker_thread_reg  ,
static   
)

+ Here is the caller graph for this function:

VLIB_REGISTER_THREAD ( io_thread_reg  ,
static   
)