summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-06-30 19:53:03 +0200
committerDave Barach <openvpp@barachs.net>2017-07-12 21:12:36 +0000
commit10ae76627b19f26d857bdeffae9e2c2fac6e38a8 (patch)
treecc6e9563ea110af536da844ff85e1439ceff3139 /src/vnet/interface.c
parent690d26c6b9ddbd1a252e0eff61a28a62fc740432 (diff)
Deprecate support for flattened output nodes
Change-Id: Id117e219146d9994340fb38c00233ea67db8929b Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/interface.c')
-rw-r--r--src/vnet/interface.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index 1370d048b0b..7c0272b458d 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -783,9 +783,7 @@ vnet_register_interface (vnet_main_t * vnm,
/* The new class may differ from the old one.
* Functions have to be updated. */
node = vlib_get_node (vm, hw->output_node_index);
- node->function = dev_class->flatten_output_chains ?
- vnet_interface_output_node_flatten_multiarch_select () :
- vnet_interface_output_node_multiarch_select ();
+ node->function = vnet_interface_output_node_multiarch_select ();
node->format_trace = format_vnet_interface_output_trace;
nrt = vlib_node_get_runtime (vm, hw->output_node_index);
nrt->function = node->function;
@@ -827,9 +825,7 @@ vnet_register_interface (vnet_main_t * vnm,
r.flags = 0;
r.name = output_node_name;
- r.function = dev_class->flatten_output_chains ?
- vnet_interface_output_node_flatten_multiarch_select () :
- vnet_interface_output_node_multiarch_select ();
+ r.function = vnet_interface_output_node_multiarch_select ();
r.format_trace = format_vnet_interface_output_trace;
{