FD.io VPP
v19.04.4-rc0-5-ge88582fac
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_main_t |
struct | dpdk_tx_trace_t |
struct | dpdk_rx_trace_t |
Macros | |
#define | ALLOW_EXPERIMENTAL_API |
#define | always_inline static inline |
#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 |
Functions | |
int | dpdk_hqos_validate_mask (u64 mask, u32 n) |
void | dpdk_device_config_hqos_pipe_profile_default (dpdk_device_config_hqos_t *hqos, u32 pipe_profile_id) |
clib_error_t * | dpdk_port_setup_hqos (dpdk_device_t *xd, dpdk_device_config_hqos_t *hqos) |
void | dpdk_hqos_metadata_set (dpdk_device_hqos_per_worker_thread_t *hqos, struct rte_mbuf **pkts, u32 n_pkts) |
void | dpdk_device_setup (dpdk_device_t *xd) |
void | dpdk_device_start (dpdk_device_t *xd) |
void | dpdk_device_stop (dpdk_device_t *xd) |
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_rss_fn (unformat_input_t *input, uword *rss_fn) |
clib_error_t * | unformat_hqos (unformat_input_t *input, dpdk_device_config_hqos_t *hqos) |
struct rte_pci_device * | dpdk_get_pci_device (const struct rte_eth_dev_info *info) |
#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 |
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 | ) |
struct rte_pci_device* dpdk_get_pci_device | ( | const struct rte_eth_dev_info * | info | ) |
void dpdk_hqos_metadata_set | ( | dpdk_device_hqos_per_worker_thread_t * | hqos, |
struct rte_mbuf ** | pkts, | ||
u32 | n_pkts | ||
) |
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 | ||
) |
vlib_node_registration_t admin_up_down_process_node |
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_rss_hf_name |
format_function_t format_dpdk_rte_mbuf |
format_function_t format_dpdk_rx_offload_caps |
format_function_t format_dpdk_rx_rte_mbuf |
format_function_t format_dpdk_rx_trace |
format_function_t format_dpdk_tx_offload_caps |
format_function_t format_dpdk_tx_trace |