FD.io VPP
v19.04.4-rc0-5-ge88582fac
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_rx_tail_t |
struct | avf_per_thread_data_t |
struct | avf_main_t |
struct | avf_create_if_args_t |
struct | avf_input_trace_t |
Macros | |
#define | AVF_AQ_ENQ_SUSPEND_TIME 50e-6 |
#define | AVF_AQ_ENQ_MAX_WAIT_TIME 50e-3 |
#define | AVF_RXD_STATUS(x) (1ULL << x) |
#define | AVF_RXD_STATUS_DD AVF_RXD_STATUS(0) |
#define | AVF_RXD_STATUS_EOP AVF_RXD_STATUS(1) |
#define | AVF_RXD_ERROR_SHIFT 19 |
#define | AVF_RXD_PTYPE_SHIFT 30 |
#define | AVF_RXD_LEN_SHIFT 38 |
#define | AVF_RX_MAX_DESC_IN_CHAIN 5 |
#define | AVF_RXD_ERROR_IPE (1ULL << (AVF_RXD_ERROR_SHIFT + 3)) |
#define | AVF_RXD_ERROR_L4E (1ULL << (AVF_RXD_ERROR_SHIFT + 4)) |
#define | AVF_TXD_CMD(x) (1 << (x + 4)) |
#define | AVF_TXD_CMD_EOP AVF_TXD_CMD(0) |
#define | AVF_TXD_CMD_RS AVF_TXD_CMD(1) |
#define | AVF_TXD_CMD_RSV AVF_TXD_CMD(2) |
#define | foreach_avf_device_flags |
#define | AVF_RX_VECTOR_SZ VLIB_FRAME_SIZE |
#define | foreach_avf_tx_func_error _(NO_FREE_SLOTS, "no free tx slots") |
Enumerations | |
enum | { foreach_avf_device_flags } |
enum | avf_process_event_t { AVF_PROCESS_EVENT_START = 1, AVF_PROCESS_EVENT_STOP = 2, AVF_PROCESS_EVENT_AQ_INT = 3 } |
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) |
void | avf_delete_if (vlib_main_t *vm, avf_device_t *ad) |
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 | |
avf_main_t | avf_main |
vlib_node_registration_t | avf_input_node |
(constructor) VLIB_REGISTER_NODE (avf_input_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_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_RS AVF_TXD_CMD(1) |
#define AVF_TXD_CMD_RSV AVF_TXD_CMD(2) |
#define foreach_avf_device_flags |
#define foreach_avf_tx_func_error _(NO_FREE_SLOTS, "no free tx slots") |
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_delete_if | ( | vlib_main_t * | vm, |
avf_device_t * | ad | ||
) |
|
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 |
avf_main_t avf_main |
format_function_t format_avf_device |
format_function_t format_avf_device_name |
format_function_t format_avf_input_trace |