From: David Miller <davem@davemloft.net>
To: madalin.bucur@nxp.com
Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-kernel@vger.kernel.org, oss@buserror.net,
ppc@mindchasers.com, joe@perches.com, pebolle@tiscali.nl,
joakim.tjernlund@infinera.com
Subject: Re: [PATCH net-next v7 03/10] dpaa_eth: add option to use one buffer pool set
Date: Sun, 13 Nov 2016 12:46:17 -0500 (EST) [thread overview]
Message-ID: <20161113.124617.2176429700446266337.davem@davemloft.net> (raw)
In-Reply-To: <1478852407-27420-4-git-send-email-madalin.bucur@nxp.com>
From: Madalin Bucur <madalin.bucur@nxp.com>
Date: Fri, 11 Nov 2016 10:20:00 +0200
> @@ -8,3 +8,12 @@ menuconfig FSL_DPAA_ETH
> supporting the Freescale QorIQ chips.
> Depends on Freescale Buffer Manager and Queue Manager
> driver and Frame Manager Driver.
> +
> +if FSL_DPAA_ETH
> +config FSL_DPAA_ETH_COMMON_BPOOL
> + bool "Use a common buffer pool set for all the interfaces"
> + ---help---
> + The DPAA Ethernet netdevices require buffer pools for storing the buffers
> + used by the FMan hardware for reception. One can use a single buffer pool
> + set for all interfaces or a dedicated buffer pool set for each interface.
> +endif # FSL_DPAA_ETH
This in no way belongs in Kconfig. If you want to support this,
support it wit a run time configuration choice via ethtool flags
or similar. Do not use debugfs, do not use sysfs, do not use
module options.
If you put it in Kconfig, distributions will have to pick one way or
another which means that users who want the other choice lose. This
never works.
next prev parent reply other threads:[~2016-11-13 17:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-11 8:19 [PATCH net-next v7 00/10] dpaa_eth: Add the QorIQ DPAA Ethernet driver Madalin Bucur
2016-11-11 8:19 ` [PATCH net-next v7 01/10] devres: add devm_alloc_percpu() Madalin Bucur
2016-11-11 8:19 ` [PATCH net-next v7 02/10] dpaa_eth: add support for DPAA Ethernet Madalin Bucur
2016-11-11 8:20 ` [PATCH net-next v7 03/10] dpaa_eth: add option to use one buffer pool set Madalin Bucur
2016-11-13 17:46 ` David Miller [this message]
2016-11-14 10:25 ` Madalin-Cristian Bucur
2016-11-14 17:31 ` David Miller
2016-11-11 8:20 ` [PATCH net-next v7 04/10] dpaa_eth: add ethtool functionality Madalin Bucur
2016-11-11 8:20 ` [PATCH net-next v7 05/10] dpaa_eth: add ethtool statistics Madalin Bucur
2016-11-11 8:20 ` [PATCH net-next v7 06/10] dpaa_eth: add sysfs exports Madalin Bucur
2016-11-11 8:20 ` [PATCH net-next v7 07/10] dpaa_eth: add trace points Madalin Bucur
2016-11-11 8:20 ` [PATCH net-next v7 08/10] arch/powerpc: Enable FSL_PAMU Madalin Bucur
2016-11-11 8:20 ` [PATCH net-next v7 09/10] arch/powerpc: Enable FSL_FMAN Madalin Bucur
2016-11-11 8:20 ` [PATCH net-next v7 10/10] arch/powerpc: Enable dpaa_eth Madalin Bucur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161113.124617.2176429700446266337.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=joakim.tjernlund@infinera.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=oss@buserror.net \
--cc=pebolle@tiscali.nl \
--cc=ppc@mindchasers.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).