From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 168543977; Wed, 19 Jul 2017 07:24:43 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A2BC520B50; Wed, 19 Jul 2017 01:24:42 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 19 Jul 2017 01:24:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=+Pp+afyOTxuovdI 6kab6PDrFOi275jvUjHjN1+fkAc8=; b=UuXztzh6Uya0Sg8o3XoZFeq0ZygCwz5 WdhJIL5N8I9SeMVMdFfI+xkv6foB+jyIFMfP8OePy6ta9/NhDNn9W811tVXwjxhA rse2yhRhXlWoEFS9LQIZIALxR4efOmCYF3qYZG0pzNDhOhi6b970PX8opugcDlGG kWjJJObaRrwo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=+Pp+afyOTxuovdI6kab6PDrFOi275jvUjHjN1+fkAc8=; b=n5/ochL6 lVKcgtrnrhk2H5tma79OMwFYzhy+9sEcxIHxCBCajQipSOUjksb1fOYRDslMDbTN nAEiXsceTZDQrgPVRH1Rwo6hPS5hR1S8SSy2/NISFa7CWbRjs1QVb5lm7FdXiQoV BLEgSsXKoJ0qi4XrexAB0+EPMmqMx1CZmZ0TvjanYgc+eFdJRsISYxqgGl4ANAeu I0OTxhUentj1zDlnt3UhkuNMC1ojrL3h3vVr2bML8K0Z9TqUjF6RgwRmIrMMK0k+ eSCserIRC+tCGUuE5WswNmZAkO4h1u9jd8dfToiVFVSCuXxSVU2sCk0r803W27w+ wWtyvJxkLfGVFA== X-ME-Sender: X-Sasl-enc: rR6KPXeH5ds2tLsszE8l7yHqmIUXP/VIrZT5nqnnPZTR 1500441882 Received: from xps.localnet (unknown [37.165.12.175]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EC4E7E057; Wed, 19 Jul 2017 01:24:42 -0400 (EDT) From: Thomas Monjalon To: Hemant Agrawal Cc: stable@dpdk.org, slawomirx.mrozowicz@intel.com, cristian.dumitrescu@intel.com, dev@dpdk.org Date: Wed, 19 Jul 2017 08:24:37 +0300 Message-ID: <3172790.mMM15UVdKU@xps> In-Reply-To: <1500280631-6634-1-git-send-email-hemant.agrawal@nxp.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH v2] examples/qos_sched: fix core limit for lower num of lcore X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 05:24:43 -0000 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