Go to the source code of this file.
|
static u32 | ssvm_eth_flag_change (vnet_main_t *vnm, vnet_hw_interface_t *hi, u32 flags) |
|
int | ssvm_eth_create (ssvm_eth_main_t *em, u8 *name, int is_master) |
|
static clib_error_t * | ssvm_config (vlib_main_t *vm, unformat_input_t *input) |
|
static clib_error_t * | ssvm_eth_init (vlib_main_t *vm) |
|
static u8 * | format_ssvm_eth_device_name (u8 *s, va_list *args) |
|
static u8 * | format_ssvm_eth_device (u8 *s, va_list *args) |
|
static u8 * | format_ssvm_eth_tx_trace (u8 *s, va_list *args) |
|
static uword | ssvm_eth_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f) |
|
static void | ssvm_eth_clear_hw_interface_counters (u32 instance) |
|
static clib_error_t * | ssvm_eth_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static clib_error_t * | ssvm_eth_subif_add_del_function (vnet_main_t *vnm, u32 hw_if_index, struct vnet_sw_interface_t *st, int is_add) |
|
static void | ssvm_eth_set_interface_next_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index) |
|
| VNET_DEVICE_CLASS (ssvm_eth_device_class) |
|
#define foreach_ssvm_eth_tx_func_error |
Value:_(RING_FULL, "Tx packet drops (ring full)") \
_(NO_BUFFERS, "Tx packet drops (no buffers)") \
_(ADMIN_DOWN, "Tx packet drops (admin down)")
Definition at line 19 of file ssvm_eth.c.
Enumerator |
---|
SSVM_ETH_TX_N_ERROR |
|
Definition at line 24 of file ssvm_eth.c.
static u8* format_ssvm_eth_device |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_ssvm_eth_device_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_ssvm_eth_tx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static void ssvm_eth_clear_hw_interface_counters |
( |
u32 |
instance | ) |
|
|
static |
static void ssvm_eth_set_interface_next_node |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u32 |
node_index |
|
) |
| |
|
static |
char* ssvm_eth_tx_func_error_strings[] |
|
static |
Initial value:= {
#define _(n,s)
}
#define foreach_ssvm_eth_tx_func_error
Definition at line 211 of file ssvm_eth.c.