From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by dpdk.org (Postfix) with ESMTP id 35E26592B for ; Thu, 15 Oct 2015 14:03:48 +0200 (CEST) Received: by obbda8 with SMTP id da8so63174835obb.1 for ; Thu, 15 Oct 2015 05:03:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5za5q5zeD8uo+1HiksPnsKcdQXOGKDxJnWssz8T0P5I=; b=Jdb4pdnVslUqbExPuPwaf1lJtzz5ItcWTfKA5FFe5HC+kiokzdz5Q3VIjEZfwFqXRJ pMPJDVIyulbklMyCpFG6bsBktIDWAD49HcbMf4/7ESdrXXKKndPx3vItASlzw9uG7e7w 6RPxTCZ3IXoG+x6NbZNQY8Do1wKanDL0Cojmw1UF9N2uC1fYRehyCAZCQ4XvTLcr0BP1 UlSn53xUsP27zF/qQCjokWSl8I/4eMvpfUF948ZFuMjGkNeuQOUd4zxqcnfAD/HsJhGO hOnjzjqd7tBkyXkTsLTt2tZGb6mCrSNt6KpWlmHNnH+Y7KSvbrivQU18oDuZjhT27RZe q7Ig== X-Gm-Message-State: ALoCoQmyodcq8R1JN3H0IUaUuQWI/3fHz2RmkWcw0148R0Dfs0T/FRsnt+UdNjAS8OdBAyee/L8l MIME-Version: 1.0 X-Received: by 10.60.140.228 with SMTP id rj4mr4017970oeb.15.1444910627543; Thu, 15 Oct 2015 05:03:47 -0700 (PDT) Received: by 10.76.131.166 with HTTP; Thu, 15 Oct 2015 05:03:47 -0700 (PDT) In-Reply-To: References: Date: Thu, 15 Oct 2015 14:03:47 +0200 Message-ID: From: David Marchand To: Panu Matilainen Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [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 12:03:48 -0000 Hello, On Thu, Oct 15, 2015 at 1:49 PM, Panu Matilainen wrote: > 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(-) > Looks good to me. Thanks Panu. Acked-by: David Marchand -- David Marchand