summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-02-19 15:15:40 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-02-19 16:21:28 +0000
commitd2f50b2e33e791cf0f11eaf862932a8e153ca40c (patch)
treedd7d06525d43e136a4a13e6849e09387e3f5c3f1 /src/plugins/avf
parentcae98b72c97e1ea95e06068ae9923a5f3a21938d (diff)
avf: fix feature arc, take two
Change-Id: Ic191850739da82de32d87bbf17947b55cf962f2d Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf')
-rw-r--r--src/plugins/avf/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c
index 8e0edf6ae1f..b0400e99efb 100644
--- a/src/plugins/avf/input.c
+++ b/src/plugins/avf/input.c
@@ -263,11 +263,12 @@ avf_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
if (PREDICT_FALSE (ad->per_interface_next_index != ~0))
next_index = ad->per_interface_next_index;
- vlib_get_new_next_frame (vm, node, next_index, to_next, n_left_to_next);
if (PREDICT_FALSE (vnet_device_input_have_features (ad->sw_if_index)))
vnet_feature_start_device_input_x1 (ad->sw_if_index, &next_index, bt);
+ vlib_get_new_next_frame (vm, node, next_index, to_next, n_left_to_next);
+
/* fetch up to AVF_RX_VECTOR_SZ from the rx ring, unflatten them and
copy needed data from descriptor to rx vector */
bi = to_next;