FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | dpdk_device_hqos_per_worker_thread_t |
struct | dpdk_device_hqos_per_hqos_thread_t |
struct | dpdk_flow_entry_t |
struct | dpdk_flow_lookup_entry_t |
struct | dpdk_device_t |
struct | dpdk_device_and_queue_t |
struct | dpdk_device_config_hqos_t |
struct | dpdk_device_config_t |
struct | dpdk_config_main_t |
struct | dpdk_per_thread_data_t |
struct | dpdk_pcap_t |
struct | dpdk_main_t |
struct | dpdk_tx_trace_t |
struct | dpdk_rx_trace_t |
Macros | |
#define | ALLOW_EXPERIMENTAL_API |
#define | always_inline static inline |
#define | NB_MBUF (16<<10) |
#define | foreach_dpdk_pmd |
#define | foreach_dpdk_device_flags |
#define | DPDK_STATS_POLL_INTERVAL (10.0) |
#define | DPDK_MIN_STATS_POLL_INTERVAL (0.001) /* 1msec */ |
#define | DPDK_LINK_POLL_INTERVAL (3.0) |
#define | DPDK_MIN_LINK_POLL_INTERVAL (0.001) /* 1msec */ |
#define | DPDK_HQOS_DBG_BYPASS 0 |
#define | HQOS_FLUSH_COUNT_THRESHOLD 100000 |
#define | foreach_dpdk_device_config_item |
#define | DPDK_DEVICE_VLAN_STRIP_DEFAULT 0 |
#define | DPDK_DEVICE_VLAN_STRIP_OFF 1 |
#define | DPDK_DEVICE_VLAN_STRIP_ON 2 |
#define | DPDK_RX_BURST_SZ VLIB_FRAME_SIZE |
#define | foreach_dpdk_error |
#define | dpdk_log_err(...) vlib_log(VLIB_LOG_LEVEL_ERR, dpdk_main.log_default, __VA_ARGS__) |
#define | dpdk_log_warn(...) vlib_log(VLIB_LOG_LEVEL_WARNING, dpdk_main.log_default, __VA_ARGS__) |
#define | dpdk_log_notice(...) vlib_log(VLIB_LOG_LEVEL_NOTICE, dpdk_main.log_default, __VA_ARGS__) |
#define | dpdk_log_info(...) vlib_log(VLIB_LOG_LEVEL_INFO, dpdk_main.log_default, __VA_ARGS__) |
Typedefs | |
typedef uint16_t | dpdk_portid_t |
typedef struct dpdk_device_config_hqos_t | dpdk_device_config_hqos_t |
#define dpdk_log_err | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_ERR, dpdk_main.log_default, __VA_ARGS__) |
#define dpdk_log_info | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_INFO, dpdk_main.log_default, __VA_ARGS__) |
#define dpdk_log_notice | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_NOTICE, dpdk_main.log_default, __VA_ARGS__) |
#define dpdk_log_warn | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_WARNING, dpdk_main.log_default, __VA_ARGS__) |
#define DPDK_RX_BURST_SZ VLIB_FRAME_SIZE |
#define foreach_dpdk_device_config_item |
#define foreach_dpdk_device_flags |
#define foreach_dpdk_error |
#define foreach_dpdk_pmd |
typedef struct dpdk_device_config_hqos_t dpdk_device_config_hqos_t |
typedef uint16_t dpdk_portid_t |
enum dpdk_error_t |
enum dpdk_pmd_t |
enum dpdk_port_type_t |
uword admin_up_down_process | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | rt, | ||
vlib_frame_t * | f | ||
) |
clib_error_t* dpdk_buffer_pool_create | ( | vlib_main_t * | vm, |
unsigned | num_mbufs, | ||
unsigned | socket_id | ||
) |
void dpdk_device_config_hqos_default | ( | dpdk_device_config_hqos_t * | hqos | ) |
void dpdk_device_config_hqos_pipe_profile_default | ( | dpdk_device_config_hqos_t * | hqos, |
u32 | pipe_profile_id | ||
) |
void dpdk_device_setup | ( | dpdk_device_t * | xd | ) |
void dpdk_device_start | ( | dpdk_device_t * | xd | ) |
void dpdk_device_stop | ( | dpdk_device_t * | xd | ) |
void dpdk_hqos_metadata_set | ( | dpdk_device_hqos_per_worker_thread_t * | hqos, |
struct rte_mbuf ** | pkts, | ||
u32 | n_pkts | ||
) |
clib_error_t* dpdk_pool_create | ( | vlib_main_t * | vm, |
u8 * | pool_name, | ||
u32 | elt_size, | ||
u32 | num_elts, | ||
u32 | pool_priv_size, | ||
u16 | cache_size, | ||
u8 | numa, | ||
struct rte_mempool ** | _mp, | ||
vlib_physmem_region_index_t * | pri | ||
) |
clib_error_t* dpdk_port_setup_hqos | ( | dpdk_device_t * | xd, |
dpdk_device_config_hqos_t * | hqos | ||
) |
int dpdk_port_state_callback | ( | dpdk_portid_t | port_id, |
enum rte_eth_event_type | type, | ||
void * | param, | ||
void * | ret_param | ||
) |
void dpdk_update_link_state | ( | dpdk_device_t * | xd, |
f64 | now | ||
) |
clib_error_t* unformat_hqos | ( | unformat_input_t * | input, |
dpdk_device_config_hqos_t * | hqos | ||
) |
clib_error_t* unformat_rss_fn | ( | unformat_input_t * | input, |
uword * | rss_fn | ||
) |
dpdk_config_main_t dpdk_config_main |
vnet_device_class_t dpdk_device_class |
vnet_flow_dev_ops_function_t dpdk_flow_ops_fn |
vlib_node_registration_t dpdk_input_node |
dpdk_main_t dpdk_main |
format_function_t format_dpdk_device |
format_function_t format_dpdk_device_errors |
format_function_t format_dpdk_device_name |
format_function_t format_dpdk_flow |
format_function_t format_dpdk_rte_mbuf |
format_function_t format_dpdk_rx_rte_mbuf |
format_function_t format_dpdk_rx_trace |
format_function_t format_dpdk_tx_trace |
unformat_function_t unformat_dpdk_log_level |