aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/unix/tuntap.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-11-04 11:00:27 +0100
committerDave Barach <openvpp@barachs.net>2016-11-04 14:59:42 +0000
commit87cd119ca9ff870db10b6fe1127aac8b6fc89633 (patch)
tree7cdd01d5d97bc200e45233326d2dafce083302cc /vnet/vnet/unix/tuntap.c
parent96e6f958bbac88e04ef6fd04bc0abda22a3b37bc (diff)
feature: store arc index in vlib_buffer
Previos implementation imposed a limit that node can be member of only one feature arc as feature arc index was stored in node runtime. Now start node stores index into vlib_buffer_t and feature nodes are taking it from there. Change-Id: I252841083bc292af7ed36bf1ac652f2b8c16bfb8 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/vnet/unix/tuntap.c')
-rw-r--r--vnet/vnet/unix/tuntap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/unix/tuntap.c b/vnet/vnet/unix/tuntap.c
index 13520d2781a..43ff06aa9ff 100644
--- a/vnet/vnet/unix/tuntap.c
+++ b/vnet/vnet/unix/tuntap.c
@@ -389,7 +389,7 @@ tuntap_rx (vlib_main_t * vm,
next_index = VNET_DEVICE_INPUT_NEXT_DROP;
}
- vnet_feature_device_input_redirect_x1 (node, tm->hw_if_index, &next_index, b, 0);
+ vnet_feature_start_device_input_x1 (tm->sw_if_index, &next_index, b, 0);
vlib_set_next_frame_buffer (vm, node, next_index, bi);