From: Madalin Bucur <madalin.bu...@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.