diff options
author | Bogdan Hamciuc <bogdan.hamciuc@freescale.com> | 2013-05-27 11:38:42 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-05-29 23:43:29 (GMT) |
commit | 68dbabbdb1e28169a372530ca3712c3b63296322 (patch) | |
tree | fbc54c16ceaf96a713a4a23539ab35f16a6afb50 /drivers/net/ethernet/freescale/fman | |
parent | 7f826f5a13a97af279498a9b981c9ef5e33e33da (diff) | |
download | linux-fsl-qoriq-68dbabbdb1e28169a372530ca3712c3b63296322.tar.xz |
fmd: Conditionally set default MAX_FRAME_SIZE
FSL_FM_MAX_FRAME_SIZE used to be conservatively set to 1522, to
accomodate the driver without S/G support. But in fact the default value
should depend on whether S/G support is available or not.
Using 9600 as the default max frame size, if S/G support is available in
the DPAA Ethernet driver.
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Change-Id: I82d4c0b41f4a46e3464eb4d64239bb3d4a4158dc
Reviewed-on: http://git.am.freescale.net:8181/2759
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@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/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/Kconfig b/drivers/net/ethernet/freescale/fman/Kconfig index d359501..d0ce752 100644 --- a/drivers/net/ethernet/freescale/fman/Kconfig +++ b/drivers/net/ethernet/freescale/fman/Kconfig @@ -55,11 +55,11 @@ config FMAN_MIB_CNT_OVF_IRQ_EN for the counters overflow but reduces performance and triggers error messages in HV setups. - config FSL_FM_MAX_FRAME_SIZE int "Maximum L2 frame size" depends on FSL_FMAN range 64 9600 + default "9600" if FSL_DPAA_ETH_SG_SUPPORT default "1522" help Configure this in relation to the maximum possible MTU of your |