Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755332AbbGZXfW (ORCPT ); Sun, 26 Jul 2015 19:35:22 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:36738 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755179AbbGZXfV (ORCPT ); Sun, 26 Jul 2015 19:35:21 -0400 Date: Sun, 26 Jul 2015 16:35:20 -0700 (PDT) Message-Id: <20150726.163520.846046458508685868.davem@davemloft.net> To: madalin.bucur@freescale.com Cc: joe@perches.com, netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, scottwood@freescale.com, Igal.Liberman@freescale.com, ppc@mindchasers.com, pebolle@tiscali.nl, joakim.tjernlund@transmode.se Subject: Re: [PATCH 03/10] dpaa_eth: add configurable bpool thresholds From: David Miller In-Reply-To: References: <1437581806-17420-3-git-send-email-madalin.bucur@freescale.com> <1437587228.20787.26.camel@perches.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 26 Jul 2015 16:35:20 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 23 From: Madalin-Cristian Bucur Date: Fri, 24 Jul 2015 15:49:39 +0000 >> -----Original Message----- >> From: Joe Perches [mailto:joe@perches.com] >> On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: >> > Allow the user to tweak the refill threshold and the total number >> > of buffers in the buffer pool. The provided values are for one CPU. >> >> Any value in making these module parameters instead? > > I expect one would (hardly ever) change these to improve some corner > cases then use them with the new values. It may help in the tuning process > but afterwards the bloat to the bootcmd would probably be a nuisance. I think these should be controlled by the existing ethtool infrastructure. Neither the Kconfig mechanism nor module parameters are appropriate, at all. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/