FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Data Structures

struct  memif_input_trace_t
 

Macros

#define foreach_memif_input_error
 

Enumerations

enum  memif_input_error_t { MEMIF_INPUT_N_ERROR }
 

Functions

static u8format_memif_input_trace (u8 *s, va_list *args)
 
static_always_inline void memif_prefetch (vlib_main_t *vm, u32 bi)
 
static_always_inline uword memif_device_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, memif_if_t *mif, memif_ring_type_t type)
 
static uword memif_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static char * memif_input_error_strings []
 
vlib_node_registration_t memif_input_node
 (constructor) VLIB_REGISTER_NODE (memif_input_node) More...
 

Macro Definition Documentation

#define foreach_memif_input_error

Definition at line 32 of file node.c.

Enumeration Type Documentation

Enumerator
MEMIF_INPUT_N_ERROR 

Definition at line 34 of file node.c.

Function Documentation

static u8* format_memif_input_trace ( u8 s,
va_list *  args 
)
static

Definition at line 56 of file node.c.

+ Here is the call graph for this function:

static_always_inline uword memif_device_input_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
memif_if_t mif,
memif_ring_type_t  type 
)

Definition at line 79 of file node.c.

+ Here is the call graph for this function:

static uword memif_input_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 326 of file node.c.

+ Here is the call graph for this function:

static_always_inline void memif_prefetch ( vlib_main_t vm,
u32  bi 
)

Definition at line 71 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

char* memif_input_error_strings[]
static
Initial value:
= {
#define _(n,s)
}
#define foreach_memif_input_error
Definition: node.c:32

Definition at line 42 of file node.c.

vlib_node_registration_t memif_input_node
Initial value:
= {
.function = memif_input_fn,
.name = "memif-input",
.sibling_of = "device-input",
.format_trace = format_memif_input_trace,
.state = VLIB_NODE_STATE_INTERRUPT,
.n_errors = MEMIF_INPUT_N_ERROR,
.error_strings = memif_input_error_strings,
}
static u8 * format_memif_input_trace(u8 *s, va_list *args)
Definition: node.c:56
static uword memif_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node.c:326
static char * memif_input_error_strings[]
Definition: node.c:42

(constructor) VLIB_REGISTER_NODE (memif_input_node)

Definition at line 358 of file node.c.