FD.io VPP
v21.01.1
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | avf_rx_desc_t |
struct | avf_tx_desc_t |
struct | avf_rxq_t |
struct | avf_txq_t |
struct | avf_device_t |
struct | avf_process_req_t |
struct | avf_rx_tail_t |
struct | avf_per_thread_data_t |
struct | avf_main_t |
struct | avf_create_if_args_t |
struct | avf_input_trace_t |
Enumerations | |
enum | { foreach_avf_device_flags } |
enum | avf_process_event_t { AVF_PROCESS_EVENT_START = 1, AVF_PROCESS_EVENT_DELETE_IF = 2, AVF_PROCESS_EVENT_AQ_INT = 3, AVF_PROCESS_EVENT_REQ = 4 } |
enum | avf_process_req_type_t { AVF_PROCESS_REQ_ADD_DEL_ETH_ADDR = 1, AVF_PROCESS_REQ_CONFIG_PROMISC_MDDE = 2 } |
enum | avf_tx_func_error_t { AVF_TX_N_ERROR } |
Functions | |
STATIC_ASSERT_SIZEOF (avf_rx_desc_t, 32) | |
STATIC_ASSERT_SIZEOF (avf_tx_desc_t, 16) | |
void | avf_create_if (vlib_main_t *vm, avf_create_if_args_t *args) |
static_always_inline avf_device_t * | avf_get_device (u32 dev_instance) |
static u32 | avf_get_u32 (void *start, int offset) |
static u64 | avf_get_u64 (void *start, int offset) |
static u32 | avf_get_u32_bits (void *start, int offset, int first, int last) |
static u64 | avf_get_u64_bits (void *start, int offset, int first, int last) |
static void | avf_set_u32 (void *start, int offset, u32 value) |
static void | avf_reg_write (avf_device_t *ad, u32 addr, u32 val) |
static u32 | avf_reg_read (avf_device_t *ad, u32 addr) |
static void | avf_reg_flush (avf_device_t *ad) |
static_always_inline int | avf_rxd_is_not_eop (avf_rx_desc_t *d) |
static_always_inline int | avf_rxd_is_not_dd (avf_rx_desc_t *d) |
Variables | |
vlib_log_class_registration_t | avf_log |
avf_main_t | avf_main |
vlib_node_registration_t | avf_input_node |
(constructor) VLIB_REGISTER_NODE (avf_input_node) More... | |
vlib_node_registration_t | avf_process_node |
(constructor) VLIB_REGISTER_NODE (avf_process_node) More... | |
vnet_device_class_t | avf_device_class |
format_function_t | format_avf_device |
format_function_t | format_avf_device_name |
format_function_t | format_avf_input_trace |
#define avf_log_debug | ( | dev, | |
f, | |||
... | |||
) |
#define avf_log_err | ( | dev, | |
f, | |||
... | |||
) |
#define avf_log_warn | ( | dev, | |
f, | |||
... | |||
) |
#define AVF_RX_VECTOR_SZ VLIB_FRAME_SIZE |
#define AVF_RXD_STATUS_DD AVF_RXD_STATUS(0) |
#define AVF_RXD_STATUS_EOP AVF_RXD_STATUS(1) |
#define AVF_TXD_CMD_EOP AVF_TXD_CMD(0) |
#define AVF_TXD_CMD_IIPT_IPV4 AVF_TXD_CMD_EXT(5, 3) |
#define AVF_TXD_CMD_IIPT_IPV4_NO_CSUM AVF_TXD_CMD_EXT(5, 2) |
#define AVF_TXD_CMD_IIPT_IPV6 AVF_TXD_CMD_EXT(5, 1) |
#define AVF_TXD_CMD_IIPT_NONE AVF_TXD_CMD_EXT(5, 0) |
#define AVF_TXD_CMD_L4T_SCTP AVF_TXD_CMD_EXT(8, 2) |
#define AVF_TXD_CMD_L4T_TCP AVF_TXD_CMD_EXT(8, 1) |
#define AVF_TXD_CMD_L4T_UDP AVF_TXD_CMD_EXT(8, 3) |
#define AVF_TXD_CMD_L4T_UNKNOWN AVF_TXD_CMD_EXT(8, 0) |
#define AVF_TXD_CMD_RS AVF_TXD_CMD(1) |
#define AVF_TXD_CMD_RSV AVF_TXD_CMD(2) |
#define AVF_TXD_CTX_CMD_TSO AVF_TXD_CMD(0) |
#define AVF_TXD_CTX_SEG_MSS | ( | val | ) | AVF_TXD_CTX_SEG(val,20) |
#define AVF_TXD_CTX_SEG_TLEN | ( | val | ) | AVF_TXD_CTX_SEG(val,0) |
#define AVF_TXD_OFFSET_IPLEN | ( | val | ) | AVF_TXD_OFFSET( 7, 4, val) |
#define AVF_TXD_OFFSET_L4LEN | ( | val | ) | AVF_TXD_OFFSET(14, 4, val) |
#define AVF_TXD_OFFSET_MACLEN | ( | val | ) | AVF_TXD_OFFSET( 0, 2, val) |
#define foreach_avf_device_flags |
#define foreach_avf_tx_func_error |
enum avf_process_event_t |
enum avf_tx_func_error_t |
void avf_create_if | ( | vlib_main_t * | vm, |
avf_create_if_args_t * | args | ||
) |
static_always_inline avf_device_t* avf_get_device | ( | u32 | dev_instance | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
static_always_inline int avf_rxd_is_not_dd | ( | avf_rx_desc_t * | d | ) |
static_always_inline int avf_rxd_is_not_eop | ( | avf_rx_desc_t * | d | ) |
|
inlinestatic |
STATIC_ASSERT_SIZEOF | ( | avf_rx_desc_t | , |
32 | |||
) |
STATIC_ASSERT_SIZEOF | ( | avf_tx_desc_t | , |
16 | |||
) |
vnet_device_class_t avf_device_class |
vlib_node_registration_t avf_input_node |
vlib_log_class_registration_t avf_log |
avf_main_t avf_main |
vlib_node_registration_t avf_process_node |
format_function_t format_avf_device |
format_function_t format_avf_device_name |
format_function_t format_avf_input_trace |