Go to the source code of this file.
◆ foreach_worker_handoff_error
#define foreach_worker_handoff_error _(CONGESTION_DROP, "congestion drop") |
◆ worker_handoff_error_t
Enumerator |
---|
WORKER_HANDOFF_N_ERROR | |
Definition at line 55 of file handoff.c.
◆ format_worker_handoff_trace()
static u8* format_worker_handoff_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ handoff_init()
◆ interface_handoff_enable_disable()
int interface_handoff_enable_disable |
( |
vlib_main_t * |
vm, |
|
|
u32 |
sw_if_index, |
|
|
uword * |
bitmap, |
|
|
int |
enable_disable |
|
) |
| |
◆ set_interface_handoff_command_fn()
◆ worker_handoff_node_fn()
◆ handoff_main
◆ handoff_node
◆ set_interface_handoff_command
Initial value:= {
.path = "set interface handoff",
.short_help =
"set interface handoff <interface-name> workers <workers-list> [symmetrical|asymmetrical]",
}
static clib_error_t * set_interface_handoff_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_interface_handoff_command)
Definition at line 298 of file handoff.c.
◆ worker_handoff_error_strings
char* worker_handoff_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_worker_handoff_error
Definition at line 63 of file handoff.c.
◆ worker_handoff_node
Initial value:= {
.name = "worker-handoff",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
static u8 * format_worker_handoff_trace(u8 *s, va_list *args)
static char * worker_handoff_error_strings[]
static uword worker_handoff_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (worker_handoff_node)
Definition at line 161 of file handoff.c.