diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-09-13 11:01:16 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-09-13 13:05:09 +0200 |
commit | 7deef7aec1425288ccabd61d6e383c74684815dd (patch) | |
tree | b3f3665a857b588392fb12cac78d6a0c5ad1535d /arch | |
parent | fc0afbfc7d1a49078563cc0588f342a9b7ea587c (diff) | |
download | barebox-7deef7aec1425288ccabd61d6e383c74684815dd.tar.gz barebox-7deef7aec1425288ccabd61d6e383c74684815dd.tar.xz |
ARM: imx_v7_defconfig: Limit TFTP window size
The FEC ethernet controller is too slow to catch up with a gigabit
link. This hasn't been a problem until now, because the protocols
we use in barebox only have a single packet in flight. With TFTP
window size support and a gigabit link though we get receive
buffer overruns resulting in messages like:
WARNING: eth0: error frame: 0x2feca098 0x00000806
The resulting speed is slower than without TFTP windowsize support due
to the necessary retransmits. Limit the window size to a value that
seems to be working on i.MX6 boards.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/configs/imx_v7_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/configs/imx_v7_defconfig b/arch/arm/configs/imx_v7_defconfig index df2304eae9..d07abe28ae 100644 --- a/arch/arm/configs/imx_v7_defconfig +++ b/arch/arm/configs/imx_v7_defconfig @@ -210,6 +210,7 @@ CONFIG_GENERIC_PHY=y CONFIG_USB_NOP_XCEIV=y CONFIG_FS_EXT4=y CONFIG_FS_TFTP=y +CONFIG_FS_TFTP_MAX_WINDOW_SIZE=8 CONFIG_FS_NFS=y CONFIG_FS_FAT=y CONFIG_FS_FAT_WRITE=y |