summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fman/Kconfig
diff options
context:
space:
mode:
authorBogdan Hamciuc <bogdan.hamciuc@freescale.com>2013-06-10 16:57:04 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-07-22 21:39:35 (GMT)
commita6ac0e47cc40682f85bf8cfaa68554d649a76523 (patch)
tree498f55f4a2a93a08829b2d112de798b5e2686933 /drivers/net/ethernet/freescale/fman/Kconfig
parent97b79471912e3befcbd3eee5fe4fe6100e7b05da (diff)
downloadlinux-fsl-qoriq-a6ac0e47cc40682f85bf8cfaa68554d649a76523.tar.xz
fmd,dpaa_eth: Selectively reenable FMan allocation algorithm
On P3/P4/P5 platforms, as well as on P1023, FMan's default resource allocation values are not enough to enable jumbo frame forwarding in the absence of SG support. Enable the (previously deselected) FMan dynamic resource allocation algorithm on those platforms, if the legacy DPAA-Ethernet driver (missing SG support) is used. Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com> Change-Id: Iec8224c331b95903d57291312791ac6bf0b7fa8a Reviewed-on: http://git.am.freescale.net:8181/3332 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/Kconfig')
-rw-r--r--drivers/net/ethernet/freescale/fman/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/Kconfig b/drivers/net/ethernet/freescale/fman/Kconfig
index a6d52e5..ec7449f 100644
--- a/drivers/net/ethernet/freescale/fman/Kconfig
+++ b/drivers/net/ethernet/freescale/fman/Kconfig
@@ -34,7 +34,7 @@ endmenu
config FMAN_RESOURCE_ALLOCATION_ALGORITHM
bool "Enable FMan dynamic resource allocation algorithm"
- default n
+ default y if ((FMAN_P3040_P4080_P5020 || FMAN_P1023) && FSL_DPAA_ETH_OPTIMIZE_FOR_IPFWD)
---help---
Enables algorithm for dynamic resource allocation