aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/ethernet/interface.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-10-28 20:30:15 +0200
committerDave Barach <openvpp@barachs.net>2016-11-01 21:34:05 +0000
commit2231150b52b58c4114f8520cde8b26df2761e064 (patch)
treef4f5e5dcd4608bc94f02dabb6aa480fa411b85b8 /vnet/vnet/ethernet/interface.c
parent3dffb1e4c628f0698e369d1cbb3cb2068a3a698c (diff)
feature: add new feature handling code and device-input features
Signed-off-by: Damjan Marion <damarion@cisco.com> Change-Id: I010ecde93863dbdad84b993cd3680a5446db59b5
Diffstat (limited to 'vnet/vnet/ethernet/interface.c')
-rw-r--r--vnet/vnet/ethernet/interface.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/vnet/vnet/ethernet/interface.c b/vnet/vnet/ethernet/interface.c
index 45d215d324f..a0dea6f52a2 100644
--- a/vnet/vnet/ethernet/interface.c
+++ b/vnet/vnet/ethernet/interface.c
@@ -701,33 +701,6 @@ VLIB_CLI_COMMAND (delete_sub_interface_command, static) = {
};
/* *INDENT-ON* */
-static clib_error_t *
-show_ethernet_interface_features_command_fn (vlib_main_t * vm,
- unformat_input_t * input,
- vlib_cli_command_t * cmd)
-{
- vnet_main_t *vnm = vnet_get_main ();
- ethernet_main_t *em = &ethernet_main;
- u32 sw_if_index;
-
- if (!unformat (input, "%U", unformat_vnet_sw_interface, vnm, &sw_if_index))
- return clib_error_return (0, "Interface not specified...");
-
- vlib_cli_output (vm, "Ethernet feature paths configured on %U...",
- format_vnet_sw_if_index_name, vnm, sw_if_index);
-
- ip_interface_features_show (vm, "Ethernet",
- em->feature_config_mains, sw_if_index);
-
- return 0;
-}
-
-VLIB_CLI_COMMAND (show_ethernet_interface_features_command, static) =
-{
-.path = "show ethernet interface features",.short_help =
- "show ethernet interface features <intfc>",.function =
- show_ethernet_interface_features_command_fn,};
-
/*
* fd.io coding-style-patch-verification: ON
*