X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fqos_sched%2Fmain.h;h=c7490c61d18ec2a23aa38f2d8496fa6f2c530df2;hb=645bd25ad8f905fcdf06b9c319228af03ff8708e;hp=643f1c81e9981e6c0768c8210ba8800da6cd741a;hpb=824cb29c0e7b8a2b3ed285546c3a39a8e0b3cd44;p=dpdk.git diff --git a/examples/qos_sched/main.h b/examples/qos_sched/main.h index 643f1c81e9..c7490c61d1 100644 --- a/examples/qos_sched/main.h +++ b/examples/qos_sched/main.h @@ -68,9 +68,12 @@ extern "C" { #define BURST_TX_DRAIN_US 100 -#define MAX_DATA_STREAMS (RTE_MAX_LCORE/2) +#ifndef APP_MAX_LCORE +#define APP_MAX_LCORE 64 +#endif +#define MAX_DATA_STREAMS (APP_MAX_LCORE/2) #define MAX_SCHED_SUBPORTS 8 -#define MAX_SCHED_PIPES 4096 +#define MAX_SCHED_PIPES 4096 #ifndef APP_COLLECT_STAT #define APP_COLLECT_STAT 1