FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Data Structures

struct  virtio_input_trace_t
 

Macros

#define foreach_virtio_input_error   _(UNKNOWN, "unknown")
 

Enumerations

enum  virtio_input_error_t { TAP_INPUT_N_ERROR }
 

Functions

static u8format_virtio_input_trace (u8 *s, va_list *args)
 
static_always_inline void virtio_refill_vring (vlib_main_t *vm, virtio_vring_t *vring)
 
static_always_inline uword virtio_device_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, virtio_if_t *vif, u16 qid)
 
static uword virtio_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static char * virtio_input_error_strings []
 
vlib_node_registration_t virtio_input_node
 (constructor) VLIB_REGISTER_NODE (virtio_input_node) More...
 

Macro Definition Documentation

#define foreach_virtio_input_error   _(UNKNOWN, "unknown")

Definition at line 38 of file node.c.

Enumeration Type Documentation

Enumerator
TAP_INPUT_N_ERROR 

Definition at line 41 of file node.c.

Function Documentation

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

Definition at line 65 of file node.c.

+ Here is the call graph for this function:

static_always_inline uword virtio_device_input_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
virtio_if_t vif,
u16  qid 
)

Definition at line 134 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 261 of file node.c.

+ Here is the call graph for this function:

static_always_inline void virtio_refill_vring ( vlib_main_t vm,
virtio_vring_t vring 
)

Definition at line 83 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

char* virtio_input_error_strings[]
static
Initial value:
= {
#define _(n,s)
}
#define foreach_virtio_input_error
Definition: node.c:38

Definition at line 49 of file node.c.

vlib_node_registration_t virtio_input_node
Initial value:
= {
.function = virtio_input_fn,
.name = "virtio-input",
.sibling_of = "device-input",
.format_trace = format_virtio_input_trace,
.state = VLIB_NODE_STATE_INTERRUPT,
.n_errors = TAP_INPUT_N_ERROR,
.error_strings = virtio_input_error_strings,
}
static uword virtio_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node.c:261
static u8 * format_virtio_input_trace(u8 *s, va_list *args)
Definition: node.c:65
static char * virtio_input_error_strings[]
Definition: node.c:49

(constructor) VLIB_REGISTER_NODE (virtio_input_node)

Definition at line 284 of file node.c.