From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=suI6jWh8tt/e9+dE46hfmJmIkxI7Kq+bMtP9BLSZlug=; b=fuy/osjpWG7+E535nmnF+qa7MCMW5PoRH2rYhBeIYugYEwaba1uCU6IukqeQkx9LSA yCz0hG1tdZCmM29GC0B09mDqk+OH8W1EHBnqwkFY0PPawq7QA5zB+7zcIZDGiV0ryKNt dMpt/Ey0Oqvk/5hIcZBMrOZuyAqsx0le/Y/c7DZRFELwbhMSou4DUDZBaRkoYaZvmHEZ VO89HG0eC6/eld4COHBIeFn3ox91mqfJmebFRHf7qCZ7CRlwK1BUmUEF045fzvp4YbuK j9CDGeIKpaoaYt+/MHYMTFwK63PczW2373UBqXxQjJW+4z94ChSaxaOVTvsFJGovWlqa FEcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=suI6jWh8tt/e9+dE46hfmJmIkxI7Kq+bMtP9BLSZlug=; b=Gqxp1HShw71lH8kYTD0LwrGs1SW0HwdXal5ia7HnGbFmpA0UogfVsP92U4KsPtlXKL u2yji01cX5EehMRyAI+Y7C9hWH06BlGmEF4SRvCOzQr96NuyFV0vxlb7RfqCuF4k/nCM F4SqF+mQEaxiiHT3tOqMmA6WDH+3X8ZMDkpSkzyfPr8b36g0PyftbRm30ciYMTAtKNKV 1cPhgRRNtB4aGPvDgqCjM5RT/gSjAqeQ5gsvQQhqvSaQOW4IZDOEioi9kB8hmwSYkn7F 4UPzHiaqxUp2jI20kJKwP70XppOjIqMoThlBe0zkdnQRg4dq5t7XySCXp3GhZgTGngXc b1TQ== X-Gm-Message-State: ALoCoQmSTDwth6+hRtAn7ny12mebx9dY5cO4NuJQIexgpOhArH8+o3rUIkYonraJEy6SgwiPwAGex5EAke3ylBE4bM1z68lKWA== X-Received: by 10.194.6.225 with SMTP id e1mr14602606wja.67.1449783382886; Thu, 10 Dec 2015 13:36:22 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id w4sm14154895wje.49.2015.12.10.13.36.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Dec 2015 13:36:22 -0800 (PST) From: Thomas Monjalon To: "Iremonger, Bernard" Date: Thu, 10 Dec 2015 22:35:05 +0100 Message-ID: <6980463.AHP5r19VN5@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <2601191342CEEE43887BDE71AB97725836AD2700@irsmsx105.ger.corp.intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3] examples/vhost: reduce number of hugepages needed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2015 21:36:23 -0000 > > 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