Go to the source code of this file.
|
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) |
|
struct rte_mbuf * | dpdk_replicate_packet_mb (vlib_buffer_t *b) |
|
struct rte_mbuf * | dpdk_zerocopy_replicate_packet_mb (vlib_buffer_t *b) |
|
static void | dpdk_tx_trace_buffer (dpdk_main_t *dm, vlib_node_runtime_t *node, dpdk_device_t *xd, u16 queue_id, u32 buffer_index, vlib_buffer_t *buffer) |
|
static_always_inline u32 | tx_burst_vector_internal (vlib_main_t *vm, dpdk_device_t *xd, struct rte_mbuf **tx_vector) |
|
u32 | dpdk_interface_tx_vector (vlib_main_t *vm, u32 dev_instance) |
|
static uword | dpdk_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f) |
|
static int | dpdk_device_renumber (vnet_hw_interface_t *hi, u32 new_dev_instance) |
|
static void | dpdk_clear_hw_interface_counters (u32 instance) |
|
static clib_error_t * | dpdk_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static void | dpdk_set_interface_next_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index) |
|
static clib_error_t * | dpdk_subif_add_del_function (vnet_main_t *vnm, u32 hw_if_index, struct vnet_sw_interface_t *st, int is_add) |
|
| VNET_DEVICE_CLASS (dpdk_device_class) |
|
void | dpdk_set_flowcontrol_callback (vlib_main_t *vm, dpdk_flowcontrol_callback_t callback) |
|
u32 | dpdk_get_admin_up_down_in_progress (void) |
|
static uword | admin_up_down_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
void | post_sw_interface_set_flags (vlib_main_t *vm, u32 sw_if_index, u32 flags) |
|
int | rte_delay_us_override (unsigned us) |
|
clib_error_t * | dpdk_get_hw_interface_stats (u32 hw_if_index, struct rte_eth_stats *dest) |
|
u32 | dpdk_num_mbufs (void) |
|
int | dpdk_io_thread_release (void) |
|
dpdk_pmd_t | dpdk_get_pmd_type (vnet_hw_interface_t *hi) |
|
i8 | dpdk_get_cpu_socket (vnet_hw_interface_t *hi) |
|
#define foreach_dpdk_tx_func_error |
Value:_(BAD_RETVAL, "DPDK tx function returned an error") \
_(RING_FULL, "Tx packet drops (ring full)") \
_(PKT_DROP, "Tx packet drops (dpdk tx failure)") \
_(REPL_FAIL, "Tx packet drops (replication failure)")
Definition at line 27 of file device.c.
#define UP_DOWN_FLAG_EVENT 1 |
Enumerator |
---|
DPDK_TX_FUNC_N_ERROR |
|
Definition at line 33 of file device.c.
static void dpdk_clear_hw_interface_counters |
( |
u32 |
instance | ) |
|
|
static |
u32 dpdk_get_admin_up_down_in_progress |
( |
void |
| ) |
|
clib_error_t* dpdk_get_hw_interface_stats |
( |
u32 |
hw_if_index, |
|
|
struct rte_eth_stats * |
dest |
|
) |
| |
int dpdk_io_thread_release |
( |
void |
| ) |
|
struct rte_mbuf* dpdk_zerocopy_replicate_packet_mb |
( |
vlib_buffer_t * |
b | ) |
|
int rte_delay_us_override |
( |
unsigned |
us | ) |
|
Initial value:= {
.name = "admin-up-down-process",
.process_log2_n_stack_bytes = 17,
}
static uword admin_up_down_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (admin_up_down_process_node)
Definition at line 1250 of file device.c.
char* dpdk_tx_func_error_strings[] |
|
static |
Initial value:= {
#define _(n,s)
}
#define foreach_dpdk_tx_func_error
Definition at line 40 of file device.c.