summaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-09-16 12:18:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-09-22 11:29:42 +0200
commit3f1ea0ffcf8bf2dded4851dad5c7db3f11f2bf7a (patch)
treea1e27c751d8eacb05a2e2a657405758bb9722a52 /fs/Kconfig
parent8260d6544a84dc06452058f0446fddfd6d5390aa (diff)
downloadbarebox-3f1ea0ffcf8bf2dded4851dad5c7db3f11f2bf7a.tar.gz
barebox-3f1ea0ffcf8bf2dded4851dad5c7db3f11f2bf7a.tar.xz
tftp: implement UDP reorder cache using lists
The UDP reorder cache can be much easier implemented using lists. As a bonus the cache grows and shrinks on demand and no fixed size has to be configured at compile time. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig22
1 files changed, 0 insertions, 22 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index cf884e0646..0c49342859 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -57,28 +57,6 @@ config FS_TFTP_MAX_WINDOW_SIZE
Requires tftp "windowsize" (RFC 7440) support on server side
to have an effect.
-config FS_TFTP_REORDER_CACHE_SIZE
- int
- prompt "number of out-of-order tftp packets to be cached"
- depends on FS_TFTP
- default 16 if FS_TFTP_MAX_WINDOW_SIZE > 16
- default 0 if FS_TFTP_MAX_WINDOW_SIZE = 1
- ## TODO: it should be 'FS_TFTP_MAX_WINDOW_SIZE - 1' but this
- ## is not supported by Kconfig
- default FS_TFTP_MAX_WINDOW_SIZE
- range 0 FS_TFTP_MAX_WINDOW_SIZE
- help
- UDP allows reordering of datagrams; with this option,
- unexpected tftp packets will be cached and later
- reassembled. This increases stability of the tftp download
- with the cost of memory (around 1440 bytes per cache
- element) and barebox binary size (around 700 bytes).
-
- A value of 0 disables caching.
-
- Requires tftp "windowsize" (RFC 7440) support on server side
- to have an effect.
-
config FS_OMAP4_USBBOOT
bool
prompt "Filesystem over usb boot"