FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
pp2.h File Reference
+ Include dependency graph for pp2.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mrvl_pp2_inq_t
 
struct  mrvl_pp2_outq_t
 
struct  mrvl_pp2_if_t
 
struct  mrvl_pp2_per_thread_data_t
 
struct  mrvl_pp2_main_t
 
struct  mrvl_pp2_create_if_args_t
 
struct  mrvl_pp2_input_trace_t
 

Macros

#define MVCONF_DBG_LEVEL   0
 
#define MVCONF_PP2_BPOOL_COOKIE_SIZE   32
 
#define MVCONF_PP2_BPOOL_DMA_ADDR_SIZE   64
 
#define MVCONF_DMA_PHYS_ADDR_T_SIZE   64
 
#define MVCONF_SYS_DMA_UIO
 
#define MVCONF_TYPES_PUBLIC
 
#define MVCONF_DMA_PHYS_ADDR_T_PUBLIC
 
#define MRVL_PP2_IF_F_ADMIN_UP   (1 << 0)
 
#define MRVL_PP2_BUFF_BATCH_SZ   VLIB_FRAME_SIZE
 
#define foreach_mrvl_pp2_tx_func_error
 

Enumerations

enum  mrvl_pp2_tx_func_error_t { MRVL_PP2_TX_N_ERROR }
 

Functions

void mrvl_pp2_create_if (mrvl_pp2_create_if_args_t *args)
 
void mrvl_pp2_delete_if (mrvl_pp2_if_t *dfif)
 
clib_error_tmrvl_pp2_plugin_api_hookup (vlib_main_t *vm)
 
uword mrvl_pp2_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

vnet_device_class_t mrvl_pp2_device_class
 
mrvl_pp2_main_t mrvl_pp2_main
 
vlib_node_registration_t mrvl_pp2_input_node
 (constructor) VLIB_REGISTER_NODE (mrvl_pp2_input_node) More...
 
format_function_t format_mrvl_pp2_input_trace
 
format_function_t format_mrvl_pp2_interface
 
format_function_t format_mrvl_pp2_interface_name
 

Macro Definition Documentation

◆ foreach_mrvl_pp2_tx_func_error

#define foreach_mrvl_pp2_tx_func_error
Value:
_(NO_FREE_SLOTS, "no free tx slots") \
_(PPIO_SEND, "pp2_ppio_send errors") \
_(PPIO_GET_NUM_OUTQ_DONE, "pp2_ppio_get_num_outq_done errors")

Definition at line 107 of file pp2.h.

◆ MRVL_PP2_BUFF_BATCH_SZ

#define MRVL_PP2_BUFF_BATCH_SZ   VLIB_FRAME_SIZE

Definition at line 66 of file pp2.h.

◆ MRVL_PP2_IF_F_ADMIN_UP

#define MRVL_PP2_IF_F_ADMIN_UP   (1 << 0)

Definition at line 54 of file pp2.h.

◆ MVCONF_DBG_LEVEL

#define MVCONF_DBG_LEVEL   0

Definition at line 18 of file pp2.h.

◆ MVCONF_DMA_PHYS_ADDR_T_PUBLIC

#define MVCONF_DMA_PHYS_ADDR_T_PUBLIC

Definition at line 24 of file pp2.h.

◆ MVCONF_DMA_PHYS_ADDR_T_SIZE

#define MVCONF_DMA_PHYS_ADDR_T_SIZE   64

Definition at line 21 of file pp2.h.

◆ MVCONF_PP2_BPOOL_COOKIE_SIZE

#define MVCONF_PP2_BPOOL_COOKIE_SIZE   32

Definition at line 19 of file pp2.h.

◆ MVCONF_PP2_BPOOL_DMA_ADDR_SIZE

#define MVCONF_PP2_BPOOL_DMA_ADDR_SIZE   64

Definition at line 20 of file pp2.h.

◆ MVCONF_SYS_DMA_UIO

#define MVCONF_SYS_DMA_UIO

Definition at line 22 of file pp2.h.

◆ MVCONF_TYPES_PUBLIC

#define MVCONF_TYPES_PUBLIC

Definition at line 23 of file pp2.h.

Enumeration Type Documentation

◆ mrvl_pp2_tx_func_error_t

Enumerator
MRVL_PP2_TX_N_ERROR 

Definition at line 112 of file pp2.h.

Function Documentation

◆ mrvl_pp2_create_if()

void mrvl_pp2_create_if ( mrvl_pp2_create_if_args_t args)

Definition at line 180 of file pp2.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mrvl_pp2_delete_if()

void mrvl_pp2_delete_if ( mrvl_pp2_if_t dfif)

Definition at line 115 of file pp2.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mrvl_pp2_interface_tx()

uword mrvl_pp2_interface_tx ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 31 of file output.c.

+ Here is the call graph for this function:

◆ mrvl_pp2_plugin_api_hookup()

clib_error_t* mrvl_pp2_plugin_api_hookup ( vlib_main_t vm)

Definition at line 87 of file pp2_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ format_mrvl_pp2_input_trace

format_function_t format_mrvl_pp2_input_trace

Definition at line 135 of file pp2.h.

◆ format_mrvl_pp2_interface

format_function_t format_mrvl_pp2_interface

Definition at line 136 of file pp2.h.

◆ format_mrvl_pp2_interface_name

format_function_t format_mrvl_pp2_interface_name

Definition at line 137 of file pp2.h.

◆ mrvl_pp2_device_class

vnet_device_class_t mrvl_pp2_device_class

◆ mrvl_pp2_input_node

vlib_node_registration_t mrvl_pp2_input_node

(constructor) VLIB_REGISTER_NODE (mrvl_pp2_input_node)

Definition at line 375 of file input.c.

◆ mrvl_pp2_main

mrvl_pp2_main_t mrvl_pp2_main

Definition at line 36 of file pp2.c.