summaryrefslogtreecommitdiff
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorSunil Kumar Kori <Sunil.Kori@freescale.com>2013-09-06 07:55:35 (GMT)
committerRivera Jose-B46482 <German.Rivera@freescale.com>2013-09-10 23:08:26 (GMT)
commitb89aab0a05727500022df3d926f2f6c2591e279b (patch)
tree3220d58b7462531117d28c73edf43337cc52b335 /drivers/net/Kconfig
parent093d1b879c2e4835a01f319d78173719e0b6a8b8 (diff)
downloadlinux-fsl-qoriq-b89aab0a05727500022df3d926f2f6c2591e279b.tar.xz
Adds ASF as default configuration to the Kernel.
Signed-off-by: Sunil Kumar Kori <Sunil.Kori@freescale.com> Earlier to enable ASF hooks in Linux, we are required to enable ASF support using "make menuconfig" before compiling Linux. This patch enables ASF support as default Kernel configuration and also will enable required configuratuin flags by ASF. Change-Id: I3467513f782cecef0bbcdf0c9aa4bb9be4f9f195 Reviewed-on: http://git.am.freescale.net:8181/4488 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com> Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index dec84d2..a91e552 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -25,7 +25,7 @@ menuconfig NETDEVICES
# that for each of the symbols.
if NETDEVICES
config AS_FASTPATH
- default n
+ default y
bool "Application Specific FastPath"
select NAMESPACES
select NET_NS
@@ -53,11 +53,23 @@ config AS_FASTPATH
select INET_AH
select PPP
select PPPOE
+ select FSL_DPAA_ETH_OPTIMIZE_FOR_IPFWD
---help---
Enables application specific fastpath n/w stack that
accelerates the throughput for forwarding, firewall, NAT and IPsec
over native Linux stack.
+if AS_FASTPATH
+config FSL_DPAA_ETH_MAX_BUF_COUNT
+ int
+ depends on FSL_DPAA_ETH
+ range 64 2048
+ default "256"
+ ---help---
+ The maximum number of buffers to be by default allocated in the DPAA-Ethernet private port's
+ buffer pool. One needn't normally modify this, as it has probably been tuned for performance
+ already. This cannot be lower than DPAA_ETH_REFILL_THRESHOLD.
+endif
config ASF_IPV6
default y
bool "IPv6 Support in ASF"