|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
34 .name =
"device-input",
37 .
state = VLIB_NODE_STATE_DISABLED,
67 .arc_name =
"device-input",
69 .last_in_arc =
"ethernet-input",
74 .arc_name =
"device-input",
75 .node_name =
"l2-patch",
80 .arc_name =
"device-input",
81 .node_name =
"worker-handoff",
86 .arc_name =
"device-input",
87 .node_name =
"span-input",
92 .arc_name =
"device-input",
93 .node_name =
"p2p-ethernet-input",
98 .arc_name =
"device-input",
99 .node_name =
"ethernet-input",
117 if (tr && tr->
count > 0)
uword last_worker_thread_index
vnet_device_main_t vnet_device_main
const u32 device_input_next_node_advance[((VNET_DEVICE_INPUT_N_NEXT_NODES/CLIB_CACHE_LINE_BYTES)+1) *CLIB_CACHE_LINE_BYTES]
vlib_node_registration_t device_input_node
(constructor) VLIB_REGISTER_NODE (device_input_node)
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
vlib_main_t vlib_node_runtime_t * node
static uword device_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static clib_error_t * vnet_device_init(vlib_main_t *vm)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vl_api_dhcp_client_state_t state
@ VNET_DEVICE_INPUT_NEXT_IP6_INPUT
@ VNET_DEVICE_INPUT_NEXT_IP4_INPUT
#define vec_validate_aligned(V, I, A)
Make sure vector is long enough for given index (no header, specified alignment)
vnet_device_per_worker_data_t * workers
const u32 device_input_next_node_flags[((VNET_DEVICE_INPUT_N_NEXT_NODES/CLIB_CACHE_LINE_BYTES)+1) *CLIB_CACHE_LINE_BYTES]
uword * thread_registrations_by_name
@ VNET_DEVICE_INPUT_NEXT_MPLS_INPUT
vnet_feature_main_t feature_main
#define CLIB_CACHE_LINE_BYTES
struct _vlib_node_registration vlib_node_registration_t
@ VNET_DEVICE_INPUT_NEXT_IP4_NCS_INPUT
uword first_worker_thread_index
#define VNET_DEVICE_INPUT_NEXT_NODES
@ VNET_DEVICE_INPUT_N_NEXT_NODES
#define hash_get_mem(h, key)
#define VLIB_INIT_FUNCTION(x)
#define VNET_FEATURES(...)
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
VNET_FEATURE_INIT(l2_patch, static)
VNET_FEATURE_ARC_INIT(device_input, static)
static vlib_thread_main_t * vlib_get_thread_main()
uword next_worker_thread_index
u8 device_input_feature_arc_index
Feature arc index for device-input.
vl_api_fib_path_type_t type
#define VLIB_REGISTER_NODE(x,...)