diff options
author | Bogdan Hamciuc <bogdan.hamciuc@freescale.com> | 2013-06-10 16:57:04 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-06-11 17:03:05 (GMT) |
commit | 3cc98fd0b85bdb61f83672fdc4609b68f0c7a75f (patch) | |
tree | f05f07b4a2a466c1e9e1041957b6826403ebc305 /drivers/net/ethernet/freescale/dpa/Kconfig | |
parent | b676b243d7ccdd4879ea8c5fb74a6d3e2a7f2e5e (diff) | |
download | linux-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/dpa/Kconfig')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/Kconfig b/drivers/net/ethernet/freescale/dpa/Kconfig index 801e8b2..ec97a12 100644 --- a/drivers/net/ethernet/freescale/dpa/Kconfig +++ b/drivers/net/ethernet/freescale/dpa/Kconfig @@ -36,6 +36,7 @@ choice FSL_DPAA_ETH_OPTIMIZE config FSL_DPAA_ETH_OPTIMIZE_FOR_IPFWD bool "Optimize for forwarding" select FSL_DPAA_TX_RECYCLE if FMAN_T4240 + select FMAN_RESOURCE_ALLOCATION_ALGORITHM if (FMAN_P3040_P4080_P5020 || FMAN_P1023) ---help--- Optimize the DPAA-Ethernet driver for IP/IPSec forwarding use-cases. This option disabled SG support in the DPAA Ethernet driver. |