FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
buffer_funcs.c File Reference
+ Include dependency graph for buffer_funcs.c:

Go to the source code of this file.

Functions

static_always_inline u32 enqueue_one (vlib_main_t *vm, vlib_node_runtime_t *node, u64 *used_elt_bmp, u16 next_index, u32 *buffers, u16 *nexts, u32 n_buffers, u32 n_left, u32 *tmp)
 
 CLIB_MARCH_FN_REGISTRATION (vlib_buffer_enqueue_to_next_fn)
 
 CLIB_MARCH_FN_REGISTRATION (vlib_buffer_enqueue_to_single_next_fn)
 
static vlib_frame_queue_elt_tvlib_get_frame_queue_elt (vlib_frame_queue_main_t *fqm, u32 index, int dont_wait)
 
static_always_inline u32 vlib_buffer_enqueue_to_thread_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_queue_main_t *fqm, u32 *buffer_indices, u16 *thread_indices, u32 n_packets, int drop_on_congestion)
 
 CLIB_MARCH_FN_REGISTRATION (vlib_buffer_enqueue_to_thread_fn)
 
 CLIB_MARCH_FN_REGISTRATION (vlib_frame_queue_dequeue_fn)
 
static clib_error_tvlib_buffer_funcs_init (vlib_main_t *vm)
 

Variables

vlib_buffer_func_main_t vlib_buffer_func_main
 

Function Documentation

◆ CLIB_MARCH_FN_REGISTRATION() [1/4]

CLIB_MARCH_FN_REGISTRATION ( vlib_buffer_enqueue_to_next_fn  )

◆ CLIB_MARCH_FN_REGISTRATION() [2/4]

CLIB_MARCH_FN_REGISTRATION ( vlib_buffer_enqueue_to_single_next_fn  )

◆ CLIB_MARCH_FN_REGISTRATION() [3/4]

CLIB_MARCH_FN_REGISTRATION ( vlib_buffer_enqueue_to_thread_fn  )

◆ CLIB_MARCH_FN_REGISTRATION() [4/4]

CLIB_MARCH_FN_REGISTRATION ( vlib_frame_queue_dequeue_fn  )

◆ enqueue_one()

static_always_inline u32 enqueue_one ( vlib_main_t vm,
vlib_node_runtime_t node,
u64 used_elt_bmp,
u16  next_index,
u32 buffers,
u16 nexts,
u32  n_buffers,
u32  n_left,
u32 tmp 
)

Definition at line 11 of file buffer_funcs.c.

+ Here is the call graph for this function:

◆ vlib_buffer_enqueue_to_thread_inline()

static_always_inline u32 vlib_buffer_enqueue_to_thread_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_queue_main_t fqm,
u32 buffer_indices,
u16 thread_indices,
u32  n_packets,
int  drop_on_congestion 
)

Definition at line 204 of file buffer_funcs.c.

+ Here is the call graph for this function:

◆ vlib_buffer_funcs_init()

static clib_error_t* vlib_buffer_funcs_init ( vlib_main_t vm)
static

Definition at line 422 of file buffer_funcs.c.

◆ vlib_get_frame_queue_elt()

static vlib_frame_queue_elt_t* vlib_get_frame_queue_elt ( vlib_frame_queue_main_t fqm,
u32  index,
int  dont_wait 
)
inlinestatic

Definition at line 172 of file buffer_funcs.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ vlib_buffer_func_main

vlib_buffer_func_main_t vlib_buffer_func_main

Definition at line 419 of file buffer_funcs.c.