FD.io VPP  v17.07-30-g839fa73
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 (unix_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)
 

Function Documentation

static void close_netmap_if ( netmap_main_t nm,
netmap_if_t nif 
)
static

Definition at line 55 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 113 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 244 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 31 of file netmap.c.

+ Here is the caller graph for this function:

static clib_error_t* netmap_fd_read_ready ( unix_file_t uf)
static

Definition at line 39 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 274 of file netmap.c.

+ Here is the call graph for this function:

int netmap_worker_thread_disable ( )

Definition at line 100 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 86 of file netmap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: