Go to the source code of this file.
#define foreach_worker_handoff_error _(CONGESTION_DROP, "congestion drop") |
Enumerator |
---|
WORKER_HANDOFF_N_ERROR |
|
Definition at line 59 of file handoff.c.
static u8* format_worker_handoff_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
int interface_handoff_enable_disable |
( |
vlib_main_t * |
vm, |
|
|
u32 |
sw_if_index, |
|
|
uword * |
bitmap, |
|
|
int |
enable_disable |
|
) |
| |
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.
char* worker_handoff_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_worker_handoff_error
Definition at line 67 of file handoff.c.
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.