|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
41 #error files which #include <vnet/pipeline.h> must define NSTAGES
45 #define STAGE_INLINE inline
52 #define AUX_DATA_PTR(pi)
54 #define AUX_DATA_ARG ,##AUX_DATA_TYPE *ap
55 #define AUX_DATA_DECL AUX_DATA_TYPE aux_data[VLIB_FRAME_SIZE]
56 #define AUX_DATA_PTR(pi) ,aux_data +(pi)
98 for (pi = 0; pi <
NSTAGES - 1; pi++)
120 return frame->n_vectors;
140 for (pi = 0; pi <
NSTAGES - 1; pi++)
167 return frame->n_vectors;
187 for (pi = 0; pi <
NSTAGES - 1; pi++)
219 return frame->n_vectors;
239 for (pi = 0; pi <
NSTAGES - 1; pi++)
276 return frame->n_vectors;
296 for (pi = 0; pi <
NSTAGES - 1; pi++)
338 return frame->n_vectors;
vlib_buffer_t * bufs[VLIB_FRAME_SIZE]
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
#define vlib_prefetch_buffer_header(b, type)
Prefetch buffer metadata.
vlib_get_buffers(vm, from, b, n_left_from)
vlib_main_t vlib_node_runtime_t * node
static void stage1(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b)
static u32 last_stage(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vlib_buffer_enqueue_to_next(vm, node, from,(u16 *) nexts, frame->n_vectors)
static STAGE_INLINE void generic_stage0(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b AUX_DATA_ARG)
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
static void stage0(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b)
u16 nexts[VLIB_FRAME_SIZE]
static_always_inline void clib_prefetch_store(void *p)
VLIB buffer representation.