FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
memory_api.h File Reference
+ Include dependency graph for memory_api.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VL_MEM_API_LOG_Q_LEN(fmt, qlen)
 

Functions

svm_queue_tvl_api_client_index_to_input_queue (u32 index)
 
int vl_mem_api_init (const char *region_name)
 
void vl_mem_api_dead_client_scan (api_main_t *am, vl_shmem_hdr_t *shm, f64 now)
 
int vl_mem_api_handle_msg_main (vlib_main_t *vm, vlib_node_runtime_t *node)
 
int vl_mem_api_handle_msg_private (vlib_main_t *vm, vlib_node_runtime_t *node, u32 reg_index)
 
int vl_mem_api_handle_rpc (vlib_main_t *vm, vlib_node_runtime_t *node)
 
vl_api_registration_tvl_mem_api_client_index_to_registration (u32 handle)
 
void vl_mem_api_enable_disable (vlib_main_t *vm, int yesno)
 
u32 vl_api_memclnt_create_internal (char *, svm_queue_t *)
 
static u32 vl_msg_api_handle_get_epoch (u32 index)
 
static u32 vl_msg_api_handle_get_index (u32 index)
 
static u32 vl_msg_api_handle_from_index_and_epoch (u32 index, u32 epoch)
 
static u8 vl_msg_api_handle_is_valid (u32 handle, u32 restarts)
 

Macro Definition Documentation

#define VL_MEM_API_LOG_Q_LEN (   fmt,
  qlen 
)
Value:
do { \
.format = fmt, \
.format_args = "i4", \
}; \
struct { u32 len; } *ed; \
ed = ELOG_DATA (&vm->elog_main, e); \
ed->len = qlen; \
} while (0)
unsigned int u32
Definition: types.h:88
#define ELOG_DATA(em, f)
Definition: elog.h:484
u8 len
Definition: ip_types.api:90
vlib_main_t * vm
Definition: buffer.c:312
elog_main_t elog_main
Definition: main.h:172
#define ELOG_TYPE_DECLARE(f)
Definition: elog.h:442
#define TRACE_VLIB_MEMORY_QUEUE
Definition: vlib_api.c:41

Definition at line 70 of file memory_api.h.

Function Documentation

svm_queue_t* vl_api_client_index_to_input_queue ( u32  index)

Definition at line 822 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 vl_api_memclnt_create_internal ( char *  ,
svm_queue_t  
)

Definition at line 120 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

vl_api_registration_t* vl_mem_api_client_index_to_registration ( u32  handle)

Definition at line 793 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_mem_api_dead_client_scan ( api_main_t am,
vl_shmem_hdr_t shm,
f64  now 
)

Definition at line 598 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_mem_api_enable_disable ( vlib_main_t vm,
int  yesno 
)

Definition at line 425 of file vlib_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vl_mem_api_handle_msg_main ( vlib_main_t vm,
vlib_node_runtime_t node 
)

Definition at line 719 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vl_mem_api_handle_msg_private ( vlib_main_t vm,
vlib_node_runtime_t node,
u32  reg_index 
)

Definition at line 770 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vl_mem_api_handle_rpc ( vlib_main_t vm,
vlib_node_runtime_t node 
)

Definition at line 727 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vl_mem_api_init ( const char *  region_name)

Definition at line 438 of file memory_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 vl_msg_api_handle_from_index_and_epoch ( u32  index,
u32  epoch 
)
inlinestatic

Definition at line 54 of file memory_api.h.

+ Here is the caller graph for this function:

static u32 vl_msg_api_handle_get_epoch ( u32  index)
inlinestatic

Definition at line 42 of file memory_api.h.

+ Here is the caller graph for this function:

static u32 vl_msg_api_handle_get_index ( u32  index)
inlinestatic

Definition at line 48 of file memory_api.h.

+ Here is the caller graph for this function:

static u8 vl_msg_api_handle_is_valid ( u32  handle,
u32  restarts 
)
inlinestatic

Definition at line 64 of file memory_api.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: