diff options
author | Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> | 2022-11-08 14:17:28 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-28 13:06:39 -0500 |
commit | a3bf193bf4ea8703bcf96b1a34713fb2ae87aa39 (patch) | |
tree | 973568df1e1123da531a61776a1040dc982abc02 /net/Kconfig | |
parent | 3cdbbe52f70ff4fdd7aa9b66de2040b9f304c0b2 (diff) | |
download | u-boot-a3bf193bf4ea8703bcf96b1a34713fb2ae87aa39.tar.gz |
net: Add TCP protocol
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare <DH@Synoia.com>
Signed-off-by: Duncan Hare <DuncanCHare@yahoo.com>
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index 52e261884d1..cb600fe5eb4 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -174,6 +174,22 @@ config BOOTP_MAX_ROOT_PATH_LEN help Select maximal length of option 17 root path. +config PROT_TCP + bool "TCP stack" + help + Enable a generic tcp framework that allows defining a custom + handler for tcp protocol. + +config PROT_TCP_SACK + bool "TCP SACK support" + depends on PROT_TCP + help + TCP protocol with SACK. SACK means selective acknowledgements. + By turning this option on TCP will learn what segments are already + received. So that it improves TCP's retransmission efficiency. + This option should be turn on if you want to achieve the fastest + file transfer possible. + endif # if NET config SYS_RX_ETH_BUFFER |