examples/ip_pipeline: add meter profile commands
[dpdk.git] / examples / ip_pipeline / pipeline.h
index 64efbed..b8ab1ae 100644 (file)
@@ -302,10 +302,45 @@ pipeline_table_rule_add(const char *pipeline_name,
        struct table_rule_action *action,
        void **data);
 
+int
+pipeline_table_rule_add_bulk(const char *pipeline_name,
+       uint32_t table_id,
+       struct table_rule_match *match,
+       struct table_rule_action *action,
+       void **data,
+       uint32_t *n_rules);
+
 int
 pipeline_table_rule_add_default(const char *pipeline_name,
        uint32_t table_id,
        struct table_rule_action *action,
        void **data);
 
+int
+pipeline_table_rule_delete(const char *pipeline_name,
+       uint32_t table_id,
+       struct table_rule_match *match);
+
+int
+pipeline_table_rule_delete_default(const char *pipeline_name,
+       uint32_t table_id);
+
+int
+pipeline_table_rule_stats_read(const char *pipeline_name,
+       uint32_t table_id,
+       void *data,
+       struct rte_table_action_stats_counters *stats,
+       int clear);
+
+int
+pipeline_table_mtr_profile_add(const char *pipeline_name,
+       uint32_t table_id,
+       uint32_t meter_profile_id,
+       struct rte_table_action_meter_profile *profile);
+
+int
+pipeline_table_mtr_profile_delete(const char *pipeline_name,
+       uint32_t table_id,
+       uint32_t meter_profile_id);
+
 #endif /* _INCLUDE_PIPELINE_H_ */