examples/fips_validation: fix parsing of algorithms
[dpdk.git] / examples / qos_sched / main.h
index 1c63d95..23bc418 100644 (file)
@@ -18,8 +18,8 @@ extern "C" {
  */
 #define APP_INTERACTIVE_DEFAULT 0
 
-#define APP_RX_DESC_DEFAULT 128
-#define APP_TX_DESC_DEFAULT 256
+#define APP_RX_DESC_DEFAULT 1024
+#define APP_TX_DESC_DEFAULT 1024
 
 #define APP_RING_SIZE (8*1024)
 #define NB_MBUF   (2*1024*1024)
@@ -50,6 +50,7 @@ extern "C" {
 #define MAX_DATA_STREAMS (APP_MAX_LCORE/2)
 #define MAX_SCHED_SUBPORTS             8
 #define MAX_SCHED_PIPES                4096
+#define MAX_SCHED_PIPE_PROFILES                256
 
 #ifndef APP_COLLECT_STAT
 #define APP_COLLECT_STAT               1
@@ -147,7 +148,11 @@ extern struct burst_conf burst_conf;
 extern struct ring_thresh rx_thresh;
 extern struct ring_thresh tx_thresh;
 
+extern uint32_t active_queues[RTE_SCHED_QUEUES_PER_PIPE];
+extern uint32_t n_active_queues;
+
 extern struct rte_sched_port_params port_params;
+extern struct rte_sched_subport_params subport_params[MAX_SCHED_SUBPORTS];
 
 int app_parse_args(int argc, char **argv);
 int app_init(void);