FD.io VPP
v21.10.1-2-g0a485f517
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_flow_entry_t |
struct | avf_flow_lookup_entry_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, AVF_PROCESS_REQ_PROGRAM_FLOW = 3 } |
enum | avf_tx_func_error_t { AVF_TX_N_ERROR } |
#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_ERROR_IPE (1ULL << (AVF_RXD_ERROR_SHIFT + 3)) |
#define AVF_RXD_ERROR_L4E (1ULL << (AVF_RXD_ERROR_SHIFT + 4)) |
#define AVF_RXD_STATUS_DD AVF_RXD_STATUS(0) |
#define AVF_RXD_STATUS_EOP AVF_RXD_STATUS(1) |
#define AVF_RXD_STATUS_FLM AVF_RXD_STATUS (11) |
#define avf_stats_log_debug | ( | dev, | |
f, | |||
... | |||
) |
#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 | ||
) |
void avf_elog_aq_enq_req | ( | avf_device_t * | ad, |
avf_aq_desc_t * | d | ||
) |
void avf_elog_aq_enq_resp | ( | avf_device_t * | ad, |
avf_aq_desc_t * | d | ||
) |
void avf_elog_arq_desc | ( | avf_device_t * | ad, |
avf_aq_desc_t * | d | ||
) |
void avf_elog_init | ( | ) |
void avf_elog_reg | ( | avf_device_t * | ad, |
u32 | addr, | ||
u32 | val, | ||
int | is_read | ||
) |
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 |
vnet_flow_dev_ops_function_t avf_flow_ops_fn |
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 |
vlib_log_class_registration_t avf_stats_log |
format_function_t format_avf_device |
format_function_t format_avf_device_name |
format_function_t format_avf_eth_stats |
format_function_t format_avf_input_trace |
format_function_t format_avf_vf_cap_flags |
format_function_t format_avf_vlan_caps |
format_function_t format_avf_vlan_support |
format_function_t format_avf_vlan_supported_caps |