18 #ifndef included_replication_h 19 #define included_replication_h 122 u32 recycle_node_index,
u8 pad[3]
log2 (size of the packing page block)
u32 saved_free_list_index
static void replication_clear_recycled(vlib_buffer_t *b0)
u32 recycle_count
Used by L2 path recycle code.
replication_context_t * replication_prep(vlib_main_t *vm, vlib_buffer_t *b0, u32 recycle_node_index, u32 l2_packet)
static void replication_prefetch_ctx(vlib_buffer_t *b0)
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
#define VLIB_BUFFER_IS_RECYCLED
static_always_inline uword vlib_get_thread_index(void)
#define CLIB_PREFETCH(addr, size, type)
replication_context_t * replication_recycle(vlib_main_t *vm, vlib_buffer_t *b0, u32 is_last)
static replication_context_t * replication_get_ctx(vlib_buffer_t *b0)
static u32 replication_is_recycled(vlib_buffer_t *b0)
replication_main_t replication_main
#define CLIB_CACHE_LINE_BYTES
u32 flags
buffer flags: VLIB_BUFFER_FREE_LIST_INDEX_MASK: bits used to store free list index, VLIB_BUFFER_IS_TRACED: trace this buffer.
replication_context_t ** contexts