29 #ifndef CLIB_MARCH_VARIANT 43 #define foreach_nsim_tx_error \ 44 _(TRANSMITTED, "Packets transmitted") 48 #define _(sym,str) NSIM_TX_ERROR_##sym, 54 #ifndef CLIB_MARCH_VARIANT 56 #define _(sym,string) string, 93 while (n_tx_packets < n_burst && ep->tx_time <= now)
100 from[0] = ep->buffer_index;
101 next[0] = ep->output_next_index;
115 NSIM_TX_ERROR_TRANSMITTED, n_tx_packets);
130 #ifndef CLIB_MARCH_VARIANT 134 .name =
"nsim-wheel",
137 .state = VLIB_NODE_STATE_DISABLED,
static f64 vlib_time_now(vlib_main_t *vm)
#define VLIB_NODE_FN(node)
description fragment has unexpected format
#define NSIM_MAX_TX_BURST
max packets in a tx burst
u32 node_index
Node index.
static void vlib_node_increment_counter(vlib_main_t *vm, u32 node_index, u32 counter_index, u64 increment)
#define VLIB_REGISTER_NODE(x,...)
#define CLIB_PREFETCH(addr, size, type)
static_always_inline void vlib_buffer_enqueue_to_next(vlib_main_t *vm, vlib_node_runtime_t *node, u32 *buffers, u16 *nexts, uword count)
nsim_wheel_entry_t * entries
vlib_main_t vlib_node_runtime_t * node
nsim_wheel_t ** wheel_by_thread
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
#define VLIB_NODE_FLAG_TRACE
#define CLIB_CACHE_LINE_BYTES