From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 3333B8D95 for ; Thu, 15 Oct 2015 13:49:22 +0200 (CEST) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 6CC7A461D5; Thu, 15 Oct 2015 11:49:21 +0000 (UTC) Received: from dhcp195.koti.laiskiainen.org.com (vpn1-4-76.ams2.redhat.com [10.36.4.76]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t9FBnJfo022651; Thu, 15 Oct 2015 07:49:20 -0400 From: Panu Matilainen To: dev@dpdk.org Date: Thu, 15 Oct 2015 14:49:03 +0300 Message-Id: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Subject: [dpdk-dev] [PATCH 0/2] Provide reasonable default to -n 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, 15 Oct 2015 11:49:22 -0000 The number of memory channels is a truly obscure thing as a mandatory command line argument when its really just an optimization. Provide a reasonable default in mempool as suggested by Bruce Richardson and make the -n argument optional in EAL to make DPDK that little bit easier to use for a first-timer. Panu Matilainen (2): mempool: use a better default for number of memory channels eal: make the -n argument optional lib/librte_eal/common/eal_common_options.c | 8 +------- lib/librte_mempool/rte_mempool.c | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) -- 2.4.3