Go to the source code of this file.
|
static uword | device_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_ARC_INIT (device_input, static) |
|
| VNET_FEATURE_INIT (l2_patch, static) |
|
| VNET_FEATURE_INIT (worker_handoff, static) |
|
| VNET_FEATURE_INIT (span_input, static) |
|
| VNET_FEATURE_INIT (ethernet_input, static) |
|
static int | vnet_device_queue_sort (void *a1, void *a2) |
|
void | vnet_device_input_assign_thread (u32 hw_if_index, u16 queue_id, uword cpu_index) |
|
static int | vnet_device_input_unassign_thread (u32 hw_if_index, u16 queue_id, uword cpu_index) |
|
static clib_error_t * | show_device_placement_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | set_device_placement (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | vnet_device_init (vlib_main_t *vm) |
|
void vnet_device_input_assign_thread |
( |
u32 |
hw_if_index, |
|
|
u16 |
queue_id, |
|
|
uword |
cpu_index |
|
) |
| |
static int vnet_device_input_unassign_thread |
( |
u32 |
hw_if_index, |
|
|
u16 |
queue_id, |
|
|
uword |
cpu_index |
|
) |
| |
|
static |
static int vnet_device_queue_sort |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
VNET_FEATURE_ARC_INIT |
( |
device_input |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
l2_patch |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
worker_handoff |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
span_input |
, |
|
|
static |
|
|
) |
| |
Initial value:= {
.path = "set interface placement",
.short_help = "set interface placement <interface> [queue <n>] [thread <n> | main]",
}
static clib_error_t * set_device_placement(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_set_dpdk_if_placement)
Definition at line 307 of file devices.c.
Initial value:
Definition at line 47 of file devices.c.
Initial value:= {
.name = "device-input",
.
state = VLIB_NODE_STATE_DISABLED,
}
static uword device_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
#define VNET_DEVICE_INPUT_NEXT_NODES
vhost_vring_state_t state
(constructor) VLIB_REGISTER_NODE (device_input_node)
Definition at line 32 of file devices.c.
Initial value:= {
.path = "show interface placement",
.short_help = "show interface placement",
}
static clib_error_t * show_device_placement_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (memif_delete_command)
Definition at line 226 of file devices.c.