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 59 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()
◆ handoff_main
◆ 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 299 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 67 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[]
(constructor) VLIB_REGISTER_NODE (worker_handoff_node)
Definition at line 163 of file handoff.c.