FD.io VPP
v17.04-9-g99c0734
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | tx_ring_hdr_t |
struct | dpdk_device_hqos_per_worker_thread_t |
struct | dpdk_device_hqos_per_hqos_thread_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_main_t |
struct | dpdk_tx_dma_trace_t |
struct | dpdk_rx_dma_trace_t |
Macros | |
#define | always_inline static inline |
#define | NB_MBUF (16<<10) |
#define | foreach_dpdk_pmd |
#define | DPDK_DEVICE_FLAG_ADMIN_UP (1 << 0) |
#define | DPDK_DEVICE_FLAG_PROMISC (1 << 1) |
#define | DPDK_DEVICE_FLAG_PMD (1 << 2) |
#define | DPDK_DEVICE_FLAG_PMD_SUPPORTS_PTYPE (1 << 3) |
#define | DPDK_DEVICE_FLAG_MAYBE_MULTISEG (1 << 4) |
#define | DPDK_DEVICE_FLAG_HAVE_SUBIF (1 << 5) |
#define | DPDK_DEVICE_FLAG_HQOS (1 << 6) |
#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 | foreach_dpdk_error |
#define | EFD_OPERATION_LESS_THAN 0 |
#define | EFD_OPERATION_GREATER_OR_EQUAL 1 |
Typedefs | |
typedef struct dpdk_device_config_hqos_t | dpdk_device_config_hqos_t |
Variables | |
vnet_device_class_t | dpdk_device_class |
vlib_node_registration_t | dpdk_input_node |
(constructor) VLIB_REGISTER_NODE (dpdk_input_node) More... | |
vlib_node_registration_t | handoff_dispatch_node |
(constructor) VLIB_REGISTER_NODE (handoff_dispatch_node) More... | |
dpdk_config_main_t | dpdk_config_main |
dpdk_main_t | dpdk_main |
format_function_t | format_dpdk_device_name |
format_function_t | format_dpdk_device |
format_function_t | format_dpdk_tx_dma_trace |
format_function_t | format_dpdk_rx_dma_trace |
format_function_t | format_dpdk_rte_mbuf |
format_function_t | format_dpdk_rx_rte_mbuf |
unformat_function_t | unformat_socket_mem |
#define foreach_dpdk_device_config_item |
#define foreach_dpdk_error |
#define foreach_dpdk_pmd |
typedef struct dpdk_device_config_hqos_t dpdk_device_config_hqos_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 | ||
) |
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_lock_free | ( | dpdk_device_t * | xd | ) |
void dpdk_device_lock_init | ( | dpdk_device_t * | xd | ) |
void dpdk_hqos_metadata_set | ( | dpdk_device_hqos_per_worker_thread_t * | hqos, |
struct rte_mbuf ** | pkts, | ||
u32 | n_pkts | ||
) |
u32 dpdk_interface_tx_vector | ( | vlib_main_t * | vm, |
u32 | dev_instance | ||
) |
clib_error_t* dpdk_port_setup | ( | dpdk_main_t * | dm, |
dpdk_device_t * | xd | ||
) |
clib_error_t* dpdk_port_setup_hqos | ( | dpdk_device_t * | xd, |
dpdk_device_config_hqos_t * | hqos | ||
) |
struct rte_mbuf* dpdk_replicate_packet_mb | ( | vlib_buffer_t * | b | ) |
void dpdk_rx_trace | ( | dpdk_main_t * | dm, |
vlib_node_runtime_t * | node, | ||
dpdk_device_t * | xd, | ||
u16 | queue_id, | ||
u32 * | buffers, | ||
uword | n_buffers | ||
) |
clib_error_t* dpdk_set_mac_address | ( | vnet_hw_interface_t * | hi, |
char * | address | ||
) |
clib_error_t* dpdk_set_mc_filter | ( | vnet_hw_interface_t * | hi, |
struct ether_addr | mc_addr_vec[], | ||
int | naddr | ||
) |
void dpdk_thread_input | ( | dpdk_main_t * | dm, |
dpdk_device_t * | xd | ||
) |
void dpdk_update_link_state | ( | dpdk_device_t * | xd, |
f64 | now | ||
) |
struct rte_mbuf* dpdk_zerocopy_replicate_packet_mb | ( | vlib_buffer_t * | b | ) |
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 | ||
) |
void vnet_buffer_needs_dpdk_mb | ( | vlib_buffer_t * | b | ) |
dpdk_config_main_t dpdk_config_main |
vnet_device_class_t dpdk_device_class |
vlib_node_registration_t dpdk_input_node |
dpdk_main_t dpdk_main |
format_function_t format_dpdk_device |
format_function_t format_dpdk_device_name |
format_function_t format_dpdk_rte_mbuf |
format_function_t format_dpdk_rx_dma_trace |
format_function_t format_dpdk_rx_rte_mbuf |
format_function_t format_dpdk_tx_dma_trace |
vlib_node_registration_t handoff_dispatch_node |
unformat_function_t unformat_socket_mem |