virtio: feature arc have higher priority than redirect 68/23668/2
authorDamjan Marion <[email protected]>
Wed, 13 Nov 2019 09:12:53 +0000 (10:12 +0100)
committerAndrew Yourtchenko <[email protected]>
Thu, 6 Feb 2020 12:19:28 +0000 (12:19 +0000)
Type: fix
Fixes: 8389fb9

Change-Id: Ie159eb444b28b36a7af86049b80fba4e49be93cb
Signed-off-by: Damjan Marion <[email protected]>
(cherry picked from commit 06c194d91b6d2d888ed2b0c5cf0df1cdbc7c53a4)

MAINTAINERS
src/vnet/devices/virtio/node.c

index 410e876..698e646 100644 (file)
@@ -91,9 +91,10 @@ M:   Mohsin Kazmi <[email protected]>
 F:     src/vnet/devices/tap/
 
 VNET Native Virtio Drivers
-I:      virtio
-M:      Mohsin Kazmi <[email protected]>
-F:      src/vnet/devices/virtio/
+I:     virtio
+M:     Mohsin Kazmi <[email protected]>
+M:     Damjan Marion <[email protected]>
+F:     src/vnet/devices/virtio/
 
 VNET Etherent
 I:     ethernet
index 9711c7a..ec28fbb 100644 (file)
@@ -316,9 +316,10 @@ virtio_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
 
          if (PREDICT_FALSE (vif->per_interface_next_index != ~0))
            next0 = vif->per_interface_next_index;
-         else
-           /* redirect if feature path enabled */
-           vnet_feature_start_device_input_x1 (vif->sw_if_index, &next0, b0);
+
+         /* redirect if feature path enabled */
+         vnet_feature_start_device_input_x1 (vif->sw_if_index, &next0, b0);
+
          /* trace */
          VLIB_BUFFER_TRACE_TRAJECTORY_INIT (b0);