Go to the source code of this file.
|
static void | vnet_hw_interface_set_input_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index) |
|
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 u64 | vnet_get_aggregate_rx_packets (void) |
|
static void | vnet_device_increment_rx_packets (u32 thread_index, u64 count) |
|
static_always_inline vnet_device_and_queue_t * | vnet_get_device_and_queue (vlib_main_t *vm, vlib_node_runtime_t *node) |
|
static_always_inline uword | vnet_get_device_input_thread_index (vnet_main_t *vnm, u32 hw_if_index, u16 queue_id) |
|
static_always_inline void | vnet_device_input_set_interrupt_pending (vnet_main_t *vnm, u32 hw_if_index, u16 queue_id) |
|
◆ foreach_device_and_queue
#define foreach_device_and_queue |
( |
|
var, |
|
|
|
vec |
|
) |
| |
Value:for (var = (vec); var <
vec_end (vec); var++) \
#define vec_end(v)
End (last data address) of vector.
#define clib_atomic_swap_acq_n(a, b)
Definition at line 161 of file devices.h.
◆ VNET_DEVICE_INPUT_NEXT_NODES
#define VNET_DEVICE_INPUT_NEXT_NODES |
◆ vnet_device_input_next_t
Enumerator |
---|
VNET_DEVICE_INPUT_NEXT_IP4_NCS_INPUT | |
VNET_DEVICE_INPUT_NEXT_IP4_INPUT | |
VNET_DEVICE_INPUT_NEXT_IP6_INPUT | |
VNET_DEVICE_INPUT_NEXT_MPLS_INPUT | |
VNET_DEVICE_INPUT_NEXT_ETHERNET_INPUT | |
VNET_DEVICE_INPUT_NEXT_DROP | |
VNET_DEVICE_INPUT_N_NEXT_NODES | |
Definition at line 22 of file devices.h.
◆ vnet_device_increment_rx_packets()
static void vnet_device_increment_rx_packets |
( |
u32 |
thread_index, |
|
|
u64 |
count |
|
) |
| |
|
inlinestatic |
◆ vnet_device_input_set_interrupt_pending()
◆ vnet_get_aggregate_rx_packets()
static u64 vnet_get_aggregate_rx_packets |
( |
void |
| ) |
|
|
inlinestatic |
◆ vnet_get_device_and_queue()
◆ vnet_get_device_input_thread_index()
◆ 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_input_node()
static void vnet_hw_interface_set_input_node |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u32 |
node_index |
|
) |
| |
|
inlinestatic |
◆ 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
const u32 device_input_next_node_advance[] |
◆ device_input_next_node_flags
const u32 device_input_next_node_flags[] |
◆ device_input_node
(constructor) VLIB_REGISTER_NODE (device_input_node)
Definition at line 32 of file devices.c.
◆ vnet_device_main