From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: Re: [dpdk-stable] [PATCH v2] examples/qos_sched: fix core limit for lower num of lcore Date: Wed, 19 Jul 2017 13:28:41 +0530 Message-ID: References: <1500270542-1197-1-git-send-email-hemant.agrawal@nxp.com> <1500280631-6634-1-git-send-email-hemant.agrawal@nxp.com> <3172790.mMM15UVdKU@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , To: Thomas Monjalon Return-path: In-Reply-To: <3172790.mMM15UVdKU@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/19/2017 10:54 AM, Thomas Monjalon wrote: > 17/07/2017 11:37, Hemant Agrawal: >> --- a/examples/qos_sched/main.h >> +++ b/examples/qos_sched/main.h >> @@ -69,8 +69,13 @@ extern "C" { >> #define BURST_TX_DRAIN_US 100 >> >> #ifndef APP_MAX_LCORE >> +#if (APP_MAX_LCORE > 64) >> #define APP_MAX_LCORE 64 > > If APP_MAX_LCORE is not defined, it cannot be > 64, right? > Or what am I missing? > It should be RTE_MAX_LCORE >> +#else >> +#define APP_MAX_LCORE RTE_MAX_LCORE >> +#endif >> #endif > > >