diff options
author | Damjan Marion <damarion@cisco.com> | 2019-02-18 17:29:04 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-02-19 10:08:08 +0000 |
commit | cffbfc52b038ec48e62e969960a2635f2dc19b1d (patch) | |
tree | 513306536eacdc3b2283f7494f3fe4f68ce33886 /src/plugins/avf/input.c | |
parent | df57ea0a3e20ee45b72dcd01839979e5952f331d (diff) |
avf: fix feature arc
Change-Id: Ib7d8e8e2e4663daa1307e676c53f7ef8b91e60e6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/input.c')
-rw-r--r-- | src/plugins/avf/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c index 32fa593dde6..8e0edf6ae1f 100644 --- a/src/plugins/avf/input.c +++ b/src/plugins/avf/input.c @@ -265,6 +265,9 @@ avf_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, 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); + /* 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; |