FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
runtime.c File Reference
+ Include dependency graph for runtime.c:

Go to the source code of this file.

Macros

#define log_debug(fmt, ...)   vlib_log_debug (if_rxq_log.class, fmt, __VA_ARGS__)
 
#define log_err(fmt, ...)   vlib_log_err (if_rxq_log.class, fmt, __VA_ARGS__)
 

Functions

 VLIB_REGISTER_LOG_CLASS (if_rxq_log, static)
 
static int poll_data_sort (void *a1, void *a2)
 
void vnet_hw_if_update_runtime_data (vnet_main_t *vnm, u32 hw_if_index)
 

Variables

static char * node_state_str []
 

Macro Definition Documentation

◆ log_debug

#define log_debug (   fmt,
  ... 
)    vlib_log_debug (if_rxq_log.class, fmt, __VA_ARGS__)

Definition at line 30 of file runtime.c.

◆ log_err

#define log_err (   fmt,
  ... 
)    vlib_log_err (if_rxq_log.class, fmt, __VA_ARGS__)

Definition at line 31 of file runtime.c.

Function Documentation

◆ poll_data_sort()

static int poll_data_sort ( void *  a1,
void *  a2 
)
static

Definition at line 40 of file runtime.c.

+ Here is the caller graph for this function:

◆ VLIB_REGISTER_LOG_CLASS()

VLIB_REGISTER_LOG_CLASS ( if_rxq_log  ,
static   
)

◆ vnet_hw_if_update_runtime_data()

void vnet_hw_if_update_runtime_data ( vnet_main_t vnm,
u32  hw_if_index 
)

Definition at line 58 of file runtime.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ node_state_str

char* node_state_str[]
static
Initial value:
= {
[VLIB_NODE_STATE_DISABLED] = "disabled",
[VLIB_NODE_STATE_POLLING] = "polling",
[VLIB_NODE_STATE_INTERRUPT] = "interrupt",
}

Definition at line 33 of file runtime.c.