FD.io VPP  v18.10-34-gcce845e
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)
 
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:481
vlib_main_t * vm
Definition: buffer.c:294
elog_main_t elog_main
Definition: main.h:157
#define ELOG_TYPE_DECLARE(f)
Definition: elog.h:439
#define TRACE_VLIB_MEMORY_QUEUE
Definition: vlib_api.c:41

Definition at line 68 of file memory_api.h.

Function Documentation

svm_queue_t* vl_api_client_index_to_input_queue ( u32  index)

Definition at line 759 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 112 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 730 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 578 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 447 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 699 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 707 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 419 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 52 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 40 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 46 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 62 of file memory_api.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: