X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fip_pipeline%2Fpipeline.h;h=a953a29fa83889297d7625272d06aef2d4c89183;hb=e3d8f1e6a665f9f06bf4df01131f738395c9b97d;hp=c6439ab6b27ec1fb5a5f5d2c51dd70bd51832058;hpb=e92058d604e6fd8d4fee4a3ad2b2a5a7e79ef258;p=dpdk.git diff --git a/examples/ip_pipeline/pipeline.h b/examples/ip_pipeline/pipeline.h index c6439ab6b2..a953a29fa8 100644 --- a/examples/ip_pipeline/pipeline.h +++ b/examples/ip_pipeline/pipeline.h @@ -260,6 +260,7 @@ struct table_rule_match { struct table_rule_action { uint64_t action_mask; struct rte_table_action_fwd_params fwd; + struct rte_table_action_lb_params lb; struct rte_table_action_mtr_params mtr; struct rte_table_action_tm_params tm; struct rte_table_action_encap_params encap; @@ -351,4 +352,17 @@ pipeline_table_rule_mtr_read(const char *pipeline_name, struct rte_table_action_mtr_counters *stats, int clear); +int +pipeline_table_dscp_table_update(const char *pipeline_name, + uint32_t table_id, + uint64_t dscp_mask, + struct rte_table_action_dscp_table *dscp_table); + +int +pipeline_table_rule_ttl_read(const char *pipeline_name, + uint32_t table_id, + void *data, + struct rte_table_action_ttl_counters *stats, + int clear); + #endif /* _INCLUDE_PIPELINE_H_ */