]> git.droids-corp.org - dpdk.git/blobdiff - examples/qos_sched/main.h
examples/ipsec-secgw: use HW parsed packet type in poll mode
[dpdk.git] / examples / qos_sched / main.h
index 23bc418d9716c4187421a639b17fe9e99e83981b..915311bac8e5232c7e62b5745ae6f4dea5d1f8a6 100644 (file)
@@ -51,6 +51,7 @@ extern "C" {
 #define MAX_SCHED_SUBPORTS             8
 #define MAX_SCHED_PIPES                4096
 #define MAX_SCHED_PIPE_PROFILES                256
+#define MAX_SCHED_SUBPORT_PROFILES     8
 
 #ifndef APP_COLLECT_STAT
 #define APP_COLLECT_STAT               1
@@ -152,6 +153,9 @@ extern uint32_t active_queues[RTE_SCHED_QUEUES_PER_PIPE];
 extern uint32_t n_active_queues;
 
 extern struct rte_sched_port_params port_params;
+#ifdef RTE_SCHED_CMAN
+extern struct rte_sched_cman_params cman_params;
+#endif
 extern struct rte_sched_subport_params subport_params[MAX_SCHED_SUBPORTS];
 
 int app_parse_args(int argc, char **argv);