FD.io VPP  v19.01.2-3-gf61a1a8
Vector Packet Processing
input.c File Reference
+ Include dependency graph for input.c:

Go to the source code of this file.

Macros

#define foreach_vmxnet3_input_error
 

Enumerations

enum  vmxnet3_input_error_t { VMXNET3_INPUT_N_ERROR }
 

Functions

static_always_inline u16 vmxnet3_find_rid (vmxnet3_device_t *vd, vmxnet3_rx_comp *rx_comp)
 
static_always_inline void vmxnet3_rx_comp_ring_advance_next (vmxnet3_rxq_t *rxq)
 
static_always_inline uword vmxnet3_device_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, vmxnet3_device_t *vd, u16 qid)
 
VLIB_NODE_FN() vmxnet3_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static __clib_unused char * vmxnet3_input_error_strings []
 
vlib_node_registration_t vmxnet3_input_node
 (constructor) VLIB_REGISTER_NODE (vmxnet3_input_node) More...
 

Macro Definition Documentation

#define foreach_vmxnet3_input_error
Value:
_(BUFFER_ALLOC, "buffer alloc error") \
_(RX_PACKET_NO_SOP, "Rx packet error - no SOP") \
_(RX_PACKET, "Rx packet error") \
_(RX_PACKET_EOP, "Rx packet error found on EOP") \
_(NO_BUFFER, "Rx no buffer error")

Definition at line 26 of file input.c.

Enumeration Type Documentation

Enumerator
VMXNET3_INPUT_N_ERROR 

Definition at line 33 of file input.c.

Function Documentation

static_always_inline uword vmxnet3_device_input_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
vmxnet3_device_t vd,
u16  qid 
)

Definition at line 75 of file input.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline u16 vmxnet3_find_rid ( vmxnet3_device_t vd,
vmxnet3_rx_comp *  rx_comp 
)

Definition at line 48 of file input.c.

+ Here is the caller graph for this function:

VLIB_NODE_FN() vmxnet3_input_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 348 of file input.c.

+ Here is the call graph for this function:

static_always_inline void vmxnet3_rx_comp_ring_advance_next ( vmxnet3_rxq_t rxq)

Definition at line 62 of file input.c.

+ Here is the caller graph for this function:

Variable Documentation

__clib_unused char* vmxnet3_input_error_strings[]
static
Initial value:
= {
#define _(n,s)
}
#define foreach_vmxnet3_input_error
Definition: input.c:26

Definition at line 41 of file input.c.

vlib_node_registration_t vmxnet3_input_node
Initial value:
= {
.name = "vmxnet3-input",
.sibling_of = "device-input",
.format_trace = format_vmxnet3_input_trace,
.state = VLIB_NODE_STATE_DISABLED,
.n_errors = VMXNET3_INPUT_N_ERROR,
.error_strings = vmxnet3_input_error_strings,
}
static __clib_unused char * vmxnet3_input_error_strings[]
Definition: input.c:41
format_function_t format_vmxnet3_input_trace
Definition: vmxnet3.h:534

(constructor) VLIB_REGISTER_NODE (vmxnet3_input_node)

Definition at line 370 of file input.c.