FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
memif.c File Reference
+ Include dependency graph for memif.c:

Go to the source code of this file.

Functions

static u32 memif_eth_flag_change (vnet_main_t *vnm, vnet_hw_interface_t *hi, u32 flags)
 
static void memif_queue_intfd_close (memif_queue_t *mq)
 
void memif_disconnect (memif_if_t *mif, clib_error_t *err)
 
static clib_error_tmemif_int_fd_read_ready (clib_file_t *uf)
 
clib_error_tmemif_connect (memif_if_t *mif)
 
static_always_inline memif_ring_tmemif_get_ring (memif_if_t *mif, memif_ring_type_t type, u16 ring_num)
 
clib_error_tmemif_init_regions_and_queues (memif_if_t *mif)
 
static uword memif_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
int memif_delete_if (vlib_main_t *vm, memif_if_t *mif)
 
 VNET_HW_INTERFACE_CLASS (memif_ip_hw_if_class, static)
 
int memif_create_if (vlib_main_t *vm, memif_create_if_args_t *args)
 
static clib_error_tmemif_init (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

memif_main_t memif_main
 
static vlib_node_registration_t memif_process_node
 (constructor) VLIB_REGISTER_NODE (memif_process_node) More...
 

Function Documentation

clib_error_t* memif_connect ( memif_if_t mif)

Definition at line 173 of file memif.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int memif_create_if ( vlib_main_t vm,
memif_create_if_args_t args 
)

Definition at line 543 of file memif.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int memif_delete_if ( vlib_main_t vm,
memif_if_t mif 
)

Definition at line 473 of file memif.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void memif_disconnect ( memif_if_t mif,
clib_error_t err 
)

Definition at line 69 of file memif.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 memif_eth_flag_change ( vnet_main_t vnm,
vnet_hw_interface_t hi,
u32  flags 
)
static

Definition at line 46 of file memif.c.

+ Here is the caller graph for this function:

static_always_inline memif_ring_t* memif_get_ring ( memif_if_t mif,
memif_ring_type_t  type,
u16  ring_num 
)

Definition at line 250 of file memif.c.

+ Here is the caller graph for this function:

static clib_error_t* memif_init ( vlib_main_t vm)
static

Definition at line 786 of file memif.c.

+ Here is the call graph for this function:

clib_error_t* memif_init_regions_and_queues ( memif_if_t mif)

Definition at line 264 of file memif.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* memif_int_fd_read_ready ( clib_file_t uf)
static

Definition at line 148 of file memif.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword memif_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 361 of file memif.c.

+ Here is the call graph for this function:

static void memif_queue_intfd_close ( memif_queue_t mq)
static

Definition at line 53 of file memif.c.

+ Here is the caller graph for this function:

VLIB_PLUGIN_REGISTER ( )

+ Here is the caller graph for this function:

VNET_HW_INTERFACE_CLASS ( memif_ip_hw_if_class  ,
static   
)

+ Here is the caller graph for this function:

Variable Documentation

memif_main_t memif_main

Definition at line 43 of file memif.c.

vlib_node_registration_t memif_process_node
static
Initial value:
= {
.function = memif_process,
.name = "memif-process",
}
static uword memif_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
Definition: memif.c:361

(constructor) VLIB_REGISTER_NODE (memif_process_node)

Definition at line 465 of file memif.c.