From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v2] examples/qos_sched: fix core limit for lower num of lcore Date: Wed, 19 Jul 2017 08:24:37 +0300 Message-ID: <3172790.mMM15UVdKU@xps> References: <1500270542-1197-1-git-send-email-hemant.agrawal@nxp.com> <1500280631-6634-1-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, slawomirx.mrozowicz@intel.com, cristian.dumitrescu@intel.com, dev@dpdk.org To: Hemant Agrawal Return-path: In-Reply-To: <1500280631-6634-1-git-send-email-hemant.agrawal@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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? > +#else > +#define APP_MAX_LCORE RTE_MAX_LCORE > +#endif > #endif