FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
netmap.c File Reference
+ Include dependency graph for netmap.c:

Go to the source code of this file.

Functions

static u32 netmap_eth_flag_change (vnet_main_t *vnm, vnet_hw_interface_t *hi, u32 flags)
 
static clib_error_tnetmap_fd_read_ready (clib_file_t *uf)
 
static void close_netmap_if (netmap_main_t *nm, netmap_if_t *nif)
 
int netmap_worker_thread_enable ()
 
int netmap_worker_thread_disable ()
 
int netmap_create_if (vlib_main_t *vm, u8 *if_name, u8 *hw_addr_set, u8 is_pipe, u8 is_master, u32 *sw_if_index)
 
int netmap_delete_if (vlib_main_t *vm, u8 *host_if_name)
 
static clib_error_tnetmap_init (vlib_main_t *vm)
 

Variables

netmap_main_t netmap_main
 

Function Documentation

static void close_netmap_if ( netmap_main_t nm,
netmap_if_t nif 
)
static

Definition at line 57 of file netmap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int netmap_create_if ( vlib_main_t vm,
u8 if_name,
u8 hw_addr_set,
u8  is_pipe,
u8  is_master,
u32 sw_if_index 
)

Definition at line 115 of file netmap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int netmap_delete_if ( vlib_main_t vm,
u8 host_if_name 
)

Definition at line 246 of file netmap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 33 of file netmap.c.

+ Here is the caller graph for this function:

static clib_error_t* netmap_fd_read_ready ( clib_file_t uf)
static

Definition at line 41 of file netmap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* netmap_init ( vlib_main_t vm)
static

Definition at line 276 of file netmap.c.

+ Here is the call graph for this function:

int netmap_worker_thread_disable ( )

Definition at line 102 of file netmap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int netmap_worker_thread_enable ( )

Definition at line 88 of file netmap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

netmap_main_t netmap_main

Definition at line 30 of file netmap.c.