Go to the source code of this file.
|
static __clib_unused u8 * | format_memif_input_trace (u8 *s, va_list *args) |
|
static_always_inline u32 | memif_next_from_ip_hdr (vlib_node_runtime_t *node, vlib_buffer_t *b) |
|
static_always_inline void | memif_trace_buffer (vlib_main_t *vm, vlib_node_runtime_t *node, memif_if_t *mif, vlib_buffer_t *b, u32 next, u16 qid, uword *n_tracep) |
|
static_always_inline void | memif_add_copy_op (memif_per_thread_data_t *ptd, void *data, u32 len, u16 buffer_offset, u16 buffer_vec_index) |
|
static_always_inline void | memif_add_to_chain (vlib_main_t *vm, vlib_buffer_t *b, u32 *buffers, u32 buffer_size) |
|
static_always_inline u32 | sat_sub (u32 x, u32 y) |
|
static_always_inline u32 | memif_desc_is_invalid (memif_if_t *mif, memif_desc_t *d, u32 buffer_length) |
|
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, u16 qid, memif_interface_mode_t mode) |
|
static_always_inline uword | memif_device_input_zc_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, memif_if_t *mif, u16 qid, memif_interface_mode_t mode) |
|
VLIB_NODE_FN() | memif_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
#define foreach_memif_input_error |
Value:_(BUFFER_ALLOC_FAIL, "buffer allocation failed") \
_(NOT_IP, "not ip packet")
Definition at line 33 of file node.c.
Enumerator |
---|
MEMIF_INPUT_N_ERROR |
|
Definition at line 37 of file node.c.
static __clib_unused u8* format_memif_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
__clib_unused char* memif_input_error_strings[] |
|
static |
Initial value:= {
#define _(n,s)
}
#define foreach_memif_input_error
Definition at line 45 of file node.c.
Initial value:= {
.name = "memif-input",
.sibling_of = "device-input",
.state = VLIB_NODE_STATE_INTERRUPT,
}
static __clib_unused char * memif_input_error_strings[]
static __clib_unused u8 * format_memif_input_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (memif_input_node)
Definition at line 915 of file node.c.