From: Neale Ranns Date: Fri, 20 Jul 2018 11:23:43 +0000 (-0700) Subject: QOS: mark/record fix feature ordering c-n-p error X-Git-Tag: v18.10-rc1~562 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=8d753f906ecdd152af1e524919e99bd9ab45de46 QOS: mark/record fix feature ordering c-n-p error vnet_feature_arc_init:215: feature node 'mpls-qos-mark' not found (after 'vlan-mpls-qos-record', arc 'mpls-input') vnet_feature_arc_init:215: feature node 'ip6-qos-mark' not found (after 'vlan-ip6-qos-record', arc 'ip6-multicast') ...etc... Change-Id: I22cb98d57e2480f5978fff315b77b9cbb6a9f9dd Signed-off-by: Neale Ranns --- diff --git a/src/vnet/qos/qos_record.c b/src/vnet/qos/qos_record.c index 767814e2622..1433a02527b 100644 --- a/src/vnet/qos/qos_record.c +++ b/src/vnet/qos/qos_record.c @@ -406,7 +406,7 @@ VLIB_NODE_FUNCTION_MULTIARCH (vlan_mpls_qos_record_node, vlan_mpls_qos_record); VNET_FEATURE_INIT (vlan_mpls_qos_record_node, static) = { .arc_name = "mpls-input", .node_name = "vlan-mpls-qos-record", - .runs_before = VNET_FEATURES ("mpls-qos-mark"), + .runs_before = VNET_FEATURES ("mpls-qos-record"), }; VLIB_REGISTER_NODE (vlan_ip4_qos_record_node) = { @@ -429,12 +429,12 @@ VLIB_NODE_FUNCTION_MULTIARCH (vlan_ip4_qos_record_node, vlan_ip4_qos_record); VNET_FEATURE_INIT (vlan_ip4_qos_record_node, static) = { .arc_name = "ip4-unicast", .node_name = "vlan-ip4-qos-record", - .runs_before = VNET_FEATURES ("ip4-qos-mark"), + .runs_before = VNET_FEATURES ("ip4-qos-record"), }; VNET_FEATURE_INIT (vlan_ip4m_qos_record_node, static) = { .arc_name = "ip4-multicast", .node_name = "vlan-ip4-qos-record", - .runs_before = VNET_FEATURES ("ip4-qos-mark"), + .runs_before = VNET_FEATURES ("ip4-qos-record"), }; VLIB_REGISTER_NODE (vlan_ip6_qos_record_node) = { @@ -457,12 +457,12 @@ VLIB_NODE_FUNCTION_MULTIARCH (vlan_ip6_qos_record_node, vlan_ip6_qos_record); VNET_FEATURE_INIT (vlan_ip6_qos_record_node, static) = { .arc_name = "ip6-unicast", .node_name = "vlan-ip6-qos-record", - .runs_before = VNET_FEATURES ("ip6-qos-mark"), + .runs_before = VNET_FEATURES ("ip6-qos-record"), }; VNET_FEATURE_INIT (vlan_ip6m_qos_record_node, static) = { .arc_name = "ip6-multicast", .node_name = "vlan-ip6-qos-record", - .runs_before = VNET_FEATURES ("ip6-qos-mark"), + .runs_before = VNET_FEATURES ("ip6-qos-record"), }; VLIB_REGISTER_NODE (l2_ip_qos_record_node, static) = {