mbuf: fix dynamic field dump log
[dpdk.git] / lib / librte_flow_classify / rte_flow_classify.h
index d76c235..74d1eca 100644 (file)
@@ -41,6 +41,7 @@
  *    with rte_flow_classifier_free()
  */
 
+#include <rte_compat.h>
 #include <rte_common.h>
 #include <rte_ethdev.h>
 #include <rte_ether.h>
@@ -154,6 +155,7 @@ struct rte_flow_classify_ipv4_5tuple_stats {
  * @return
  *   Handle to flow classifier instance on success or NULL otherwise
  */
+__rte_experimental
 struct rte_flow_classifier *
 rte_flow_classifier_create(struct rte_flow_classifier_params *params);
 
@@ -165,6 +167,7 @@ rte_flow_classifier_create(struct rte_flow_classifier_params *params);
  * @return
  *   0 on success, error code otherwise
  */
+__rte_experimental
 int
 rte_flow_classifier_free(struct rte_flow_classifier *cls);
 
@@ -178,6 +181,7 @@ rte_flow_classifier_free(struct rte_flow_classifier *cls);
  * @return
  *   0 on success, error code otherwise
  */
+__rte_experimental
 int
 rte_flow_classify_table_create(struct rte_flow_classifier *cls,
                struct rte_flow_classify_table_params *params);
@@ -199,6 +203,7 @@ rte_flow_classify_table_create(struct rte_flow_classifier *cls,
  * @return
  *   0 on success, error code otherwise
  */
+__rte_experimental
 int
 rte_flow_classify_validate(struct rte_flow_classifier *cls,
                const struct rte_flow_attr *attr,
@@ -207,7 +212,7 @@ rte_flow_classify_validate(struct rte_flow_classifier *cls,
                struct rte_flow_error *error);
 
 /**
- * Add a flow classify rule to the flow_classifer table.
+ * Add a flow classify rule to the flow_classifier table.
  *
  * @param[in] cls
  *   Flow classifier handle
@@ -225,6 +230,7 @@ rte_flow_classify_validate(struct rte_flow_classifier *cls,
  * @return
  *   A valid handle in case of success, NULL otherwise.
  */
+__rte_experimental
 struct rte_flow_classify_rule *
 rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,
                const struct rte_flow_attr *attr,
@@ -234,7 +240,7 @@ rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,
                struct rte_flow_error *error);
 
 /**
- * Delete a flow classify rule from the flow_classifer table.
+ * Delete a flow classify rule from the flow_classifier table.
  *
  * @param[in] cls
  *   Flow classifier handle
@@ -243,6 +249,7 @@ rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,
  * @return
  *   0 on success, error code otherwise.
  */
+__rte_experimental
 int
 rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,
                struct rte_flow_classify_rule *rule);
@@ -264,6 +271,7 @@ rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,
  * @return
  *   0 on success, error code otherwise.
  */
+__rte_experimental
 int
 rte_flow_classifier_query(struct rte_flow_classifier *cls,
                struct rte_mbuf **pkts,