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 uword | memif_device_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, 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, 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) |
|
◆ foreach_memif_input_error
#define foreach_memif_input_error |
Value: _ (BUFFER_ALLOC_FAIL, buffer_alloc, ERROR, "buffer allocation failed") \
_ (BAD_DESC, bad_desc, ERROR, "bad descriptor") \
_ (NOT_IP, not_ip,
INFO,
"not ip packet")
Definition at line 33 of file node.c.
◆ memif_input_error_t
Enumerator |
---|
MEMIF_INPUT_N_ERROR | |
Definition at line 38 of file node.c.
◆ format_memif_input_trace()
static __clib_unused u8* format_memif_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ memif_add_copy_op()
◆ memif_add_to_chain()
◆ memif_device_input_inline()
◆ memif_device_input_zc_inline()
◆ memif_input_node()
◆ memif_next_from_ip_hdr()
◆ memif_trace_buffer()
◆ memif_input_error_counters
Initial value:= {
#define _(f, n, s, d)
}
Definition at line 46 of file node.c.
◆ memif_input_node
Initial value:= {
.name = "memif-input",
.sibling_of = "device-input",
.state = VLIB_NODE_STATE_INTERRUPT,
}
(constructor) VLIB_REGISTER_NODE (memif_input_node)
Definition at line 885 of file node.c.