diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-02-07 15:17:42 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-02-13 10:10:50 -0500 |
commit | 215df01de40bfefc32c86c73e4acbca1bbb74329 (patch) | |
tree | 10c47808f171c2319a27fb11d18e80d61f91aa97 /net/Kconfig | |
parent | e3dc5924ca07d91cb8dbad507515255bc26c5434 (diff) | |
download | u-boot-215df01de40bfefc32c86c73e4acbca1bbb74329.tar.gz |
net: convert NET_MAXDEFRAG to Kconfig
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index a07f6746c5..96bbce1778 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -29,6 +29,16 @@ config IP_DEFRAG Selecting this will enable IP datagram reassembly according to the algorithm in RFC815. +config NET_MAXDEFRAG + int "Size of buffer used for IP datagram reassembly" + depends on IP_DEFRAG + default 16384 + range 1024 65536 + help + This defines the size of the statically allocated buffer + used for reassembly, and thus an upper bound for the size of + IP datagrams that can be received. + config TFTP_BLOCKSIZE int "TFTP block size" default 1468 |