FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
pp2.c File Reference
+ Include dependency graph for pp2.c:

Go to the source code of this file.

Macros

#define MV_SYS_DMA_MEM_SZ   (2 << 20)
 
#define NUM_HIFS_RSVD   4
 
#define NUM_BPOOLS_RSVD   7
 

Functions

static void mrvl_pp2_main_deinit ()
 
static clib_error_tmrvl_pp2_main_init ()
 
static u32 mrvl_pp2_eth_flag_change (vnet_main_t *vnm, vnet_hw_interface_t *hi, u32 flags)
 
void mrvl_pp2_delete_if (mrvl_pp2_if_t *ppif)
 
void mrvl_pp2_create_if (mrvl_pp2_create_if_args_t *args)
 
static clib_error_tmrvl_pp2_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags)
 
static void mrvl_pp2_clear_interface_counters (u32 instance)
 
static void mrvl_pp2_set_interface_next_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index)
 
 VNET_DEVICE_CLASS (mrvl_pp2_device_class,)
 
static clib_error_tmrvl_pp2_init (vlib_main_t *vm)
 

Variables

mrvl_pp2_main_t mrvl_pp2_main
 
vnet_device_class_t ppa2_device_class
 
static char * mrvl_pp2_tx_func_error_strings []
 

Macro Definition Documentation

#define MV_SYS_DMA_MEM_SZ   (2 << 20)

Definition at line 30 of file pp2.c.

#define NUM_BPOOLS_RSVD   7

Definition at line 34 of file pp2.c.

#define NUM_HIFS_RSVD   4

Definition at line 32 of file pp2.c.

Function Documentation

static void mrvl_pp2_clear_interface_counters ( u32  instance)
static

Definition at line 344 of file pp2.c.

void mrvl_pp2_create_if ( mrvl_pp2_create_if_args_t args)

Definition at line 177 of file pp2.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mrvl_pp2_delete_if ( mrvl_pp2_if_t ppif)

Definition at line 115 of file pp2.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 107 of file pp2.c.

+ Here is the caller graph for this function:

static clib_error_t* mrvl_pp2_init ( vlib_main_t vm)
static

Definition at line 395 of file pp2.c.

static clib_error_t* mrvl_pp2_interface_admin_up_down ( vnet_main_t vnm,
u32  hw_if_index,
u32  flags 
)
static

Definition at line 316 of file pp2.c.

+ Here is the call graph for this function:

static void mrvl_pp2_main_deinit ( )
static

Definition at line 40 of file pp2.c.

+ Here is the caller graph for this function:

static clib_error_t* mrvl_pp2_main_init ( )
static

Definition at line 58 of file pp2.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void mrvl_pp2_set_interface_next_node ( vnet_main_t vnm,
u32  hw_if_index,
u32  node_index 
)
static

Definition at line 354 of file pp2.c.

+ Here is the call graph for this function:

VNET_DEVICE_CLASS ( mrvl_pp2_device_class  )

Variable Documentation

mrvl_pp2_main_t mrvl_pp2_main

Definition at line 36 of file pp2.c.

char* mrvl_pp2_tx_func_error_strings[]
static
Initial value:
= {
#define _(n,s)
}
#define foreach_mrvl_pp2_tx_func_error
Definition: pp2.h:102

Definition at line 373 of file pp2.c.

vnet_device_class_t ppa2_device_class