FD.io VPP  v18.07-rc0-415-g6c78436
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   64
 
#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)
 
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

#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 100 of file pp2.h.

#define MRVL_PP2_BUFF_BATCH_SZ   64

Definition at line 64 of file pp2.h.

#define MRVL_PP2_IF_F_ADMIN_UP   (1 << 0)

Definition at line 52 of file pp2.h.

#define MVCONF_DBG_LEVEL   0

Definition at line 18 of file pp2.h.

#define MVCONF_DMA_PHYS_ADDR_T_PUBLIC

Definition at line 24 of file pp2.h.

#define MVCONF_DMA_PHYS_ADDR_T_SIZE   64

Definition at line 21 of file pp2.h.

#define MVCONF_PP2_BPOOL_COOKIE_SIZE   32

Definition at line 19 of file pp2.h.

#define MVCONF_PP2_BPOOL_DMA_ADDR_SIZE   64

Definition at line 20 of file pp2.h.

#define MVCONF_SYS_DMA_UIO

Definition at line 22 of file pp2.h.

#define MVCONF_TYPES_PUBLIC

Definition at line 23 of file pp2.h.

Enumeration Type Documentation

Enumerator
MRVL_PP2_TX_N_ERROR 

Definition at line 105 of file pp2.h.

Function Documentation

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 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:

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:

Variable Documentation

format_function_t format_mrvl_pp2_input_trace

Definition at line 128 of file pp2.h.

format_function_t format_mrvl_pp2_interface

Definition at line 129 of file pp2.h.

format_function_t format_mrvl_pp2_interface_name

Definition at line 130 of file pp2.h.

vnet_device_class_t mrvl_pp2_device_class
vlib_node_registration_t mrvl_pp2_input_node

(constructor) VLIB_REGISTER_NODE (mrvl_pp2_input_node)

Definition at line 374 of file input.c.

mrvl_pp2_main_t mrvl_pp2_main

Definition at line 36 of file pp2.c.