FD.io VPP
v17.07.01-10-g3be13f0
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_INIT_FAIL (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_DEVICE_FLAG_BOND_SLAVE (1 << 7) |
#define | DPDK_DEVICE_FLAG_BOND_SLAVE_UP (1 << 8) |
#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 |
Typedefs | |
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) |
void | dpdk_device_config_hqos_default (dpdk_device_config_hqos_t *hqos) |
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) |
void | dpdk_port_state_callback (uint8_t port_id, enum rte_eth_event_type type, void *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) |
uword | admin_up_down_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
#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_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_port_setup_hqos | ( | dpdk_device_t * | xd, |
dpdk_device_config_hqos_t * | hqos | ||
) |
void dpdk_port_state_callback | ( | uint8_t | port_id, |
enum rte_eth_event_type | type, | ||
void * | 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 |
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_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 |
unformat_function_t unformat_dpdk_log_level |