|
FD.io VPP
v21.06-3-gbb25fbf28
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)
#define CLIB_PREFETCH(addr, size, type)
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
#define CLIB_CACHE_LINE_BYTES
static void stage0(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b)
u16 nexts[VLIB_FRAME_SIZE]
VLIB buffer representation.