From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] examples/vhost: reduce number of hugepages needed Date: Thu, 10 Dec 2015 22:35:05 +0100 Message-ID: <6980463.AHP5r19VN5@xps13> References: <1449755601-25670-1-git-send-email-bernard.iremonger@intel.com> <1449762557-28782-1-git-send-email-bernard.iremonger@intel.com> <2601191342CEEE43887BDE71AB97725836AD2700@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Iremonger, Bernard" Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 061658E5F for ; Thu, 10 Dec 2015 22:36:23 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id n186so4186552wmn.1 for ; Thu, 10 Dec 2015 13:36:23 -0800 (PST) In-Reply-To: <2601191342CEEE43887BDE71AB97725836AD2700@irsmsx105.ger.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > Add #ifndef MAX_QUEUES to change MAX_QUEUES at compile time if needed. > > Change MAX_QUEUES from 512 to 128 to reduce the number of hugepages > > required by the vhost-switch program. > > > > To change MAX_QUEUES add '-D MAX_QUEUES=512' to the EXTRA_CFLAGS variable, > > before building the application. > > > > Changes in v3: > > Added #ifndef MAX_QUEUES line before #define MAX_QUEUES 128 > > > > Changes in v2: > > remove comment added before #define MAX_QUEUES in v1 patch. > > > > Signed-off-by: Bernard Iremonger > > Acked-by: Konstantin Ananyev Applied, thanks