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 (p2p_ethernet_node, static) |
|
| VNET_FEATURE_INIT (ethernet_input, static) |
|
static int | vnet_device_queue_sort (void *a1, void *a2) |
|
static void | vnet_device_queue_update (vnet_main_t *vnm, vnet_device_input_runtime_t *rt) |
|
void | vnet_hw_interface_assign_rx_thread (vnet_main_t *vnm, u32 hw_if_index, u16 queue_id, uword thread_index) |
|
int | vnet_hw_interface_unassign_rx_thread (vnet_main_t *vnm, u32 hw_if_index, u16 queue_id) |
|
int | vnet_hw_interface_set_rx_mode (vnet_main_t *vnm, u32 hw_if_index, u16 queue_id, vnet_hw_interface_rx_mode mode) |
|
int | vnet_hw_interface_get_rx_mode (vnet_main_t *vnm, u32 hw_if_index, u16 queue_id, vnet_hw_interface_rx_mode *mode) |
|
static clib_error_t * | vnet_device_init (vlib_main_t *vm) |
|
◆ device_input_fn()
◆ vnet_device_init()
◆ vnet_device_queue_sort()
static int vnet_device_queue_sort |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ vnet_device_queue_update()
◆ VNET_FEATURE_ARC_INIT()
VNET_FEATURE_ARC_INIT |
( |
device_input |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [1/5]
VNET_FEATURE_INIT |
( |
l2_patch |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/5]
VNET_FEATURE_INIT |
( |
worker_handoff |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [3/5]
VNET_FEATURE_INIT |
( |
span_input |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [4/5]
VNET_FEATURE_INIT |
( |
p2p_ethernet_node |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [5/5]
VNET_FEATURE_INIT |
( |
ethernet_input |
, |
|
|
static |
|
|
) |
| |
◆ vnet_hw_interface_assign_rx_thread()
void vnet_hw_interface_assign_rx_thread |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u16 |
queue_id, |
|
|
uword |
thread_index |
|
) |
| |
◆ vnet_hw_interface_get_rx_mode()
◆ vnet_hw_interface_set_rx_mode()
◆ vnet_hw_interface_unassign_rx_thread()
int vnet_hw_interface_unassign_rx_thread |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u16 |
queue_id |
|
) |
| |
◆ device_input_next_node_advance
Initial value:
Definition at line 47 of file devices.c.
◆ device_input_next_node_flags
Initial value:
Definition at line 57 of file devices.c.
◆ device_input_node
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)
vhost_vring_state_t state
vl_api_fib_path_type_t type
#define VNET_DEVICE_INPUT_NEXT_NODES
(constructor) VLIB_REGISTER_NODE (device_input_node)
Definition at line 32 of file devices.c.
◆ vnet_device_main