summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fman
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-06-11 17:03:05 (GMT)
commit3cc98fd0b85bdb61f83672fdc4609b68f0c7a75f (patch)
treef05f07b4a2a466c1e9e1041957b6826403ebc305 /drivers/net/ethernet/freescale/fman
parentb676b243d7ccdd4879ea8c5fb74a6d3e2a7f2e5e (diff)
downloadlinux-fsl-qoriq-3cc98fd0b85bdb61f83672fdc4609b68f0c7a75f.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: I6dfc9e2c624c123febfc4d2cbe8fe1fda660525d Reviewed-on: http://git.am.freescale.net:8181/2929 Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Lavi Mandy-R52568 <Mandy.Lavi@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman')
-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 d0ce752..665bea9 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