Go to the source code of this file.
|
static clib_error_t * | vnet_feature_init (vlib_main_t *vm) |
|
void | vnet_config_update_feature_count (vnet_feature_main_t *fm, u16 arc, u32 sw_if_index, int is_add) |
|
u16 | vnet_feature_arc_index_from_node_name (const char *s) |
|
u32 | vnet_feature_index_from_node_name (u16 arc, const char *s) |
|
void | vnet_feature_enable_disable (const char *arc_name, const char *node_name, u32 sw_if_index, int enable_disable, void *feature_config, u32 n_feature_config_bytes) |
|
static clib_error_t * | show_features_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Display the set of available driver features. More...
|
|
void | vnet_interface_features_show (vlib_main_t *vm, u32 sw_if_index) |
| Display the set of driver features configured on a specific interface Called by "show interface" handler. More...
|
|
Display the set of available driver features.
Useful for verifying that expected features are present
Definition at line 224 of file feature.c.
u16 vnet_feature_arc_index_from_node_name |
( |
const char * |
s | ) |
|
void vnet_feature_enable_disable |
( |
const char * |
arc_name, |
|
|
const char * |
node_name, |
|
|
u32 |
sw_if_index, |
|
|
int |
enable_disable, |
|
|
void * |
feature_config, |
|
|
u32 |
n_feature_config_bytes |
|
) |
| |
u32 vnet_feature_index_from_node_name |
( |
u16 |
arc, |
|
|
const char * |
s |
|
) |
| |
void vnet_interface_features_show |
( |
vlib_main_t * |
vm, |
|
|
u32 |
sw_if_index |
|
) |
| |
Display the set of driver features configured on a specific interface Called by "show interface" handler.
Definition at line 272 of file feature.c.
Initial value:= {
.path = "show features",
.short_help = "show features",
}
static clib_error_t * show_features_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Display the set of available driver features.
(constructor) VLIB_CLI_COMMAND (show_features_command)
Definition at line 260 of file feature.c.