X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fqos_sched%2Fmain.h;h=c7490c61d18ec2a23aa38f2d8496fa6f2c530df2;hb=083e2f26006b30585b47bd52e4c76a93ebfde0fa;hp=82aa0fae19c0a756f78b149f0a89f23e7639779f;hpb=0e433e5f0891ecd18a694ed733a28e69b1470c25;p=dpdk.git diff --git a/examples/qos_sched/main.h b/examples/qos_sched/main.h index 82aa0fae19..c7490c61d1 100644 --- a/examples/qos_sched/main.h +++ b/examples/qos_sched/main.h @@ -68,7 +68,10 @@ 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