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) |
|
#define foreach_device_and_queue |
( |
|
var, |
|
|
|
vec |
|
) |
| |
Value:for (var = (vec); var <
vec_end (vec); var++) \
#define clib_smp_swap(addr, new)
#define vec_end(v)
End (last data address) of vector.
Definition at line 156 of file devices.h.
#define VNET_DEVICE_INPUT_NEXT_NODES |
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.
static void vnet_device_increment_rx_packets |
( |
u32 |
thread_index, |
|
|
u64 |
count |
|
) |
| |
|
inlinestatic |
static u64 vnet_get_aggregate_rx_packets |
( |
void |
| ) |
|
|
inlinestatic |
void vnet_hw_interface_assign_rx_thread |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u16 |
queue_id, |
|
|
uword |
thread_index |
|
) |
| |
static void vnet_hw_interface_set_input_node |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u32 |
node_index |
|
) |
| |
|
inlinestatic |
int vnet_hw_interface_unassign_rx_thread |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u16 |
queue_id |
|
) |
| |
const u32 device_input_next_node_advance[] |
const u32 device_input_next_node_flags[] |
(constructor) VLIB_REGISTER_NODE (device_input_node)
Definition at line 32 of file devices.c.