Trivial: Clean up some typos.
[vpp.git] / src / vnet / qos / qos_record.c
index 767814e..0395634 100644 (file)
@@ -18,6 +18,8 @@
 #include <vnet/ip/ip6_to_ip4.h>
 #include <vnet/feature/feature.h>
 #include <vnet/qos/qos_types.h>
+#include <vnet/l2/l2_input.h>
+#include <vnet/l2/feat_bitmap.h>
 
 /**
  * Per-interface, per-protocol vector of feature on/off configurations
@@ -99,7 +101,7 @@ qos_record_disable (u32 sw_if_index, qos_source_t input_source)
 }
 
 /*
- * Disable recording feautre for all protocols when the interface
+ * Disable recording feature for all protocols when the interface
  * is deleted
  */
 static clib_error_t *
@@ -406,7 +408,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 +431,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 +459,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) = {
@@ -542,7 +544,7 @@ qos_record_cli (vlib_main_t * vm,
 /*?
  * Enable QoS bit recording on an interface using the packet's input DSCP bits
  * Which input QoS bits to use are either; IP, MPLS or VLAN. If more than
- * one protocol is chosen (which is foolish) the higer layers override the
+ * one protocol is chosen (which is foolish) the higher layers override the
  * lower.
  *
  * @cliexpar